/usr/lib/python2.7/dist-packages/Bcfg2/Reporting/templates/config_items/entry_status.html is in bcfg2-server 1.4.0~pre2+git141-g6d40dace6358-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 34 35 | {% extends "base-timeview.html" %}
{% load bcfg2_tags %}
{% load url from bcfg2_compat %}
{% block title %}Bcfg2 - Entry Status{% endblock %}
{% block extra_header_info %}
{% endblock%}
{% block pagebanner %}{{ entry.entry_type }} entry {{ entry.name }} status{% endblock %}
{% block content %}
{% filter_navigator %}
{% if items %}
<div class='entry_list'>
<table class='entry_list'>
<tr style='text-align: left' ><th>Name</th><th>Timestamp</th><th>State</th><th>Reason</th></tr>
{% for item, inters in items %}
{% for inter in inters %}
<tr class='{% cycle listview,listview_alt %}'>
<td><a href='{% url "reports_client_detail" hostname=inter.client.name %}'>{{inter.client.name}}</a></td>
<td><a href='{% url "reports_client_detail_pk" hostname=inter.client.name pk=inter.pk %}' style="white-space: nowrap;">
{{inter.timestamp|date:"SHORT_DATETIME_FORMAT"|safe}}
</a></td>
<td>{{ item.get_state_display }}</td>
<td style='white-space: nowrap'><a href='{% url "reports_item" entry_type=item.class_name pk=item.pk %}'>({{item.pk}}) {{item.short_list|join:","}}</a></td>
</tr>
{% endfor %}
{% endfor %}
</table>
</div>
{% else %}
<p>There are currently no hosts with this configuration entry.</p>
{% endif %}
{% endblock %}
|