implemented autorefresh
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
<tr id="job_{{ job.id }}">
|
||||
<!-- <td>{{ job.id }}</td> -->
|
||||
<td>{{ job.zone.number|string}}</td>
|
||||
<td>{{job.zone.name }}</td>
|
||||
<td>{{ ((job.duration/60)|int)|string + " " + translater.getTranslation("minutes")}}</td>
|
||||
<td><button onclick="buttonDeleteJobById('{{ job.id }}')">{{ translater.getTranslation("delete") }}</button></td>
|
||||
</tr>
|
||||
@@ -0,0 +1,15 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="de">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
||||
<script>
|
||||
|
||||
setInterval(refreshContent, {{ (zoneManager.systemSettings.cronJobFrequency + 5) * 1000 }})
|
||||
</script>
|
||||
Reference in New Issue
Block a user