This file is indexed.

/usr/lib/python2.7/dist-packages/schooltool/lyceum/journal/browser/templates/f_attendance_ss_add.pt is in python-schooltool.lyceum.journal 2.6.4-0ubuntu2.

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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
<tal:block replace="resource_library:schooltool.gradebook.flourish" />
<div i18n:domain="schooltool.lyceum.journal">
  <form method="post"
        tal:attributes="action string:${context/@@absolute_url}/add_attendance.html">
    <input type="hidden" name="form-submitted" value="" />
    <div class="status"
         tal:condition="view/message">
      <div class="summary ui-state-error ui-corner-all">
        <span class="ui-icon ui-icon-alert">icon</span>
        <tal:block content="view/message" />
      </div>
    </div>
    <fieldset>
      <legend>
        <span i18n:translate="" i18n:domain="schooltool.gradebook">New Score System</span>
      </legend>
      <div class="row">
        <div class="label">
          <label for="title">
            <span i18n:translate="" i18n:domain="schooltool.gradebook">
              Title
            </span>
            <span class="required">*</span>
          </label>
        </div>
        <div class="widget">
          <input type="text" name="title" id="title"
                 tal:attributes="value request/title|nothing" />
        </div>
      </div>
    </fieldset>
    <table class="scoresystem-scores">
      <thead>
        <tr>
          <th i18n:translate="" i18n:domain="schooltool.gradebook">Value</th>
          <th i18n:translate="" i18n:domain="schooltool.gradebook">Description</th>
          <th i18n:translate="">Report as</th>
          <th i18n:translate="">Excused?</th>
          <th>&nbsp;</th>
        </tr>
      </thead>
      <tbody>
        <tal:block repeat="score view/scores">
          <tr>
            <td>
              <input type="text"
                     tal:attributes="name score/value_name;
                                     value score/value" />
            </td>
            <td>
              <input type="text"
                     tal:attributes="name score/title_name;
                                     value score/title_value" />
            </td>
            <td>
              <select tal:attributes="name score/absence_name">
                <option value="" i18n:translate=""
                        tal:attributes="selected score/present">
                  Present
                </option>
                <option value="a" i18n:translate=""
                        tal:attributes="selected score/absent">
                  Absent
                </option>
                <option value="t" i18n:translate=""
                        tal:attributes="selected score/tardy">
                  Tardy
                </option>
              </select>
            </td>
            <td>
              <input type="checkbox"
                     tal:attributes="name score/excused_name;
                                     checked score/excused" />
              <label tal:attributes="for score/excused_name" i18n:translate="">Excused</label>
            </td>
            <td class="buttons">
              <metal:block tal:condition="repeat/score/end">
                <input type="submit" class="button-ok" name="SAVE" value="Add"
                       i18n:attributes="value" i18n:domain="schooltool.gradebook" />
              </metal:block>
            </td>
          </tr>
        </tal:block>
      </tbody>
    </table>
    <div class="buttons">
      <input type="submit" class="button-ok" name="UPDATE_SUBMIT" value="Save"
             i18n:attributes="value" i18n:domain="schooltool.gradebook" />
      <input type="submit" class="button-cancel" name="CANCEL" value="Cancel"
             i18n:attributes="value" i18n:domain="schooltool.gradebook" />
    </div>
  </form>
</div>