This file is indexed.

/usr/lib/python2.7/dist-packages/schooltool/gradebook/browser/templates/add_edit_linked_column.pt is in python-schooltool.gradebook 2.6.3-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
<tal:define define="dummy view/update"/>
<html metal:use-macro="view/@@standard_macros/page"
      i18n:domain="schooltool.gradebook">
<head>
  <title metal:fill-slot="title" tal:content="view/viewTitle" />
</head>
<body>

<h1 metal:fill-slot="content-header" tal:content="view/viewTitle" />

<metal:block metal:fill-slot="body">
  <form method="post"
        tal:attributes="action view/actionURL">
    <input type="hidden" name="form-submitted" value="" />
    <label for="title" i18n:translate="">Title</label>
    <input type="text" name="title" id="title"
           tal:attributes="value view/title" />
    <label for="label" i18n:translate="">Label</label>
    <input type="text" name="label" id="label"
           tal:attributes="value view/label" />
    <label for="category" i18n:translate="">Category</label>
    <select id="category" name="category" id="category">
      <tal:block repeat="category view/getCategories">
        <option tal:attributes="value category/name;
				selected category/selected"
                tal:content="category/value" />
      </tal:block>
    </select>
    <br /><br />
    <table class="schooltool_gradebook">
      <tr>
        <th class="cell header fully_padded">Term</th>
        <th class="cell header fully_padded">Section</th>
        <th class="cell header fully_padded">Worksheet</th>
        <th class="cell header fully_padded">Activity</th>
      </tr>
      <tr tal:repeat="row view/getRows">
        <tal:if condition="repeat/row/odd">
          <td class="cell padded even" tal:content="row/term" />
          <td class="cell padded even" tal:content="row/section" />
          <td class="cell padded even" tal:content="row/worksheet" />
          <td class ="even" style="padding: .1em 0 .1em">
            <input type="submit"
                   style="background: #83A67F; height: 1.7em; font-weight: bold;
                          color: #FFFFFF"
                   tal:attributes="name row/activity_name;value row/activity_value" />
          </td>
        </tal:if>
        <tal:if condition="repeat/row/even">
          <td class="cell padded odd" tal:content="row/term" />
          <td class="cell padded odd" tal:content="row/section" />
          <td class="cell padded odd" tal:content="row/worksheet" />
          <td class ="odd" style="padding: .1em 0 .1em">
            <input type="submit"
                   style="background: #83A67F; height: 1.7em; font-weight: bold;
                          color: #FFFFFF"
                   tal:attributes="name row/activity_name;value row/activity_value" />
          </td>
        </tal:if>
    </tr>
    </table>
    <div class="controls">
      <tal:block metal:use-macro="view/@@standard_macros/cancel-button" />
    </div>
  </form>

</metal:block>
</body>
</html>