/usr/lib/python2.7/dist-packages/schooltool/gradebook/browser/templates/f_gradebook_grade_activity.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 | <div tal:define="activity view/activity" i18n:domain="schooltool.gradebook">
<div class="gradebook-message"
tal:repeat="message view/messages"
tal:content="message">
Message
</div>
<form tal:attributes="action request/URL"
method="post" enctype="multipart/form-data">
<input type="hidden" name="activity" value=""
tal:attributes="value request/activity" />
<table class="schooltool_gradebook">
<thead>
<tr>
<th tal:repeat="column view/name_sorting_columns"
tal:attributes="title column/title"
tal:content="column/title" />
<th>
<div tal:content="activity/title">
HW 1
</div>
<div tal:content="activity/max|nothing" />
</th>
</tr>
</thead>
<tbody>
<tr tal:repeat="grade view/grades">
<tal:loop repeat="column view/name_sorting_columns">
<td>
<label tal:attributes="for grade/student/id"
tal:content="python:grade['student'][column.name]" />
</td>
</tal:loop>
<td>
<input type="text" name="" value="" size="4"
tal:attributes="name grade/student/id;
id grade/student/id;
value grade/value" />
</td>
</tr>
</tbody>
</table>
<div class="buttons">
<input type="submit" class="button-ok" name="UPDATE_SUBMIT" value="Save"
i18n:attributes="value" />
<tal:block metal:use-macro="view/@@standard_macros/cancel-button" />
</div>
</form>
</div>
|