/usr/lib/python2.7/dist-packages/Bcfg2/Reporting/templates/clients/manage.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 | {% extends "base.html" %}
{% load url from bcfg2_compat %}
{% block extra_header_info %}
{% endblock%}
{% block title %}Bcfg2 - Manage Clients{% endblock %}
{% block pagebanner %}Clients - Manage{% endblock %}
{% block content %}
<div class='client_list_box'>
{% if message %}
<div class="warningbox">{{ message }}</div>
{% endif %}
{% if clients %}
<table cellpadding="3">
<tr id='table_list_header' class='listview'>
<td class='left_column'>Node</td>
<td class='right_column'>Expiration</td>
<td class='right_column_narrow'>Manage</td>
</tr>
{% for client in clients %}
<tr class='{% cycle listview,listview_alt %}'>
<td><span id="{{ client.name }}"> </span>
<span id="ttag-{{ client.name }}"> </span>
<span id="s-ttag-{{ client.name }}"> </span>
<a href='{% url "reports_client_detail" client.name %}'>{{ client.name }}</a></td>
<td>{% firstof client.expiration 'Active' %}</td>
<td>
<form method="post" action='{% url "reports_client_manage" %}'>
<div> {# here for no reason other then to validate #}
<input type="hidden" name="client_name" value="{{ client.name }}" />
<input type="hidden" name="client_action" value="{% if client.expiration %}unexpire{% else %}expire{% endif %}" />
<input type="submit" value="{% if client.expiration %}Activate{% else %}Expire Now{% endif %}" />
</div>
</form>
</td>
</tr>
{% endfor %}
</table>
{% else %}
<p>No client records are available.</p>
{% endif %}
</div>
{% endblock %}
|