network_inventory/inventory/templates/inventory/cronjob_list.html

29 lines
793 B
HTML
Raw Normal View History

2017-12-25 00:37:31 +01:00
{% extends "inventory/base.html" %}
2017-12-29 12:35:50 +01:00
{% block section_title %}List of Cron Jobs{% endblock %}
2017-12-25 00:37:31 +01:00
{% block content %}
{% if cronjob_list %}
<table class="sortable">
2017-12-27 17:46:57 +01:00
<tr>
<th>Name</th>
<th>Hostname</th>
<th>Minute</th>
<th>Hour</th>
<th>Day of Week</th>
<th>Day of Month</th>
<th>Month</th>
</tr>
{% for cronjob in cronjob_list %}
<tr>
<td><a href="{% url 'cronjob' cronjob.id %}">{{ cronjob.name }}</a></td>
<td>{{ cronjob.host }}</td>
<td>{{ cronjob.minutes }}</td>
<td>{{ cronjob.hours }}</td>
<td>{{ cronjob.weekday }}</td>
<td>{{ cronjob.day }}</td>
<td>{{ cronjob.month }}</td>
</tr>
{% endfor %}
</table>
{% endif %}
2017-12-25 00:37:31 +01:00
{% endblock %}