Author: nextgens
Date: 2007-04-19 17:36:28 +0000 (Thu, 19 Apr 2007)
New Revision: 12804

Modified:
   trunk/freenet/src/freenet/clients/http/ConfigToadlet.java
   trunk/freenet/src/freenet/clients/http/staticfiles/themes/clean/theme.css
Log:
Cosmetic change to the /config page ... add a few css sugar so that theme 
creator can tweak it

Modified: trunk/freenet/src/freenet/clients/http/ConfigToadlet.java
===================================================================
--- trunk/freenet/src/freenet/clients/http/ConfigToadlet.java   2007-04-19 
16:16:33 UTC (rev 12803)
+++ trunk/freenet/src/freenet/clients/http/ConfigToadlet.java   2007-04-19 
17:36:28 UTC (rev 12804)
@@ -126,8 +126,12 @@
                if(advancedModeEnabled){
                        HTMLNode navigationBar = 
ctx.getPageMaker().getInfobox("navbar", "Configuration Navigation");
                        HTMLNode navigationContent = 
ctx.getPageMaker().getContentNode(navigationBar).addChild("ul");
+                       HTMLNode navigationTable = 
navigationContent.addChild("table", "class", "config_navigation");
+                       HTMLNode navigationTableRow = 
navigationTable.addChild("tr");
+                       HTMLNode nextTableCell = navigationTableRow;
+                       
                        for(int i=0; i<sc.length;i++){
-                               navigationContent.addChild("li").addChild("a", 
"href", '#' +sc[i].getPrefix(), sc[i].getPrefix());
+                               nextTableCell.addChild("td", "class", 
"config_navigation").addChild("li").addChild("a", "href", '#' 
+sc[i].getPrefix(), sc[i].getPrefix());
                        }
                        contentNode.addChild(navigationBar);
                }

Modified: 
trunk/freenet/src/freenet/clients/http/staticfiles/themes/clean/theme.css
===================================================================
--- trunk/freenet/src/freenet/clients/http/staticfiles/themes/clean/theme.css   
2007-04-19 16:16:33 UTC (rev 12803)
+++ trunk/freenet/src/freenet/clients/http/staticfiles/themes/clean/theme.css   
2007-04-19 17:36:28 UTC (rev 12804)
@@ -220,6 +220,10 @@

 /* configuration page */

+td.config_navigation {
+       border-style: none;
+}
+
 ul.config {
        margin: 0 0 5px 0;
        padding: 0;


Reply via email to