Author: batosai
Date: 2008-09-14 17:36:15 +0000 (Sun, 14 Sep 2008)
New Revision: 22658

Modified:
   trunk/plugins/WoT/src/plugins/WoT/WebInterface.java
Log:
Small ui changes

Modified: trunk/plugins/WoT/src/plugins/WoT/WebInterface.java
===================================================================
--- trunk/plugins/WoT/src/plugins/WoT/WebInterface.java 2008-09-14 17:35:01 UTC 
(rev 22657)
+++ trunk/plugins/WoT/src/plugins/WoT/WebInterface.java 2008-09-14 17:36:15 UTC 
(rev 22658)
@@ -89,7 +89,7 @@
                        row.addChild("th", "Last change");
                        row.addChild("th", "Last insert");
                        row.addChild("th", "Publish TrustList ?");
-                       row.addChild("th", "Edit");
+                       row.addChild("th", "Manage");

                        while(ownIdentities.hasNext()) {
                                OwnIdentity id = ownIdentities.next();
@@ -108,11 +108,13 @@
                                }
                                row.addChild("td", id.doesPublishTrustList() ? 
"Yes" : "No");

-                               HTMLNode editCell = row.addChild("td");
-                               HTMLNode editForm = pr.addFormChild(editCell, 
SELF_URI, "editIdentity");
+                               HTMLNode manageCell = row.addChild("td");
+                               
+                               HTMLNode editForm = pr.addFormChild(manageCell, 
SELF_URI, "editIdentity");
                                editForm.addChild("input", new String[] { 
"type", "name", "value" }, new String[] { "hidden", "page", "editIdentity" });
                                editForm.addChild("input", new String[] { 
"type", "name", "value" }, new String[] { "hidden", "id", 
id.getRequestURI().toString() });
-                               editForm.addChild("input", new String[] { 
"type", "name", "value" }, new String[] { "submit", "edit", "Edit" });
+                               editForm.addChild("input", new String[] { 
"type", "name", "value" }, new String[] { "submit", "edit", "Details" });
+                                                               
                        }
                }

@@ -329,9 +331,7 @@
                HTMLNode createForm = pr.addFormChild(boxContent, SELF_URI, 
"editIdentity2");
                createForm.addChild("input", new String[] { "type", "name", 
"value" }, new String[] { "hidden", "page", "editIdentity2"});

-               createForm.addChild("#", "NickName : ");
-               createForm.addChild("input", new String[] { "type", "name", 
"size", "value" }, new String[] { "text", "nickName", "20", id.getNickName() });
-               createForm.addChild("br");
+               createForm.addChild("p", "NickName : " + id.getNickName());

                createForm.addChild("p", new String[] { "style" }, new String[] 
{ "font-size: x-small" }, "Request URI : "+id.getRequestURI().toString());
                createForm.addChild("p", new String[] { "style" }, new String[] 
{ "font-size: x-small" }, "Insert URI : "+id.getInsertURI().toString());


Reply via email to