conga/luci/cluster form-macros form-chooser
CVSROOT: /cvs/cluster
Module name: conga
Changes by: jparsons at sourceware.org 2006-07-24 19:01:51
Modified files:
luci/cluster : form-macros form-chooser
Log message:
Cluster config additions
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/cluster/form-macros.diff?cvsroot=cluster&r1=1.8&r2=1.9
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/cluster/form-chooser.diff?cvsroot=cluster&r1=1.1&r2=1.2
luci/cluster/form-macros +17 -2
@@ -228,9 +228,24 @@ </form> </div> <div metal:define-macro="clusterconfig-form"> - <!-- <span tal:define="global ricci_agent python:here.getRicciAgentForCluster(request)"/> --> - <!-- <span tal:define="global clusterinfo python:here.getClusterInfo(modelb, request)"/> --> <h2>Cluster Configuration Form</h2> + <!-- <span tal:define="global ricci_agent python:here.getRicciAgentForCluster(request)"/> --> + <span tal:define="global clusterinfo python:here.getClusterInfo(modelb, request)"/> + <form name="basecluster" action="" method="get" tal:attributes="action clusterinfo/basecluster_url"> + <h4><b>Cluster Name</b></h4><input type="text" name="cluname" value="" <tal:attributes="value clusterinfo/clustername"/> + <h4><b>Configuration Version</b></h4><input type="text" name="cfgver" value="" <tal:attributes="value clusterinfo/config_version"/> + <input type="submit" value="Apply"/> + </form> + <hr/> + <form name="fencedaemon" action="" method="get" tal:attributes="action clusterinfo/fencedaemon_url"> + <h4><b>Fence Daemon Properties</b></h4> + <h4><b>Post Fail Delay:</h4></b><input type="text" name="post_fail_delay" value="" tal:attributes="value clusterinfo/pfd"/> + <h4><b>Post Join Delay:</h4></b><input type="text" name="post_join_delay" value="" tal:attributes="value clusterinfo/pjd"/> + <input type="submit" value="Apply"/> + </form> + </div> + <div metal:define-macro="clusterprocess-form"> + <h2>Howdy!</h2> </div> <div metal:define-macro="node-form"> <span tal:define="global ricci_agent python:here.getRicciAgentForCluster(request)"/>
luci/cluster/form-chooser +3 -0
@@ -29,6 +29,9 @@ <span tal:omit-tag="" tal:condition="python: ptype == '7'"> <div metal:use-macro="here/form-macros/macros/clusters-form"/> </span> + <span tal:omit-tag="" tal:condition="python: ptype == '8'"> + <div metal:use-macro="here/form-macros/macros/clusterprocess-form"/> + </span> <span tal:omit-tag="" tal:condition="python: ptype == '9'"> <div metal:use-macro="here/form-macros/macros/node-form"/> </span>