conga/luci/cluster form-macros
CVSROOT: /cvs/cluster
Module name: conga
Changes by: jparsons at sourceware.org 2006-08-11 00:23:28
Modified files:
luci/cluster : form-macros
Log message:
icons for services
luci/cluster/form-macros +13 -4
@@ -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>