cluster-devel.redhat.com archive mirror
 help / color / mirror / Atom feed
From: rmccabe@sourceware.org <rmccabe@sourceware.org>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] conga/luci/homebase form-macros
Date: 1 Nov 2006 21:29:50 -0000	[thread overview]
Message-ID: <20061101212950.14726.qmail@sourceware.org> (raw)

CVSROOT:	/cvs/cluster
Module name:	conga
Changes by:	rmccabe at sourceware.org	2006-11-01 21:29:49

Modified files:
	luci/homebase  : form-macros 

Log message:
	show the 'check if all node passwords are identical...' box on the cluster add page if the initial submission has errors

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

--- conga/luci/homebase/form-macros	2006/11/01 20:43:39	1.47
+++ conga/luci/homebase/form-macros	2006/11/01 21:29:49	1.48
@@ -1,7 +1,7 @@
 <html>
 
 <tal:comment tal:replace="nothing">
-	$Id: form-macros,v 1.47 2006/11/01 20:43:39 rmccabe Exp $
+	$Id: form-macros,v 1.48 2006/11/01 21:29:49 rmccabe Exp $
 </tal:comment>
 
 <head>
@@ -583,8 +583,8 @@
 
 			<tfoot class="systemsTable">
 				<tr class="systemsTable"><td colspan="2" class="systemsTable">
-					<div tal:condition="python: not 'isComplete' in sessionObj['requestResults'] or not sessionObj['requestResults']['isComplete']">
-						<input type="checkbox" name="allSameCheckBox" id="allSameCheckBox" onClick="allPasswdsSame(adminform);"/> Check if storage system passwords are identical.
+					<div tal:condition="python: not 'isComplete' in sessionObj['requestResults'] or not sessionObj['requestResults']['isComplete'] or ('errors' in sessionObj and len(sessionObj['errors']) > 0)">
+						<input type="checkbox" name="allSameCheckBox" id="allSameCheckBox" onClick="allPasswdsSame(adminform);"/> Check if cluster node passwords are identical.
 					</div>
 					<div class="systemsTable"
 						tal:condition="python: 'isComplete' in sessionObj['requestResults'] and sessionObj['requestResults']['isComplete']">&nbsp;</div>
@@ -606,9 +606,9 @@
 							tal:attributes="
 								id python: '__SYSTEM' + str(sysNum) + ':Addr';
 								name python: '__SYSTEM' + str(sysNum) + ':Addr';
-								value python: node['ricci_host'];
+								value python: node['host'];
 								class python: 'hbInputSys' + ('errors' in node and ' error' or '');
-								disabled python: nodeAuth and 1 or 0"
+								disabled python: (nodeAuth and node['host'].count('.') > 0) and 1 or 0"
 						 />
 					</td>
 					<td class="systemsTable">



             reply	other threads:[~2006-11-01 21:29 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-01 21:29 rmccabe [this message]
  -- strict thread matches above, loose matches on Subject: below --
2007-06-05 17:59 [Cluster-devel] conga/luci/homebase form-macros rmccabe
2007-01-29 20:43 rmccabe
2007-01-24 19:59 rmccabe
2006-10-16 15:35 rmccabe
2006-10-16 15:32 rmccabe
2006-10-16 15:30 rmccabe
2006-07-25 17:47 rmccabe
2006-07-25 17:46 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=20061101212950.14726.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).