Skip to contentSkip to conversation

conga/luci cluster/form-macros homebase/luci_h ...

Cluster-devel [email protected] 1 participant 1 message Oct 16, 2006

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/cluster
Module name: conga
Changes by: rmccabe at sourceware.org 2006-10-16 19:13:45

Modified files:
luci/cluster : form-macros
luci/homebase : luci_homebase.css

Log message:
fence device frontend ui stuff

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/cluster/form-macros.diff?cvsroot=cluster&r1=1.87&r2=1.88
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/homebase/luci_homebase.css.diff?cvsroot=cluster&r1=1.27&r2=1.28

luci/cluster/form-macros +10 -1
@@ -2369,7 +2369,11 @@
 
 <div metal:define-macro="fencedev-form">
 	<h2>Fence Device Form</h2>
-	<tal:block tal:define="global cur_fence_type python: 'fence_apc'"/>
+
+	<div class="cluster fencedev" tal:define="
+		global cur_fence_type python: 'fence_apc';
+		global cur_fencename request/fencename | nothing;
+		global cur_cluster request/clustername | nothing" >
 	
 	<tal:block tal:condition="python: cur_fence_type == 'fence_apc'">
 		<tal:block metal:use-macro="here/form-macros/macros/fence-form-apc" />
@@ -2434,6 +2438,11 @@
 	<tal:block tal:condition="python: cur_fence_type == 'fence_manual'">
 		<tal:block metal:use-macro="here/form-macros/macros/fence-form-manual" />
 	</tal:block>
+
+	<div class="fencedev">
+		<input class="hbInput" type="button" value="Submit" name="Submit" />
+	</div>
+	</div>
 </div>
 
 <div metal:define-macro="fencedevprocess-form">
luci/homebase/luci_homebase.css +5 -0
@@ -14,6 +14,11 @@
 	background: #dee7ec;
 }
 
+div.fencedev {
+	max-width: 700px;
+	padding: .5em;
+}
+
 *.fencedev {
 	background: #dee7ec;
 }