Skip to contentSkip to conversation

conga/luci cluster/form-macros cluster/resourc ...

Cluster-devel [email protected] 1 participant 1 message Sep 5, 2006

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/cluster
Module name: conga
Changes by: rmccabe at sourceware.org 2006-09-05 21:25:45

Modified files:
luci/cluster : form-macros resource-form-macros
luci/homebase : form-macros homebase_common.js
luci_homebase.css
Added files:
luci/cluster : arrow_down.png arrow_right.png

Log message:
more ui work

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/cluster/arrow_down.png.diff?cvsroot=cluster&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/cluster/arrow_right.png.diff?cvsroot=cluster&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/cluster/form-macros.diff?cvsroot=cluster&r1=1.54&r2=1.55
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/cluster/resource-form-macros.diff?cvsroot=cluster&r1=1.5&r2=1.6
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/homebase/form-macros.diff?cvsroot=cluster&r1=1.34&r2=1.35
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/homebase/homebase_common.js.diff?cvsroot=cluster&r1=1.6&r2=1.7
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/homebase/luci_homebase.css.diff?cvsroot=cluster&r1=1.17&r2=1.18

/cvs/cluster/conga/luci/cluster/arrow_down.png,v --> standard output revision 1.1
Binary files /cvs/cluster/conga/luci/cluster/arrow_down.png and - differ /cvs/cluster/conga/luci/cluster/arrow_right.png,v --> standard output revision 1.1
Binary files /cvs/cluster/conga/luci/cluster/arrow_right.png and - differ

luci/cluster/form-macros +13 -1
@@ -114,7 +114,7 @@
 </div>
 
 
-<div metal:define-macro="clusteradd-form" style="margin-left: 1em">
+<div metal:define-macro="clusteradd-form">
 	<script type="text/javascript" src="/luci/homebase/homebase_common.js">
 	</script>
 	<script type="text/javascript" src="/luci/homebase/validate_cluster_add.js">
@@ -1124,10 +1124,12 @@
 	<div tal:repeat="res sinfo/resource_list"
 		tal:attributes="class python: 'service_comp rc_indent' + str(res['indent_ctr'])">
 
+
 		<tal:block
 			tal:condition="python: res['max_depth'] > 0"
 			tal:replace="structure string:<div>" />
 
+
 		<tal:block tal:define="
 			global type res/type;
 			global ref res/ref_object | nothing" />
@@ -1164,6 +1166,16 @@
 			<tal:block metal:use-macro="here/resource-form-macros/macros/scr_macro" />
 		</span>
 
+		<div
+			tal:condition="python: res['max_depth'] != 0"
+			tal:attributes="
+				class python: 'service_tree rc_indent' + str(res['indent_ctr'] - 1)">
+			<img class="service_tree" name="arrow_down"
+				src="/luci/cluster/arrow_down.png"
+				onClick="collapse_div(this)">
+			<span class="service_tree">Hide Children</span>
+		</div>
+
 		<tal:block
 			tal:replace="structure python: '</div>' * (res['indent_ctr'] - res['max_depth'])" />
 	</div>
luci/cluster/resource-form-macros +23 -22

114 lines not on this page · raw message

luci/homebase/form-macros +2 -2
@@ -1,7 +1,7 @@
 <html>
 
 <tal:comment replace="nothing">
-	$Id: form-macros,v 1.34 2006/08/02 16:25:11 rmccabe Exp $
+	$Id: form-macros,v 1.35 2006/09/05 21:25:45 rmccabe Exp $
 </tal:comment>
 
 <head>
@@ -403,7 +403,7 @@
 			<tfoot class="systemsTable">
 				<tr class="systemsTable"><td colspan="2" class="systemsTable">
 					<div id="allSameDiv">
-						<input type="checkbox" class="allSameCheckBox" name="allSameCheckBox" id="allSameCheckBox" onClick="allPasswdsSame(adminform);"/> Check if storage system passwords are identical.
+						<input type="checkbox" class="allSameCheckBox" name="allSameCheckBox" id="allSameCheckBox" onClick="allPasswdsSame(adminform);"/><span>Check if storage system passwords are identical.</span>
 					</div>
 				</td></tr>
 
luci/homebase/homebase_common.js +34 -11

61 lines not on this page · raw message

luci/homebase/luci_homebase.css +27 -21

119 lines not on this page · raw message