/usr/lib/python2.7/dist-packages/Bcfg2/Reporting/templates/clients/detailed-list.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 36 37 38 39 40 41 42 43 44 45 46 47 48 49 | {% extends "base-timeview.html" %}
{% load bcfg2_tags %}
{% load url from bcfg2_compat %}
{% block title %}Bcfg2 - Detailed Client Listing{% endblock %}
{% block pagebanner %}Clients - Detailed View{% endblock %}
{% block content %}
{% filter_navigator %}
<div class='client_list_box'>
{% if entry_list %}
<table cellpadding="3">
<tr id='table_list_header' class='listview'>
<td class='left_column'>{% sort_link 'client' 'Node' %}</td>
<td class='right_column' style='width:75px'>{% sort_link 'state' 'State' %}</td>
<td class='right_column_narrow'>{% sort_link '-good' 'Good' %}</td>
<td class='right_column_narrow'>{% sort_link '-bad' 'Bad' %}</td>
<td class='right_column_narrow'>{% sort_link '-modified' 'Modified' %}</td>
<td class='right_column_narrow'>{% sort_link '-extra' 'Extra' %}</td>
<td class='right_column'>{% sort_link 'timestamp' 'Last Run' %}</td>
<td class='right_column_wide'>{% sort_link 'server' 'Server' %}</td>
</tr>
{% for entry in entry_list %}
<tr class='{% cycle listview,listview_alt %}'>
<td class='left_column'><a href='{% url "reports_client_detail_pk" hostname=entry.client.name pk=entry.id %}'>{{ entry.client.name }}</a></td>
<td class='right_column' style='width:75px'><a href='{% add_url_filter state=entry.state %}'
class='{{entry|determine_client_state}}'>{{ entry.state }}</a></td>
<td class='right_column_narrow'>{{ entry.good_count }}</td>
<td class='right_column_narrow'>{{ entry.bad_count }}</td>
<td class='right_column_narrow'>{{ entry.modified_count }}</td>
<td class='right_column_narrow'>{{ entry.extra_count }}</td>
<td class='right_column'><span {% if entry.isstale %}class='dirty-lineitem'{% endif %} style="white-space: nowrap;">
{{ entry.timestamp|date:"SHORT_DATETIME_FORMAT"|safe }}
</span></td>
<td class='right_column_wide'>
{% if entry.server %}
<a href='{% add_url_filter server=entry.server %}'>{{ entry.server }}</a>
{% else %}
{% endif %}
</td>
</tr>
{% endfor %}
</table>
{% else %}
<p>No client records are available.</p>
{% endif %}
</div>
{% endblock %}
|