This file is indexed.

/usr/share/pyshared/maasserver/templates/maasserver/nodegroup_edit.html is in python-django-maas 1.2+bzr1373+dfsg-0ubuntu1~12.04.6.

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
{% extends "maasserver/base.html" %}

{% block nav-active-settings %}active{% endblock %}
{% block title %}Edit Cluster Controller{% endblock %}
{% block page-title %}Edit Cluster Controller{% endblock %}

{% block content %}
<div class="block size10 first">
    <form action="." method="post" class="block">
      {% csrf_token %}
      <ul>
      {% for field in form %}
        {% include "maasserver/form_field.html" %}
      {% endfor %}
      </ul>
      <input type="submit" value="Save cluster controller"
             class="button right" />
      <a class="link-button" href="{% url 'settings' %}">Cancel</a>
      <h2>Interfaces</h2>
      {% with nb_interfaces=cluster.nodegroupinterface_set.count %}
      This cluster controller has {{ nb_interfaces }}
      interface{{ nb_interfaces|pluralize }}.
      {% endwith %}
      <table class="list">
        <thead>
          <tr>
            <th>Interface</th>
            <th>Network</th>
            <th>Status</th>
            <th></th>
          </tr>
        </thead>
        <tbody>
      {% for interface in interfaces %}
        <tr class="interface {% cycle 'even' 'odd' %}"
            id="{{ interface.interface }}">
          <td>{{ interface.interface }}</td>
          <td>{{ interface.network|default_if_none:"Not configured" }}</td>
          <td>{{ interface.display_management }}</td>
          <td>
            <a href="{% url 'cluster-interface-edit' uuid=cluster.uuid interface=interface.interface %}"
               class="icon"
               title="Edit interface {{ interface.interface }}">
              <img src="{{ STATIC_URL }}img/edit.png"
                   alt="edit"
                   class="space-right-small" />
            </a>
            <a title="Delete interface {{ interface.interface }}"
               href="{% url 'cluster-interface-delete' cluster.uuid interface.interface %}">
               <img src="{{ STATIC_URL }}img/delete.png" alt="delete" />
            </a>
          </td>
        </tr>
        {% endfor %}
        </tbody>
      </table>
      <a class="button right"
         href="{% url 'cluster-interface-create' cluster.uuid %}">Add interface</a>
    </form>
  </div>
  <div class="clear"></div>
</div>
{% endblock %}