conga/luci/cluster form-macros
CVSROOT: /cvs/cluster
Module name: conga
Changes by: rmccabe at sourceware.org 2006-08-30 23:40:13
Modified files:
luci/cluster : form-macros
Log message:
ui nits
luci/cluster/form-macros +8 -6
@@ -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>