mirror of
https://github.com/lumapu/ahoy.git
synced 2025-06-24 13:26:58 +02:00
load stats on index page initially
This commit is contained in:
parent
2d37b2657d
commit
df2f052c85
2 changed files with 4 additions and 1 deletions
|
@ -5,6 +5,9 @@
|
|||
<link rel="stylesheet" type="text/css" href="style.css"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<script type="text/javascript">
|
||||
getAjax('/uptime', 'uptime');
|
||||
getAjax('/time', 'time');
|
||||
getAjax('/cmdstat', 'cmdstat');
|
||||
window.setInterval("getAjax('/uptime', 'uptime')", {JS_TS});
|
||||
window.setInterval("getAjax('/time', 'time')", {JS_TS});
|
||||
window.setInterval("getAjax('/cmdstat', 'cmds')", {JS_TS});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue