/usr/lib/python2.7/dist-packages/maasserver/templates/metadataserver/nodecommissionresult_list.html is in python-django-maas 1.5.4+bzr2294-0ubuntu1.2.
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 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 | {% extends "maasserver/base.html" %}
{% block nav-active-result-list %}active{% endblock %}
{% block title %}Node commissioning results{% endblock %}
{% block page-title %}
{{ paginator.count }} result{{ paginator.count|pluralize }}
in {% include "maasserver/site_title.html" %}
{% endblock %}
{% block html_includes %}{% include "maasserver/snippets.html" %}
{% endblock %}
{% block content %}
<div id="results">
<h2 id="results_header">
Commissioning results
{% if nodes_filter %}
for {{ nodes_filter }}
{% endif %}
</h2>
{% if paginator.count == 0 %}
<p>No matching commissioning results.</p>
{% else %}
<table class="list">
<thead>
<tr>
<th>Script result</th>
<th>Output file</th>
<th>Registered at</th>
<th>Node</th>
</tr>
</thead>
<tbody>
{% for result_item in results_list %}
<tr class="result {% cycle 'even' 'odd' %}">
<!-- Script result -->
<td>
<a href="{% url 'nodecommissionresult-view' result_item.id %}">
{% if result_item.script_result == 0 %}
<span>OK</span>
{% else %}
<span class="warning">
<img src="{{ STATIC_URL }}img/warning.png" title="Failed" />
FAILED
</span>
{% endif %}
</a>
</td>
<!-- Output file -->
<td>
{{ result_item.name }}
</td>
<!-- Registered at -->
<td>
{{ result_item.created }}
</td>
<!-- Node -->
<td>
<a href="{% url 'node-view' result_item.node.system_id %}">
{{ result_item.node.hostname }}
</a>
</td>
</tr>
{% endfor %}
</tbody>
</table>
{% endif %}
<div class="clear"></div>
</div>
{% endblock %}
|