Commit c3d1efc1 authored by maxtkl's avatar maxtkl
Browse files

Add refresh button

parent a0933256
......@@ -319,6 +319,7 @@
"label.prev": "Précédent",
"label.process": "processus",
"label.product.name": "EyesOfNetwork",
"label.refresh_button": "Rafraichissement",
"label.report_event.act_event": "Evènements actifs",
"label.report_event.day": "Datant d'une journée",
"label.report_event.define_report": "Définir votre rapport",
......
......@@ -319,6 +319,7 @@
"label.prev": "Previous",
"label.process": "processus",
"label.product.name": "EyesOfNetwork",
"label.refresh_button": "Refresh",
"label.report_event.act_event": "Active events",
"label.report_event.day": "A day ago",
"label.report_event.define_report": "Define your report",
......
......@@ -238,6 +238,15 @@ if(file_exists($file)){
</span>
</div>
</div>
<?php if ($_GET["q"] != "history") { ?>
<div class="col-md-4">
<label><?php echo getLabel("label.refresh_button")?></label>
<div>
<input id="refresh_on" type="button" class="btn btn-primary" value="on" />
<input id="refresh_off" type="button" class="btn btn-primary hidden" value="off" />
</div>
</div>
<?php }?>
</div>
</div>
</div>
......
......@@ -98,7 +98,7 @@ function startTimer()
{
var queue = $("#queue").val();
if(queue == "active"){
timer = setInterval(loadTable, 60000);
timer = setInterval(loadTable, 2000);
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment