Merge branch 'task/host-in-overview'
This commit is contained in:
commit
4f5a15a8aa
|
@ -60,6 +60,7 @@ $allJobsRendered = array();$count = 0;
|
||||||
foreach($allJobsResult as $key=>$value) {
|
foreach($allJobsResult as $key=>$value) {
|
||||||
$allJobsRendered[$count]["jobID"] = $value["jobID"];
|
$allJobsRendered[$count]["jobID"] = $value["jobID"];
|
||||||
$allJobsRendered[$count]["name"] = $value["name"];
|
$allJobsRendered[$count]["name"] = $value["name"];
|
||||||
|
$allJobsRendered[$count]["host"] = $value["host"];
|
||||||
$allJobsRendered[$count]["nextrun"] = date("d/m/Y H:i:s", $value["nextrun"]);
|
$allJobsRendered[$count]["nextrun"] = date("d/m/Y H:i:s", $value["nextrun"]);
|
||||||
$allJobsRendered[$count]["delay"] = secondsToInterval($value["delay"]);
|
$allJobsRendered[$count]["delay"] = secondsToInterval($value["delay"]);
|
||||||
|
|
||||||
|
|
|
@ -11,6 +11,7 @@
|
||||||
<table class="table">
|
<table class="table">
|
||||||
<tr>
|
<tr>
|
||||||
<th>Name</th>
|
<th>Name</th>
|
||||||
|
<th>Host</th>
|
||||||
<th>Delay</th>
|
<th>Delay</th>
|
||||||
<th>Next run</th>
|
<th>Next run</th>
|
||||||
<th></th>
|
<th></th>
|
||||||
|
@ -18,6 +19,7 @@
|
||||||
{% for job in jobs %}
|
{% for job in jobs %}
|
||||||
<tr>
|
<tr>
|
||||||
<td>{{ job.name }}</td>
|
<td>{{ job.name }}</td>
|
||||||
|
<td>{{ job.host }}</td>
|
||||||
<td>{{ job.delay }}</td>
|
<td>{{ job.delay }}</td>
|
||||||
<td>{{ job.nextrun }}</td>
|
<td>{{ job.nextrun }}</td>
|
||||||
<td>
|
<td>
|
||||||
|
|
Loading…
Reference in New Issue