UI: Cron sortierbare Tabelle

This commit is contained in:
Messerbill 2015-06-08 22:17:04 +02:00
parent 98337ffdd3
commit fea33b3f1f
2 changed files with 21 additions and 16 deletions

View File

@ -1,4 +1,5 @@
function init_saimod_sys_cron() {
$("#sai_mod_cron_table").tablesorter();
register_cron_add();
register_cron_del();
register_cron_edit();

View File

@ -3,22 +3,26 @@
Last Visit: ${last_visit}<br/>
<a href="./sai.php?call=cron" target="_blank">Start Cron</a>
<div id="cron_content">
<table class="table table-hover table-condensed sai_table" style="overflow: auto;">
<tr>
<th>class</th>
<th>min</th>
<th>hour</th>
<th>day</th>
<th>day_week</th>
<th>month</th>
<th>last_run</th>
<th>next_run</th>
<th>status</th>
<th></th>
<th>action</th>
<th></th>
</tr>
${content}
<table class="table table-hover table-condensed sai_table tablesorter" id="sai_mod_cron_table" style="overflow: auto;">
<thead>
<tr>
<th>class</th>
<th>min</th>
<th>hour</th>
<th>day</th>
<th>day_week</th>
<th>month</th>
<th>last_run</th>
<th>next_run</th>
<th>status</th>
<th></th>
<th>action</th>
<th></th>
</tr>
</thead>
<tbody>
${content}
</tbody>
<tr>
<td><input class="form-control" type="text" id="input_cron_class" placeholder="class" style="width: 200px;"></td>
<td><input class="form-control" type="text" id="input_cron_min" placeholder="min" value="0" style="width: 40px;"></td>