This file is indexed.

/usr/share/maas/web/static/js/tests/test_node_add.html is in maas-region-controller-min 1.5+bzr2252-0ubuntu1.

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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
    <title>Test maas.node_add</title>

    <!-- YUI and test setup -->
    <script type="text/javascript" src="../testing/yui_test_conf.js"></script>
    <script type="text/javascript" src="/usr/share/javascript/yui3/yui/yui.js"></script>
    <script type="text/javascript" src="../testing/testrunner.js"></script>
    <script type="text/javascript" src="../testing/testing.js"></script>
    <script type="text/javascript" src="../morph.js"></script>
    <script type="text/javascript" src="../power_parameters.js"></script>
    <script type="text/javascript" src="../enums.js"></script>
    <!-- The module under test -->
    <script type="text/javascript" src="../node_add.js"></script>
    <!-- The test suite -->
    <script type="text/javascript" src="test_node_add.js"></script>
    <script type="text/javascript">
    <!--
    var MAAS_config = {
      uris: {
        login: '/login/',
        statics: '/static/',
        nodes_handler: '/api/nodes/'
      }
    };
    // -->
    </script>
  </head>
  <body>
  <script type="text/x-template" id="power-param-form-">
  </script>
  <script type="text/x-template" id="power-param-form-value1">
  </script>
  <script type="text/x-template" id="add-macaddress">
    <p></p>
  </script>
  <script type="text/x-template" id="add-node">
    <p>
      <label for="id_hostname">Hostname
        <span class="form-optional">(optional)</span>
      </label>
      <input type="text" maxlength="30" name="hostname" id="id_hostname" />
    </p>
    <p>
      <label for="id_architecture">Architecture</label>
      <select id="id_architecture" name="architecture">
        <option value="amd64">amd64</option>
        <option value="i386">i386</option>
      </select>
      <input type="text" maxlength="30" name="hostname" id="id_hostname" />
    </p>
  </script>
  <script type="text/x-template" id="add-node-admin">
    <p>
      <label for="id_power_type">Power type</label>
      <select name="power_type" id="id_power_type">
        <option value="" selected="selected">---------</option>
        <option value="value1">value1</option>
      </select>
    </p>
    <p class="power_parameters">
      <label for="id_power_parameters">Power parameters</label>
    </p>
  </script>
  <div id="target_node"></div>
  <span id="suite">maas.node_add.tests</span>
  </body>
</html>