blob: 5722494701006b9ad61bd9f49ea61f046d6a8c33 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
{% extends "base-timeview.html" %}
{% load bcfg2_tags %}
{% block title %}Bcfg2 - Element Listing{% endblock %}
{% block extra_header_info %}
{% endblock%}
{% block pagebanner %}{{mod_or_bad|capfirst}} Element Listing{% endblock %}
{% block content %}
{% if item_list_dict %}
{% for kind, entries in item_list_dict.items %}
<div class='entry_list'>
<div class='entry_list_head element_list_head'>
<div class='entry_expand_tab' onclick='javascript:toggleMe("table_{{ kind }}");'>[+]</div>
<h3>{{ kind }} — {{ entries|length }}</h3>
</div>
<table id='table_{{ kind }}' class='entry_list'>
{% for e in entries %}
<tr class='{% cycle listview,listview_alt %}'>
<td><a href="{% url reports_item type=mod_or_bad,pk=e.id %}">{{e.entry.name}}</a></td>
</tr>
{% endfor %}
</table>
</div>
{% endfor %}
{% else %}
<p>There are currently no inconsistent configuration entries.</p>
{% endif %}
{% endblock %}
|