[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:	jparsons sourceware org	2006-08-11 00:23:28

Modified files:
	luci/cluster   : form-macros 

Log message:
	icons for services

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

--- conga/luci/cluster/form-macros	2006/08/10 23:51:14	1.26
+++ conga/luci/cluster/form-macros	2006/08/11 00:23:28	1.27
@@ -101,11 +101,20 @@
 							</td>
 
 							<td style="width:30%;text-align:right">
-								<h3>Currently Hosting: </h3>
+								<h3>Services: </h3>
 								<ul>
-									<li tal:repeat="svc cstatus/currentservices">
-										<a href="" tal:attributes="href svc/svcurl"><span tal:content="svc/name"/></a>
-									</li>
+                  <span tal:repeat="svc cstatus/currentservices">
+                    <span tal:condition="python:svc['running'] == 'true'">
+									   <li style="list-style-image:url(small_svc.png);">
+										  <a href="" tal:attributes="href svc/svcurl"><font color="green"><span tal:content="svc/name"/></font></a>
+									   </li>
+                    </span>
+                    <span tal:condition="python:svc['running'] != 'true'">
+									   <li style="list-style-image:url(small_svc.png);">
+										  <a href="" tal:attributes="href svc/svcurl"><font color="red"><span tal:content="svc/name"/></font></a>
+									   </li>
+                    </span>
+                 </span>
 								</ul>
 							</td>
 						</tr>


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