This file is indexed.

/usr/lib/python2.7/dist-packages/schooltool/gradebook/browser/templates/gradebook_column_preferences.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
<tal:define define="dummy view/update"/>
<html metal:use-macro="view/@@standard_macros/page" i18n:domain="schooltool.gradebook">
<head>
  <title metal:fill-slot="title" i18n:translate="">Set Column Preferences</title>
</head>
<body>

<metal:block metal:fill-slot="body">
  <form method="post" class="standalone" style="width: 48em"
        tal:attributes="action string:${context/@@absolute_url}/column_preferences.html">
    <input type="hidden" name="form-submitted" value="" />

    <h3 i18n:translate="">Set Column Preferences</h3>

    <fieldset>
      <legend><b i18n:translate="">Preferences</b></legend>
      <table class="schooltool_gradebook gradebook_margin_left1">
        <tr>
          <th class="cell header fully_padded" i18n:translate="">Column Type</th>
          <th class="cell header fully_padded" i18n:translate="">Hide?</th>
          <th class="cell header fully_padded" i18n:translate="">Label</th>
          <th class="cell header fully_padded" i18n:translate="">Score System</th>
        </tr>

        <tal:block repeat="column view/columns">
          <tr class="bordered">
            <td class="cell fully_padded">
              <div tal:content="column/name" />
            </td>
            <td class="cell fully_padded">
              <input type="checkbox"
                     tal:attributes="name column/hide_name; checked column/hide_value" />
            </td>
            <td class="cell fully_padded">
              <input type="text"
                     tal:attributes="name column/label_name; value column/label_value" />
            </td>
            <td class="cell fully_padded">
              <tal:block condition="column/has_scoresystem">
                <select tal:attributes="id column/scoresystem_name; name column/scoresystem_name">
                  <tal:block repeat="scoresystem view/scoresystems">
                    <option tal:condition="python: scoresystem['value'] == column['scoresystem_value']"
                            selected
                            tal:attributes="value scoresystem/value"
                            tal:content="scoresystem/name" />
                    <option tal:condition="python: scoresystem['value'] != column['scoresystem_value']"
                            tal:attributes="value scoresystem/value"
                            tal:content="scoresystem/name" />
                  </tal:block>
                </select>
              </tal:block>
            </td>
          </tr>
        </tal:block>

      </table>
      <div style="height: 15px;"></div>

      <div class="gradebook_margin_left1">
        <input type="checkbox" name='hide_due_date'
               tal:attributes="checked view/hide_due_date_value" />
        <span i18n:translate="">Hide 'show only activities due in past _ weeks'</span>
      </div>

      <div style="height: 11px;"></div>

      <div class="controls">
        <input type="submit" class="button-ok" name="UPDATE_SUBMIT" value="Update" i18n:attributes="value" />
        <input type="submit" class="button-cancel" name="CANCEL" value="Cancel" i18n:attributes="value" />
      </div>
    </fieldset>

    <fieldset>
      <legend><b i18n:translate="">Summary</b></legend>
      <div class="gradebook_margin_left">
        <p i18n:translate="">
          You can add a summary worksheet to each of your gradebooks that automatically includes a column for the average of all existing worksheets.
        </p>
        <p i18n:translate="">
          For example, if you have three worksheets in a section, "A," "B," and "C," and click "Create Summary Worksheets," an additional sheet, entitled "Summary" will be created, which includes the average scores from "A," "B" and "C" in the first three columns.
        </p>
      </div>
      <div class="gradebook_margin_left1" tal:condition="view/summaryFound">
        <div style="height: 11px;"></div>
        <input type="checkbox" name="overwrite">
        <span i18n:translate="">Overwrite existing worksheets titled "Summary".</span>
      </div>

      <div style="height: 11px;"></div>

      <div class="controls">
        <input type="submit" class="button-ok" name="ADD_SUMMARY" value="Create Summary Worksheets"
               i18n:attributes="value" />
      </div>
    </fieldset>

  </form>

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