From mboxrd@z Thu Jan 1 00:00:00 1970 From: rmccabe@sourceware.org Date: 30 Aug 2006 22:57:58 -0000 Subject: [Cluster-devel] conga/luci/homebase homebase_common.js luci_ho ... Message-ID: <20060830225758.7204.qmail@sourceware.org> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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 --- conga/luci/homebase/homebase_common.js 2006/08/17 16:22:41 1.5 +++ conga/luci/homebase/homebase_common.js 2006/08/30 22:57:58 1.6 @@ -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); --- conga/luci/homebase/luci_homebase.css 2006/08/29 23:22:47 1.16 +++ conga/luci/homebase/luci_homebase.css 2006/08/30 22:57:58 1.17 @@ -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 }