conga/luci cluster/form-macros cluster/resourc ...
CVSROOT: /cvs/cluster
Module name: conga
Changes by: rmccabe at sourceware.org 2006-09-11 22:22:01
Modified files:
luci/cluster : form-macros resource-form-macros
resource_form_handlers.js
luci/homebase : luci_homebase.css x.png
Log message:
resource / service frontend bits
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/cluster/form-macros.diff?cvsroot=cluster&r1=1.57&r2=1.58
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/cluster/resource-form-macros.diff?cvsroot=cluster&r1=1.8&r2=1.9
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/cluster/resource_form_handlers.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.20&r2=1.21
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/homebase/x.png.diff?cvsroot=cluster&r1=1.1&r2=1.2
luci/cluster/form-macros +18 -4
@@ -1085,7 +1085,11 @@ </div> <div metal:define-macro="serviceconfig-form"> - <script type="text/javascript" src="/luci/homebase/homebase_common.js"> + <script type="text/javascript" + src="/luci/homebase/homebase_common.js"> + </script> + <script type="text/javascript" + src="/luci/cluster/resource_form_handlers.js"> </script> <tal:block tal:define=" global ricci_agent python: here.getRicciAgentForCluster(request);
@@ -1137,6 +1141,17 @@ </tr> </table> <br/> + + <div id="resskel" class="invisible"> + <tal:block metal:use-macro="here/resource-form-macros/macros/resource-swap-form" /> + <div name="expander" class="invisible"> + <img class="service_tree" name="arrow_down" alt="[-]" + src="/luci/cluster/arrow_down.png" + onClick="collapse_div(this)"> + <span class="service_tree">Hide Children</span> + </div> + </div> + <h2>Service Composition</h2> <div id="service_comp_list">
@@ -1185,10 +1200,9 @@ <tal:block metal:use-macro="here/resource-form-macros/macros/scr_macro" /> </span> - <div - tal:condition="python: res['max_depth'] != 0" + <div name="expander" tal:attributes=" - class python: 'rc_indent' + str(res['indent_ctr'] - 1)"> + class python: res['max_depth'] == 0 and 'invisible' or ('rc_indent' + str(res['indent_ctr'] - 1))"> <img class="service_tree" name="arrow_down" alt="[-]" src="/luci/cluster/arrow_down.png" onClick="collapse_div(this)">
luci/cluster/resource-form-macros +113 -106
523 lines not on this page · raw message
luci/cluster/resource_form_handlers.js +65 -12
89 lines not on this page · raw message
luci/homebase/luci_homebase.css +17 -6
@@ -2,6 +2,12 @@ padding: .2em ! important; } +input[type=checkbox], input[type=radio] { + float: left ! important; + vertical-align: middle; + background: #dee7ec; +} + ul.configTab { color: #436976 !important; margin: 20px 0px 0px 0px !important;
@@ -201,13 +207,13 @@ } img.qdel_img { - height: 9px; + height: 7px; width: 7px; background: #dee7ec; border: none; } -#invisible, #allSameDiv { +*.invisible,#invisible, #allSameDiv { visibility: hidden; display: none; }
@@ -259,23 +265,22 @@ strong.cluster { text-align: top; font-size: 9pt; - letter-spacing: +1px; + letter-spacing: +.5px; } *.reshdr { text-align: top; font-size: 9pt; - letter-spacing: +1px; + letter-spacing: +.5px; font-weight: 600; padding-bottom: +1em; } - strong.service_name, strong.node_name, strong.cluster_name { font-size: 10pt; - letter-spacing: +1px; + letter-spacing: +.5px; } td.service_name,
@@ -382,6 +387,12 @@ padding: 1em; } +div.reschoose { + background: #dee7ec; + padding: .5em; + max-width: 700px; +} + div.rescfg { background: #dee7ec; }
Binary files /cvs/cluster/conga/luci/homebase/x.png 2006/06/20 21:21:47 1.1 and /cvs/cluster/conga/luci/homebase/x.png 2006/09/11 22:22:01 1.2 differ
rcsdiff: /cvs/cluster/conga/luci/homebase/x.png: diff failed