All of lore.kernel.org
 help / color / mirror / Atom feed
From: rmccabe@sourceware.org <rmccabe@sourceware.org>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] conga/luci/cluster form-chooser form-macros
Date: 1 Feb 2007 20:27:35 -0000	[thread overview]
Message-ID: <20070201202735.2045.qmail@sourceware.org> (raw)

CVSROOT:	/cvs/cluster
Module name:	conga
Changes by:	rmccabe at sourceware.org	2007-02-01 20:27:33

Modified files:
	luci/cluster   : form-chooser form-macros 

Log message:
	get rid of xen prefix in the VM service area

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/cluster/form-chooser.diff?cvsroot=cluster&r1=1.15&r2=1.16
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/cluster/form-macros.diff?cvsroot=cluster&r1=1.169&r2=1.170

--- conga/luci/cluster/form-chooser	2006/12/21 21:26:20	1.15
+++ conga/luci/cluster/form-chooser	2007/02/01 20:27:33	1.16
@@ -57,10 +57,10 @@
      <div metal:use-macro="here/form-macros/macros/nodelogs-form"/>
     </span>
     <span tal:omit-tag="" tal:condition="python: ptype == '18'">
-     <div metal:use-macro="here/form-macros/macros/xenvmadd-form"/>
+     <div metal:use-macro="here/form-macros/macros/vmadd-form"/>
     </span>
     <span tal:omit-tag="" tal:condition="python: ptype == '19'">
-     <div metal:use-macro="here/form-macros/macros/xenvmconfig-form"/>
+     <div metal:use-macro="here/form-macros/macros/vmconfig-form"/>
     </span>
     <span tal:omit-tag="" tal:condition="python: ptype == '20'">
      <div metal:use-macro="here/form-macros/macros/servicelist-form"/>
@@ -92,9 +92,6 @@
     <span tal:omit-tag="" tal:condition="python: ptype == '28'">
      <div metal:use-macro="here/form-macros/macros/servicerestart"/>
     </span>
-    <span tal:omit-tag="" tal:condition="python: ptype == '29'">
-     <div metal:use-macro="here/form-macros/macros/xenvmprocess"/>
-    </span>
     <span tal:omit-tag="" tal:condition="python: ptype == '30'">
      <div metal:use-macro="here/resource-form-macros/macros/resources-form"/>
     </span>
--- conga/luci/cluster/form-macros	2007/01/31 23:36:26	1.169
+++ conga/luci/cluster/form-macros	2007/02/01 20:27:33	1.170
@@ -3464,21 +3464,24 @@
 			</thead>
 
 			<tfoot class="systemsTable">
+				<tr class="systemsTable"><td class="systemsTable" colspan="2">
+					<div class="systemsTableEnd">
+						<input type="button" value="Add another node"
+							onClick="addSystem(this.form)" />
+					</div>
+				</td></tr>
 				<tr class="systemsTable"><td colspan="2" class="systemsTable">
 					<input type="hidden" name="trust_shown" value="1"
 						tal:condition="add_cluster" />
 					<ul class="vanilla deploy">
 						<li class="vanilla">
 							<input type="radio" name="download_pkgs" value="1"
-								tal:attributes="
-									checked add_cluster/download_pkgs | string:checked" />
+								tal:attributes="checked python: (not add_cluster or not 'download_pkgs' in add_cluster or add_cluster['download_pkgs'] != 0) and 'checked' or ''" />
 							Download packages
 						</li>
 						<li class="vanilla">
 							<input type="radio" name="download_pkgs" value="0"
-								tal:attributes="
-									checked not: add_cluster/download_pkgs | nothing" />
-							
+								tal:attributes="checked python: (add_cluster and 'download_pkgs' in add_cluster and add_cluster['download_pkgs'] == 0) and 'checked' or ''" />
 							Use locally installed packages.
 						</li>
 					</ul>
@@ -3507,12 +3510,6 @@
 						</li>
 					</ul>
 				</td></tr>
-				<tr class="systemsTable"><td class="systemsTable" colspan="2">
-					<div class="systemsTableEnd">
-						<input type="button" value="Add another entry"
-							onClick="addSystem(this.form)" />
-					</div>
-				</td></tr>
 			</tfoot>
 
 			<tal:block tal:define="global cur_sysnum python:0" />
@@ -3734,7 +3731,7 @@
 	</tal:block>
 </div>
 
-<div metal:define-macro="xenvmadd-form">
+<div metal:define-macro="vmadd-form">
 <form method="post" action="">
 	<input type="hidden" name="clustername"
 		tal:attributes="value request/clustername | nothing" />
@@ -3770,9 +3767,9 @@
 </form>
 </div>
 
-<div metal:define-macro="xenvmconfig-form">
+<div metal:define-macro="vmconfig-form">
 <form method="post" action=""
-	tal:define="vminfo python:here.getXenVMInfo(modelb, request)">
+	tal:define="vminfo python:here.getVMInfo(modelb, request)">
 
 	<input type="hidden" name="clustername"
 		tal:attributes="value request/clustername | nothing" />
@@ -3818,10 +3815,6 @@
 </form>
 </div>
 
-<div metal:define-macro="xenvmprocess">
-	<span tal:define="retrn python:here.processXenVM(request)"/>
-</div>
-
 <div metal:define-macro="serviceadd-form">
 	<script type="text/javascript">
 		set_page_title('Luci ??? cluster ??? services ??? Add a new service');



             reply	other threads:[~2007-02-01 20:27 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-01 20:27 rmccabe [this message]
  -- strict thread matches above, loose matches on Subject: below --
2006-10-16 18:35 [Cluster-devel] conga/luci/cluster form-chooser form-macros rmccabe

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070201202735.2045.qmail@sourceware.org \
    --to=rmccabe@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.