Skip to contentSkip to conversation

conga/luci/homebase homebase_common.js luci_ho ...

Cluster-devel [email protected] 1 participant 1 message Aug 30, 2006

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/cluster
Module name: conga
Changes by: rmccabe at sourceware.org 2006-08-30 22:57:58

Modified files:
luci/homebase : homebase_common.js luci_homebase.css

Log message:
more ui stuff

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/homebase/homebase_common.js.diff?cvsroot=cluster&r1=1.5&r2=1.6
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/homebase/luci_homebase.css.diff?cvsroot=cluster&r1=1.16&r2=1.17

luci/homebase/homebase_common.js +10 -0
@@ -1,3 +1,13 @@
+function list_toggle_collapse(li) {
+	var elem = li.parent;
+	if (!elem)
+		return;
+	if (elem.className == 'tree expanded')
+		elem.className = 'tree collapsed';
+	else
+		elem.className = 'tree expanded';
+}
+
 function is_valid_int(str, min, max) {
 	if (str.match(/[^0-9 -]/))
 		return (0);
luci/homebase/luci_homebase.css +29 -9
@@ -209,6 +209,19 @@
 	padding-left: +.5em;
 }
 
+
+ul.tree {
+	background: #dee7ec;
+	padding-top: .25em;
+	padding-bottom: .25em;
+	padding-left: .5em;
+	list-style: none;
+	max-width: 600px;
+	margin-left: 0;
+}
+
+
+
 li.node_fdom {
 	list-style-image: url(/luci/cluster/small_fdom.png);
 }
@@ -333,35 +346,42 @@
 }
 
 *.hbclosebox {
-   text-align: right;
+	 text-align: right;
 }
 
 div.systemsList {
-  margin-top: .25em !important;
-  margin-bottom: .25em !important;
+	margin-top: .25em !important;
+	margin-bottom: .25em !important;
+}
+
+div.service_comp {
+	background: #dee7ec;
+	padding: .66em;
+	margin-top: .5em;
 }
 
 div.rc_indent0 {
-  margin-left: 0px 
+	margin-left: 0px 
+	max-width: 700px;
 }
 
 div.rc_indent1 {
-  margin-left: 30px 
+	margin-left: 30px 
 }
 
 div.rc_indent2 {
-  margin-left: 60px 
+	margin-left: 60px 
 }
 
 div.rc_indent3 {
-  margin-left: 90px 
+	margin-left: 90px 
 }
 
 div.rc_indent4 {
-  margin-left: 120px 
+	margin-left: 120px 
 }
 
 div.rc_indent5 {
-  margin-left: 150px 
+	margin-left: 150px 
 }