/usr/lib/python2.7/dist-packages/schooltool/gradebook/browser/templates/f_gradebook_overview.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 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 | <tal:block i18n:domain="schooltool.gradebook">
<tal:block replace="resource_library:schooltool.gradebook.flourish" />
<tal:block condition="view/all_hidden">
<p i18n:translate="">
This section contains only worksheets that are hidden.
</p>
<p i18n:translate="">You can <a href="../.." i18n:name="unhide_worksheets" i18n:translate="">Unhide Worksheets</a>,
or <a href="../../addWorksheet.html" i18n:name="add_worksheet" i18n:translate="">Add a Worksheet</a>.
</p>
</tal:block>
<div tal:condition="not: view/all_hidden">
<form method="post" id="grid-form" class="grid-form"
tal:define="table view/table;
activities view/activities"
tal:attributes="action string:${context/@@absolute_url}">
<div id="gradebook" class="gradebook">
<div id="students-part" class="students gradebook-part">
<table>
<thead>
<tr>
<th rowspan="2" class="name"
tal:repeat="column view/name_sorting_columns"
tal:attributes="id column/name">
<a class="popup_link" href=""
tal:attributes="title column/title"
tal:content="column/title" />
</th>
<th tal:content="view/labels_row_header" />
</tr>
<tr>
<th tal:content="view/scores_row_header" />
</tr>
</thead>
<tbody>
<tr tal:repeat="row table">
<tal:loop repeat="column view/name_sorting_columns">
<td tal:attributes="id row/student/id;
colspan python:2 if repeat['column'].end() else 1">
<a class="popup_link"
href=""
tal:attributes="title row/student/title"
tal:content="python:row['student'][column.name]" />
</td>
</tal:loop>
</tr>
</tbody>
</table>
</div>
<div id="grades-part" class="grades gradebook-part">
<table>
<thead>
<tr>
<tal:loop repeat="activity activities">
<th tal:attributes="id activity/hash;
class activity/cssClass;
data-scores activity/scores;">
<a class="popup_link"
href=""
tal:attributes="title activity/longTitle;
href string:gradeActivity.html?activity=${activity/hash};"
tal:content="activity/shortTitle" />
<span class="activity-description"
tal:define="description activity/object/description|nothing"
tal:condition="description"
tal:content="description">description</span>
</th>
</tal:loop>
<th class="placeholder" rowspan="2"> </th>
</tr>
<tr>
<th tal:repeat="activity activities"
tal:content="activity/max" />
</tr>
</thead>
<tbody>
<tr tal:repeat="row table">
<tal:block repeat="grade row/grades">
<td tal:condition="grade/is_comment" class="comment-cell"
tal:content="grade/value"
tal:attributes="hidden_value grade/hidden_value" />
<td tal:condition="not: grade/is_comment"
tal:content="grade/value" />
</tal:block>
<td class="placeholder"> </td>
</tr>
</tbody>
</table>
</div>
<div id="totals-part" class="totals gradebook-part">
<table>
<thead>
<tr>
<th id="column_absences"
tal:condition="not: view/absences_hide">
<a class="popup_link" href="" i18n:translate="">Abs.</a>
</th>
<th id="column_tardies"
tal:condition="not: view/tardies_hide">
<a class="popup_link" href="" i18n:translate="">Trd.</a>
</th>
<th id="column_total"
tal:condition="not: view/total_hide">
<a class="popup_link" href="" i18n:translate="">Total</a>
</th>
<th id="column_average"
tal:condition="not: view/average_hide">
<a class="popup_link" href="" i18n:translate="">Ave.</a>
</th>
</tr>
</thead>
<tbody>
<tr tal:repeat="row table">
<td tal:condition="not: view/absences_hide"
tal:content="row/absences|nothing" />
<td tal:condition="not: view/tardies_hide"
tal:content="row/tardies|nothing" />
<td tal:condition="not: view/total_hide"
tal:content="row/total|nothing" />
<td tal:condition="not: view/average_hide"
tal:content="row/average|nothing" />
</tr>
</tbody>
</table>
</div>
</div>
<div class="gradebook-controls" id="gradebook-controls">
<div class="buttons">
<input type="submit" class="button-ok" name="UPDATE_SUBMIT" value="Save"
title="Shortcut: Alt-S" accesskey="S"
tal:condition="not:view/readonly"
i18n:attributes="value; title; accesskey" />
<input type="submit" class="button-ok" name="CANCEL" value="Done"
tal:condition="view/readonly"
i18n:attributes="value" i18n:domain="schooltool"/>
</div>
<div class="buttons zoom-buttons">
<button type="button" class="button-neutral zoom-button expand"
title="Expand" i18n:attributes="title">
<span class="ui-icon ui-icon-arrowthick-1-w"></span>
</button>
<button type="button" class="button-neutral zoom-button collapse"
title="Collapse" i18n:attributes="title">
<span class="ui-icon ui-icon-arrowthick-1-e"></span>
</button>
<button type="button" class="button-neutral zoom-button zoom-out"
title="Zoom Out" i18n:attributes="title">
<span class="ui-icon ui-icon-zoomout"></span>
</button>
<button type="button" class="button-neutral zoom-button zoom-normal"
title="Zoom Normal" i18n:attributes="title">
<span class="ui-icon ui-icon-search"></span>
</button>
<button type="button" class="button-neutral zoom-button zoom-in"
title="Zoom In" i18n:attributes="title">
<span class="ui-icon ui-icon-zoomin"></span>
</button>
</div>
</div>
</form>
</div>
<script>ST.state.push()</script>
<tal:script tal:replace="structure scriptlocal:
readonly view/readonly;
needs_comments view/needs_comments;" />
<script>ST.gradebook.readonly = ST.local.readonly;</script>
<script>ST.gradebook.needs_comments = ST.local.needs_comments;</script>
<script>ST.state.pop()</script>
</tal:block>
|