[Cluster-devel] conga/luci/cluster form-macros form-chooser

jparsons at sourceware.org jparsons at sourceware.org
Mon Jul 24 19:01:51 UTC 2006


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

--- conga/luci/cluster/form-macros	2006/07/21 17:16:50	1.8
+++ conga/luci/cluster/form-macros	2006/07/24 19:01:50	1.9
@@ -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)"/>
--- conga/luci/cluster/form-chooser	2006/06/30 17:00:02	1.1
+++ conga/luci/cluster/form-chooser	2006/07/24 19:01:50	1.2
@@ -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>




More information about the Cluster-devel mailing list