This file is indexed.

/usr/lib/python2.7/dist-packages/maasserver/templates/registration/login.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
{% extends "maasserver/base.html" %}

{% block title %}Login{% endblock %}
{% block page-title %}Metal as a Service{% endblock %}
{% block layout-modifiers %}modal-content login {% if no_users %}no-users{% endif %}{% endblock %}

{% block head %}
  {% if not no_users %}
    <script type="text/javascript">
    <!--
    YUI().use('node', function (Y) {
      Y.on('load', function() {
        Y.one('input[type=text]').focus();
      });
    });
    // -->
    </script>
  {% endif %}
{% endblock %}

{% block content %}
  {% if no_users %}
      <img src="{{ STATIC_URL }}img/pictogram_no_users.png" alt="No users pictogram" class="left space-right-large" />
      <h2>No admin user has been created yet</h2>
      <p>
        Use the "createsuperuser" administration command to create one:
      </p>
      <pre>{{ create_command }} createsuperuser</pre>
      <a href="{% url 'login' %}" class="button right space-top-small">login</a>
  {% else %}
  <h2>Login to {% include "maasserver/site_title.html" %}</h2>
  {% if form.errors %}
    <p class="form-errors">Your username and password didn't match. Please try again.</p>
  {% endif %}

  <form method="post" action="{% url 'login' %}">{% csrf_token %}
    <input type="hidden" name="next" value="{{ next }}" />
    <ul>
        {% for field in form %}
            {% include "maasserver/form_field.html" %}
        {% endfor %}
      <li class="form-submit"><input type="submit" value="Login" /></li>
    </ul>
  </form>
  {% endif %}
{% endblock %}

{% block footer-copyright %}{% endblock %}