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

jparsons at sourceware.org jparsons at sourceware.org
Mon Dec 18 22:15:55 UTC 2006


CVSROOT:	/cvs/cluster
Module name:	conga
Changes by:	jparsons at sourceware.org	2006-12-18 22:15:55

Modified files:
	luci/cluster   : form-macros 

Log message:
	212021 progress

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/cluster/form-macros.diff?cvsroot=cluster&r1=1.132&r2=1.133

--- conga/luci/cluster/form-macros	2006/12/14 23:14:54	1.132
+++ conga/luci/cluster/form-macros	2006/12/18 22:15:54	1.133
@@ -3519,8 +3519,6 @@
 	<table id="fence_devices" class="cluster node fence">
 		<tfoot class="fence">
 		<tr class="cluster node fence"><td class="cluster node fence">
-			<input type="button" value="Add this shared fence device"
-				onClick="validate_fence_properties('fence_devices')" />
 		</td></tr>
 		</tfoot>
 		<tbody class="fence">
@@ -3540,8 +3538,13 @@
 					<tal:block metal:use-macro="here/form-macros/macros/shared-fence-option-list" />
 				</select>
 				</form>
+        <form name="fencedevaddform" action="" method="post">
 				<div id="fence_container">
 				</div>
+			  <input type="submit" value="Add this shared fence device"/>
+        <input type="hidden" name="pagetype" value="51" id="pagetype" />
+        <input type="hidden" name="clustername" value="" id="pagetype" tal:attributes="value request/clustername"/>
+        </form>
 			</td>
 		</tr>
 		</tbody>
@@ -3676,9 +3679,21 @@
 					global cur_fencedev python:here.getFence(modelb,request);
 					global cur_fence_type cur_fencedev/agent" />
 		</span>
-	
+
+  <form name="fencedeveditform" action="" method="post">	
 		<tal:block
 			metal:use-macro="here/form-macros/macros/fencedev-cond-ladder" />
+    <input type="submit" value="Update this fence device"/>
+    <input type="hidden" name="pagetype" value="54" id="pagetype" />
+    <input type="hidden" name="clustername" value="" id="pagetype" tal:attributes="value request/clustername"/>
+    <input type="hidden" name="orig_name" value="" id="orig_name" tal:attributes="value request/fencename"/>
+  </form>
+  <form name="fencedevdeleteform" action="" method="post">
+  <input type="submit" value="Delete this fence device"/>
+  <input type="hidden" name="pagetype" value="57" id="pagetype"/>
+  <input type="hidden" name="clustername" value="" id="pagetype" tal:attributes="value request/clustername"/>
+  <input type="hidden" name="fencename" value="" id="fencename" tal:attributes="value request/fencename"/>
+  </form>
 	</div>
 </div>
 




More information about the Cluster-devel mailing list