Author: nextgens
Date: 2006-05-13 12:56:35 +0000 (Sat, 13 May 2006)
New Revision: 8690

Modified:
   trunk/freenet/src/freenet/clients/http/ConfigToadlet.java
   trunk/freenet/src/freenet/clients/http/staticfiles/themes/clean/theme.css
Log:
Small improvements to the ConfigToadlet:

fixes https://bugs.freenetproject.org/view.php?id=350

Modified: trunk/freenet/src/freenet/clients/http/ConfigToadlet.java
===================================================================
--- trunk/freenet/src/freenet/clients/http/ConfigToadlet.java   2006-05-13 
11:58:57 UTC (rev 8689)
+++ trunk/freenet/src/freenet/clients/http/ConfigToadlet.java   2006-05-13 
12:56:35 UTC (rev 8690)
@@ -111,7 +111,7 @@
                        }
                        */

-                       buf.append("<ul class=\"config\">\n");
+                       buf.append("<ul class=\"config\"><span 
class=\"configprefix\">"+sc[i].getPrefix()+"</span>\n");

                        for(int j=0; j<o.length; j++){
                                String configName = o[j].getName();
@@ -125,7 +125,7 @@
                                buf.append("<li><span class=\"configdesc\">");
                                buf.append(o[j].getShortDesc());
                                buf.append("</span> <span 
class=\"configkey\">");
-                               
buf.append(sc[i].getPrefix()+"."+configName+"</span><input 
alt=\""+o[j].getShortDesc()+"\" class=\"config\"" +
+                               buf.append(configName+"</span><input 
alt=\""+o[j].getShortDesc()+"\" class=\"config\"" +
                                                " type=\"text\" 
name=\""+sc[i].getPrefix()+"."+configName+"\" 
value=\""+o[j].getValueString()+"\" /></li>\n");
                        }


Modified: 
trunk/freenet/src/freenet/clients/http/staticfiles/themes/clean/theme.css
===================================================================
--- trunk/freenet/src/freenet/clients/http/staticfiles/themes/clean/theme.css   
2006-05-13 11:58:57 UTC (rev 8689)
+++ trunk/freenet/src/freenet/clients/http/staticfiles/themes/clean/theme.css   
2006-05-13 12:56:35 UTC (rev 8690)
@@ -187,6 +187,14 @@
        font-family: Courier;
 }

+.config span.configprefix {
+    margin-left: 1cm;
+       font-family: verdana;
+       font-size: medium;
+       font-weight: bold;
+       text-align: left;
+}
+
 .config input[type=text] {
        width: 300px;
 }


Reply via email to