forked from Hay1tsme/artemis
add no logs message to event viewer
This commit is contained in:
parent
69d3ff156a
commit
12f035b7e5
@ -17,6 +17,11 @@
|
|||||||
<th>Params</th>
|
<th>Params</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
|
{% if events is not defined or events|length == 0 %}
|
||||||
|
<tr>
|
||||||
|
<td colspan="10" style="text-align:center"><i>No Events</i></td>
|
||||||
|
</tr>
|
||||||
|
{% endif %}
|
||||||
</table>
|
</table>
|
||||||
<div id="div_tbl_ctrl">
|
<div id="div_tbl_ctrl">
|
||||||
<select id="sel_per_page" onchange="update_tbl()">
|
<select id="sel_per_page" onchange="update_tbl()">
|
||||||
@ -40,6 +45,7 @@ var per_page = 0;
|
|||||||
var page = 0;
|
var page = 0;
|
||||||
|
|
||||||
function update_tbl() {
|
function update_tbl() {
|
||||||
|
if (TBL_DATA.length == 0) { return; }
|
||||||
var tbl = document.getElementById("tbl_events");
|
var tbl = document.getElementById("tbl_events");
|
||||||
|
|
||||||
for (var i = 0; i < per_page; i++) {
|
for (var i = 0; i < per_page; i++) {
|
||||||
|
Loading…
Reference in New Issue
Block a user