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: 25 Jul 2006 17:46:32 -0000	[thread overview]
Message-ID: <20060725174632.9507.qmail@sourceware.org> (raw)

CVSROOT:	/cvs/cluster
Module name:	conga
Changes by:	rmccabe at sourceware.org	2006-07-25 17:46:32

Modified files:
	luci/homebase  : form-macros 

Log message:
	refactored system / cluster delete

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

--- conga/luci/homebase/form-macros	2006/07/19 20:20:53	1.29
+++ conga/luci/homebase/form-macros	2006/07/25 17:46:31	1.30
@@ -1,7 +1,7 @@
 <html>
 
 <tal:comment replace="nothing">
-	$Id: form-macros,v 1.29 2006/07/19 20:20:53 rmccabe Exp $
+	$Id: form-macros,v 1.30 2006/07/25 17:46:31 rmccabe Exp $
 </tal:comment>
 
 <head>
@@ -220,7 +220,7 @@
 
 				<tal:block tal:repeat="cs python:systems[0][c]">
 					<div class="hbcheckdiv">
-						<input type="checkbox" class="hombase"
+						<input type="checkbox" class="homebase"
 							tal:define="global num_systems python:num_systems + 1"
 							tal:attributes="
 								checked python:perms[curUser]['storage'][cs] and 'checked' or None;
@@ -239,7 +239,7 @@
 
 			<tal:block tal:repeat="s python: systems[1]">
 			<div class="hbcheckdiv">
-				<input type="checkbox" class="hombase"
+				<input type="checkbox" class="homebase"
 					tal:define="global num_systems python:num_systems + 1"
 					tal:attributes="
 						checked python:perms[curUser]['storage'][s] and 'checked' or None;
@@ -325,7 +325,6 @@
 					tal:attributes="
 						name python:'__CLUSTER:' + cfname;
 						id python:'__CLUSTER' + str(num_clusters);
-						onChange python: 'checkChildren(\'' + cfname + '\', this)';
 						value python: c"
 				/>
 				<input type="hidden" value=""
@@ -333,24 +332,6 @@
 						name python:'__CLUSTER:' + cfname"
 				/>
 				<span tal:omit-tag="" tal:content="python:c" />
-
-				<tal:block tal:repeat="cs python:systems[0][c]">
-					<div class="hbcheckdiv"
-						tal:define="csfname python: here.strFilter('[^0-9A-Za-z_-]', '_', cs)">
-
-						<input type="checkbox" class="hombase"
-							tal:define="global num_systems python:num_systems + 1"
-							tal:attributes="
-								name python:'__SYSTEM:' + csfname;
-								id python:'__SYSTEM' + str(num_systems);
-								value python:cs"
-						/>
-
-						<input type="hidden" value=""
-							tal:attributes="name python:'__SYSTEM:' + csfname" />
-						<span class="hbText" tal:omit-tag="" tal:content="python:cs" />
-					</div>
-				</tal:block>
 			</div>
 		</tal:block>
 
@@ -360,8 +341,7 @@
 			<tal:block tal:repeat="s python: systems[1]">
 				<div class="hbcheckdiv"
 					tal:define="sfname python: here.strFilter('[^0-9A-Za-z_-]', '_', s)">
-
-					<input type="checkbox" class="hombase"
+					<input type="checkbox" class="homebase"
 						tal:define="global num_systems python:num_systems + 1"
 						tal:attributes="
 							name python:'__SYSTEM:' + sfname;



             reply	other threads:[~2006-07-25 17:46 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-25 17:46 rmccabe [this message]
  -- strict thread matches above, loose matches on Subject: below --
2006-07-25 17:47 [Cluster-devel] conga/luci/homebase form-macros rmccabe
2006-10-16 15:30 rmccabe
2006-10-16 15:32 rmccabe
2006-10-16 15:35 rmccabe
2006-11-01 21:29 rmccabe
2007-01-24 19:59 rmccabe
2007-01-29 20:43 rmccabe
2007-06-05 17:59 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=20060725174632.9507.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).