Update of /var/cvs/applications/crontab/blocks
In directory james.mmbase.org:/tmp/cvs-serv15399/blocks

Modified Files:
        index.jspx 
Log Message:
implemented 'isActive'. This means all jobs are always in the daemon, but only 
when running it is decied whter that is needed


See also: http://cvs.mmbase.org/viewcvs/applications/crontab/blocks


Index: index.jspx
===================================================================
RCS file: /var/cvs/applications/crontab/blocks/index.jspx,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- index.jspx  12 Sep 2008 12:23:03 -0000      1.6
+++ index.jspx  2 Dec 2008 09:10:36 -0000       1.7
@@ -10,6 +10,11 @@
   <jsp:directive.page import="org.mmbase.framework.*,java.util.*" />
   <mm:import id="format">yyyy-MM-dd HH:mm:ss</mm:import>
   <mm:url id="ok" write="false" page="/mmbase/style/images/ok.gif" />
+  <style>
+    .inactive {
+    color: #aaa;
+    }
+  </style>
   <h1>Crontab admin page for 
<jsp:expression>org.mmbase.module.core.MMBase.getMMBase().getMachineName()</jsp:expression></h1>
   <mm:cloud rank="administrator">
     <mm:import externid="kick" />
@@ -68,7 +73,7 @@
         <th>configuration</th>
       </tr>
       <mm:listfunction id="cronentry" module="crontab" name="list">
-        <tr>
+        <tr class="${cronentry.active ? 'active' : 'inactive'}">
           <td>${cronentry.id}</td>
           <td>${cronentry.type}</td>
           <td>${cronentry.cronTime}</td>
_______________________________________________
Cvs mailing list
Cvs@lists.mmbase.org
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to