. More 2.0 UI improvements:

- CSS improvements to pop-up menus
 - Navigator, Sidebar and Shelf rendering/sizing improvements for IE
 - Shelf components up to date with new 2.0 look
 - Shelf width improvement for Firefox
 - All wizards and dialogs now use the new "greyround" image set for Steps and Command Buttons panels
 - Replacement yellow info panel image sets

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4876 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Kevin Roast
2007-01-18 15:08:01 +00:00
parent aef057df86
commit 1bfd730c9b
29 changed files with 25 additions and 45 deletions

View File

@@ -235,13 +235,12 @@ public class UINavigator extends SelfRenderingComponent
// generate the javascript method to capture the tree node click events
if (treePanel)
{
out.write("\n<script type=\"text/javascript\">\n");
out.write("function treeNodeSelected(nodeRef) {\n");
out.write("<script type=\"text/javascript\">");
out.write("function treeNodeSelected(nodeRef) {");
out.write(Utils.generateFormSubmit(context, this, getClientId(context),
"nodeRef", true, null));
out.write("\n}\n");
out.write("</script>\n");
out.write("}</script>");
// generate the active panel containing the tree
out.write("<div class=\"navigatorPanelBody\">");
UITree tree = (UITree)context.getApplication().createComponent(

View File

@@ -83,7 +83,7 @@ public class UISidebar extends SelfRenderingComponent
out.write("/images/parts/sidebar_grey_01.gif\" width=5 height=5></td>" +
"<td style=\"background-image: url(");
out.write(cxPath);
out.write("/images/parts/sidebar_top_grey_bg.gif)\" height=24 width=100%>");
out.write("/images/parts/sidebar_top_grey_bg.gif)\" height=24>");
// generate the required child components if not present
if (this.getChildCount() == 1)
@@ -171,7 +171,7 @@ public class UISidebar extends SelfRenderingComponent
"<tr><td colspan='3'>");
// render the plugin
out.write("<div id=\"pluginBox\" style=\"border: solid 1px #babfc5;\">");
out.write("<div id=\"pluginBox\">");
UIComponent plugin = (UIComponent)getChildren().get(2);
Utils.encodeRecursive(context, plugin);
out.write("</div>");

View File

@@ -211,9 +211,9 @@ public class UIClipboardShelfItem extends UIShelfItem
}
// output general actions if any clipboard items are present
out.write("<tr><td colspan=3><nobr>");
out.write("<tr><td colspan=4 style='padding-top:3px' align='center'><nobr>");
out.write(buildActionLink(ACTION_PASTE_ALL, -1, bundle.getString(MSG_PASTE_ALL), null));
out.write("&nbsp;");
out.write("&nbsp;|&nbsp;");
out.write(buildActionLink(ACTION_REMOVE_ALL, -1, bundle.getString(MSG_REMOVE_ALL), null));
out.write("</nobr></td><td></td></tr>");
}

View File

@@ -170,8 +170,8 @@ public class UIShelf extends SelfRenderingComponent
ResponseWriter out = context.getResponseWriter();
// TODO: allow config of spacing between ShelfGroup components
out.write("<table border=0 cellspacing=2 cellpadding=0 width=100%>");
out.write("<div id=\"shelf\" class=\"shelf\">");
out.write("<table border=0 cellspacing=4 cellpadding=0 width=100%>");
}
/**
@@ -294,7 +294,7 @@ public class UIShelf extends SelfRenderingComponent
ResponseWriter out = context.getResponseWriter();
out.write("</table>");
out.write("</table></div>");
}
/**