This file is indexed.

/usr/lib/python2.7/dist-packages/schooltool/gradebook/browser/templates/f_course_worksheets.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
 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
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
<div i18n:domain="schooltool.gradebook"
     tal:define="sheets view/sheets; terms view/terms; schoolyear view/schoolyear">
  <script type="text/javascript">
    $(document).ready(function() {
        $('#template').change(function(e) {
            index = e.target.selectedIndex
            $('#alternate_title').val(e.target.options[index].text);
        });
    });
  </script>
  <h3 i18n:translate="">Current Course Worksheets</h3>
  <table>
    <thead>
      <tr>
        <th i18n:translate="">Worksheet</th>
        <tal:block repeat="term schoolyear/values">
          <th tal:content="term/title" />
        </tal:block>
      </tr>
    </thead>
    <tr tal:repeat="sheet sheets">
      <td tal:content="sheet/obj/title" />
      <tal:block repeat="term sheet/terms">
        <td>
          <span tal:condition="term" class="ui-icon ui-icon-check"></span>
        </td>
      </tal:block>
    </tr>
    <tr tal:condition="not: sheets">
      <td tal:attributes="colspan python:len(schoolyear)+1" i18n:translate="">
        This year has no course worksheets.
      </td>
    </tr>
  </table>
  <h3 class="done-link" i18n:domain="schooltool">
    <a tal:attributes="href view/nextURL"
       i18n:translate="">Done</a>
  </h3>
  <form method="post" class="standalone"
        tal:attributes="action request/getURL">
    <div class="viewspace">
        <div class="status" tal:condition="view/has_error">
          <div class="summary ui-state-error ui-corner-all">
            <span class="ui-icon ui-icon-alert">icon</span>
            <span i18n:domain="schooltool" i18n:translate="">Please correct the marked fields below.</span>
          </div>
        </div>
      <fieldset>
        <legend>
          <span i18n:translate="">Select worksheet to add</span>
        </legend>
        <div class="row">
          <div class="label">
            <label for="term">
              <span i18n:translate="">Term or Year</span>
            </label>
          </div>
          <p class="hint" i18n:translate="">
            Add the worksheet to a specific term or the entire year.
          </p>
          <div class="widget">
            <select id="term" name="term" class="select-widget">
              <tal:block repeat="term terms">
                <option tal:attributes="value term/name; selected term/selected"
                        tal:content="term/title" />
              </tal:block>
            </select>
          </div>
        </div>
        <div class="row">
          <div class="label">
            <label for="template">
              <span i18n:translate="">Worksheet Template</span>
            </label>
          </div>
          <div class="error" tal:condition="view/no_template">
            <div class="error" i18n:translate="">Required input is missing.</div>
          </div>
          <div class="widget">
            <select id="template" name="template" class="select-widget">
              <tal:block repeat="template view/templates">
                <option tal:attributes="value template/name; selected template/selected"
                        tal:content="template/title" />
              </tal:block>
            </select>
          </div>
        </div>
        <div class="row">
          <div class="label">
            <label for="term">
              <span i18n:translate="">Title</span>
            </label>
          </div>
          <p class="hint" i18n:translate="">
            If you add the same template multiple times, give each version
            an easily distinguishable name.
          </p>
          <div class="error" tal:condition="view/no_title">
            <div class="error" i18n:translate="">Required input is missing.</div>
          </div>
          <div class="widget">
            <input type="text" name="alternate_title" id="alternate_title"
                   tal:attributes="value view/alternate_title" />
          </div>
        </div>
      </fieldset>
    </div>
    <div class="buttons controls">
      <input type="submit" class="button-ok" name="SUBMIT" value="Submit"
             i18n:attributes="value" />
      <tal:block metal:use-macro="view/@@standard_macros/cancel-button" />
    </div>
  </form>
</div>