conga/luci/homebase form-macros luci_homebase. ...
CVSROOT: /cvs/cluster
Module name: conga
Changes by: rmccabe at sourceware.org 2007-01-24 20:21:33
Modified files:
luci/homebase : form-macros luci_homebase.css
validate_cluster_add.js
Log message:
bz 222051
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/homebase/form-macros.diff?cvsroot=cluster&r1=1.53&r2=1.54
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/homebase/luci_homebase.css.diff?cvsroot=cluster&r1=1.34&r2=1.35
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/homebase/validate_cluster_add.js.diff?cvsroot=cluster&r1=1.5&r2=1.6
luci/homebase/form-macros +9 -3
@@ -295,9 +295,11 @@ <h2 class="homebase">Manage Systems and Clusters</h2> - <h3>Reauthenticate to Storage or Cluster Systems</h3> - <form name="authform" method="post" action=""> + <form name="authform" method="post" action="" class="form_border"> + <fieldset> + <legend>Reauthenticate</legend> + <h3>Reauthenticate to Storage or Cluster Systems</h3><br/> <table id="systemsTable" class="systemsTable" border="0" cellspacing="0" tal:define=" new_systems request/SESSION/auth_systems | nothing;
@@ -469,6 +471,7 @@ tal:define="x python: request.SESSION.delete('auth_status')" /> <div class="padding"> </div> </tal:block> + </fieldset> </form> <tal:block tal:define="
@@ -477,8 +480,10 @@ global num_clusters python:-1; global num_systems python:-1" /> - <form name="adminform" method="post" action="" + <form name="adminform" method="post" class="form_border" action="" tal:condition="python:(systems[0] and len(systems[0]) > 0) or (systems[1] and len(systems[1]) > 0)"> + <fieldset> + <legend>Remove clusters and systems</legend> <tal:block tal:define="global blankForm python:0" />
@@ -542,6 +547,7 @@ <input type="button" name="Submit" value="Remove selected entries" onClick="validateForm(this.form)" /> </div> + </fieldset> </form> <div tal:condition="python: blankForm">
luci/homebase/luci_homebase.css +4 -0
@@ -18,6 +18,10 @@ margin-left: +.3333em; } +form.form_border { + border-bottom: 1px solid #8cacbb; +} + div.fence { max-width: 700px; padding: .5em;
luci/homebase/validate_cluster_add.js +1 -1
@@ -31,7 +31,7 @@ var confirm_str = ''; if (form.addnode) - confirm_str = 'Add node' + (added_storage.length > 1 ? 's' : '') + ' to the \"' + clusterName + '\" cluster?'; + confirm_str = 'Add ' + (added_storage.length > 1 ? 'these nodes' : 'this node') + ' to the \"' + clusterName + '\" cluster?'; else confirm_str = 'Add the cluster \"' + clusterName + '\" to the Luci management interface?';