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() { function init_saimod_sys_cron() {
$("#sai_mod_cron_table").tablesorter();
register_cron_add(); register_cron_add();
register_cron_del(); register_cron_del();
register_cron_edit(); register_cron_edit();

View File

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