This file is indexed.

/usr/lib/python2.7/dist-packages/schooltool/requirement/browser/f_scoresystem_add.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
115
116
117
118
119
120
121
122
123
124
<tal:block replace="resource_library:schooltool.gradebook.flourish" />
<div i18n:domain="schooltool.gradebook">
  <form method="post"
        tal:attributes="action string:${context/@@absolute_url}/add.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="">New Score System</span></legend>
      <div class="row">
        <div class="label">
          <label for="title">
            <span i18n:translate="">
              Title
            </span>
            <span class="required">*</span>
          </label>
        </div>
        <div class="widget">
          <input type="text" name="title" id="title"
                 tal:attributes="value view/title_value" />
        </div>
      </div>
    </fieldset>
    <table class="scoresystem-scores">
      <thead>
        <tr>
          <th i18n:translate="">Score</th>
          <th i18n:translate="">Abbreviation</th>
          <th i18n:translate="">Point Value</th>
          <th i18n:translate="">Low Percentage</th>
          <th>&nbsp;</th>
        </tr>
      </thead>
      <tbody>
        <tal:block repeat="score view/scores">
          <tr>
            <td>
              <input type="text"
                     tal:attributes="name score/displayed_name;
                                     value score/displayed_value" />
            </td>
            <td>
              <input type="text"
                     tal:attributes="name score/abbr_name;
                                     value score/abbr_value" />
            </td>
            <td>
              <input type="text"
                     tal:attributes="name score/value_name;
                                     value score/value_value" />
            </td>
            <td>
              <input type="text"
                     tal:attributes="name score/percent_name;
                                     value score/percent_value" />
            </td>
            <td class="buttons">
              <metal:block tal:condition="repeat/score/end">
                <input type="submit" class="button-ok" name="SAVE" value="Add"
                       i18n:attributes="value" />
              </metal:block>
            </td>
          </tr>
        </tal:block>
      </tbody>
    </table>
    <fieldset>
      <legend>
        <span i18n:translate="">Passing Score</span>
      </legend>
      <div class="row">
        <div class="label">
          <label for="minMax">
            <span i18n:translate="">Type</span>
          </label>
        </div>
        <p class="hint" i18n:translate="">
          If the values in the score system descend, e.g., 1 is the
          best score, set this to 'Maximum'. Otherwise leave it as the
          'Minimum' passing score.
        </p>
        <div class="widget">
          <select name="minMax" id="minMax" class="select-widget">
            <tal:block repeat="minMax view/getMinMax">
              <option
                  tal:attributes="value minMax/form_id;
                                  selected minMax/selected"
                  tal:content="minMax/title" />
            </tal:block>
          </select>
        </div>
      </div>
      <div class="row">
        <div class="label">
          <label for="minScore">
            <span i18n:translate="">Passing Score</span>
          </label>
        </div>
        <div class="widget">
          <select name="minScore" id="minScore" class="select-widget">
            <tal:block repeat="minScore view/getMinScores">
              <option
                  tal:attributes="value minScore/form_id;
                                  selected minScore/selected"
                  tal:content="minScore/title" />
            </tal:block>
          </select>
        </div>
      </div>
    </fieldset>
    <div class="buttons">
      <input type="submit" class="button-ok" name="UPDATE_SUBMIT" value="Save"
             i18n:attributes="value" />
      <input type="submit" class="button-cancel" name="CANCEL" value="Cancel"
             i18n:attributes="value" />
    </div>
  </form>
</div>