[Cluster-devel] conga/luci/cluster form-macros
jparsons at sourceware.org
jparsons at sourceware.org
Tue Jan 30 21:06:13 UTC 2007
CVSROOT: /cvs/cluster
Module name: conga
Changes by: jparsons at sourceware.org 2007-01-30 21:06:12
Modified files:
luci/cluster : form-macros
Log message:
Fix for VM forms
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/cluster/form-macros.diff?cvsroot=cluster&r1=1.164&r2=1.165
--- conga/luci/cluster/form-macros 2007/01/29 16:56:50 1.164
+++ conga/luci/cluster/form-macros 2007/01/30 21:06:12 1.165
@@ -3650,7 +3650,8 @@
</div>
<div metal:define-macro="xenvmadd-form">
- <form method="get" action="" tal:attributes="action python:request['baseurl'] + '?clustername=' + request['clustername'] + '&pagetype=29'">
+ <span tal:define="global vmforminfo python: here.getXenVMInfo(modelb, request)/>
+ <form method="get" action="" tal:attributes="action vmforminfo/formurl">
<h4>Path to configuration file: </h4><input type="text" name="xenvmpath" value=""/>
<h4>Name of configuration file: </h4><input type="text" name="xenvmname" value=""/>
<input type="submit" value="Create Xen VM"/>
@@ -3660,7 +3661,7 @@
<div metal:define-macro="xenvmconfig-form">
<h4>Properties for Xen VM <font color="green"><span tal:content="request/servicename"/></font></h4>
<span tal:define="global xeninfo python:here.getXenVMInfo(modelb, request)">
- <form method="get" action="" tal:attributes="action python:request['baseurl'] + '?clustername=' + request['clustername'] + '&pagetype=29&servicename=' + request['servicename']">
+ <form method="get" action="" tal:attributes="action xeninfo/formurl">
<h4>Path to configuration file: </h4><input type="text" name="xenvmpath" value="" tal:attributes="value xeninfo/path"/>
<h4>Name of configuration file: </h4><input type="text" name="xenvmname" value="" tal:attributes="value xeninfo/name"/>
<input type="button" value="Delete"/>
More information about the Cluster-devel
mailing list