Skip to contentSkip to conversation

conga/luci/cluster busy_wait-macro cluster_con ...

Cluster-devel [email protected] 1 participant 1 message Nov 19, 2007

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/cluster
Module name: conga
Changes by: rmccabe at sourceware.org 2007-11-19 18:22:48

Added files:
luci/cluster : busy_wait-macro cluster_config-macros
cluster_svc-macros fdom-macros fence-macros system_svc-macros

Log message:
split up form-macros into manageable modules

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/cluster/busy_wait-macro.diff?cvsroot=cluster&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/cluster/cluster_config-macros.diff?cvsroot=cluster&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/cluster/cluster_svc-macros.diff?cvsroot=cluster&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/cluster/fdom-macros.diff?cvsroot=cluster&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/cluster/fence-macros.diff?cvsroot=cluster&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/cluster/system_svc-macros.diff?cvsroot=cluster&r1=NONE&r2=1.1

/cvs/cluster/conga/luci/cluster/busy_wait-macro,v --> standard output revision 1.1

- renamed from luci/cluster/busy_wait-macro +62 -0
@@ -0,0 +1,62 @@
+<div metal:define-macro="busywaitpage">
+	<table>
+		<tr><td>
+			<h2>Please be patient - this cluster's configuration is being modified.</h2>
+		</td></tr>
+
+		<tr><td>
+			<img src="100wait.gif" />
+		</td></tr>
+
+		<span tal:define="global nodereports isBusy/nodereports" />
+
+		<tr tal:repeat="nodereport nodereports"><td>
+			<tal:block
+				tal:condition="python:nodereport.get('isnodecreation') != True">
+
+				<h2><span tal:replace="nodereport/desc" /></h2>
+			</tal:block>
+
+			<tal:block
+				tal:condition="python:nodereport.get('isnodecreation') == True">
+
+				<tal:block
+					tal:condition="python:nodereport.get('iserror') == True">
+
+					<h2><span tal:content="nodereport/desc" /></h2>
+
+					<span class="errmsg"
+						tal:content="nodereport/errormessage" />
+				</tal:block>
+
+				<tal:block
+					tal:condition="python:nodereport.get('iserror') != True">
+
+					<h2><span tal:content="nodereport/desc" /></h2>
+					<em tal:content="nodereport/statusmessage | nothing" />
+					<br/>
+
+					<tal:block tal:condition="python: nodereport['statusindex'] < 1">
+						<img src="notstarted.png" />
+					</tal:block>
+
+					<tal:block tal:condition="python: nodereport['statusindex'] == 1 or nodereport['statusindex'] == 2">
+						<img src="installed.png" alt="[cluster software installed]" />
+					</tal:block>
+
+					<tal:block tal:condition="python: nodereport['statusindex'] == 3">
+						<img src="rebooted.png" alt="[cluster node rebooted]" />
+					</tal:block>
+
+					<tal:block tal:condition="python: nodereport['statusindex'] == 4 or nodereport['statusindex'] == 5">
+						<img src="configured.png" alt="[cluster node configured]" />
+					</tal:block>
+
+					<tal:block tal:condition="python: nodereport['statusindex'] == 6">
+						<img src="joined.png" alt="[cluster node joined cluster]" />
+					</tal:block>
+				</tal:block>
+			</tal:block>
+		</td></tr>
+	</table>
+</div>

/cvs/cluster/conga/luci/cluster/cluster_config-macros,v --> standard output revision 1.1

- renamed from luci/cluster/cluster_config-macros +955 -0

955 lines not on this page · raw message

/cvs/cluster/conga/luci/cluster/cluster_svc-macros,v --> standard output revision 1.1

- renamed from luci/cluster/cluster_svc-macros +850 -0

850 lines not on this page · raw message

/cvs/cluster/conga/luci/cluster/fdom-macros,v --> standard output revision 1.1

- renamed from luci/cluster/fdom-macros +227 -0

227 lines not on this page · raw message

/cvs/cluster/conga/luci/cluster/fence-macros,v --> standard output revision 1.1

- renamed from luci/cluster/fence-macros +1999 -0

906 lines not on this page · raw message

The rest of this diff is not shown. View the raw message.

/cvs/cluster/conga/luci/cluster/system_svc-macros,v --> standard output revision 1.1

- renamed from luci/cluster/system_svc-macros +118 -0

118 lines not on this page · raw message

The rest of this diff is not shown. View the raw message.

Part of the diff is not shown here. View the raw message.