[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Cluster-devel] conga/luci/cluster form-macros



CVSROOT:	/cvs/cluster
Module name:	conga
Changes by:	rmccabe sourceware org	2006-08-30 23:40:13

Modified files:
	luci/cluster   : form-macros 

Log message:
	ui nits

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

--- conga/luci/cluster/form-macros	2006/08/30 22:57:42	1.53
+++ conga/luci/cluster/form-macros	2006/08/30 23:40:13	1.54
@@ -998,7 +998,11 @@
 
 			<tr class="cluster service info_top">
 				<td class="cluster service service_name">
-					<strong class="cluster service">Service Name:</strong> <span tal:replace="svc/name"/>
+					<strong class="cluster service">Service Name:</strong>
+					<a tal:attributes="
+						href svc/cfgurl;
+						class python: 'cluster service ' + (running and 'running' or 'stopped')"
+						tal:content="svc/name" />
 				</td>
 
 				<td class="cluster service service_action">
@@ -1017,14 +1021,12 @@
 			<tr class="cluster service info_middle">
 				<td class="cluster service service_nodename">
 					<div class="cluster service service_status">
-						<strong class="cluster service service_name">Status:</strong>
+						<strong class="cluster service">Status:</strong>
 						<tal:block tal:condition="running">
-							<span class="running">
-								Running on <tal:block tal:replace="svc/nodename"/>
-							</span>
+							Running on <tal:block tal:replace="svc/nodename"/>
 						</tal:block>
 						<tal:block tal:condition="not: running">
-							<span class="stopped" tal:content="string:This service is stopped"/>
+							This service is stopped
 						</tal:block>
 					</div>
 					<p>Autostart is <span tal:condition="not: autostart" tal:replace="string: not" /> enabled for this service</p>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]