34 lines
1.3 KiB
Twig
34 lines
1.3 KiB
Twig
{% extends "base.html.twig" %}
|
|
{% block content %}
|
|
<h2>Overview of your cronjobs</h2>
|
|
{% if not message == "" %}
|
|
<div class="alert alert-success fade in">
|
|
<a href="#" class="close" data-dismiss="alert">×</a>
|
|
{{ message }}
|
|
</div>
|
|
{% endif %}
|
|
<table class="table">
|
|
<tr>
|
|
<th>ID</th>
|
|
<th>Name</th>
|
|
<th>Delay</th>
|
|
<th>Next run</th>
|
|
<th></th>
|
|
</tr>
|
|
{% for job in jobs %}
|
|
<tr>
|
|
<td>{{ job.jobID }}</td>
|
|
<td>{{ job.name }}</td>
|
|
<td>{{ job.delay }}</td>
|
|
<td>{{ job.nextrun }}</td>
|
|
<td>
|
|
<div class="btn-group" role="group" aria-label="...">
|
|
<a href="runs.php?jobID={{ job.jobID }}" class="btn btn-default"><span class="glyphicon glyphicon-align-justify"></span></a>
|
|
<a href="editjob.php?jobID={{ job.jobID }}" class="btn btn-default"><span class="glyphicon glyphicon-edit"><span></a>
|
|
<a onclick="return confirm('Are you sure you want to delete this job?')" href="overview.php?jobID={{ job.jobID }}&action=delete" class="btn btn-default"><span class="glyphicon glyphicon-remove"></span></a>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</table>
|
|
{% endblock %} |