/usr/lib/python2.7/dist-packages/schooltool/gradebook/browser/templates/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 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 | <tal:tag condition="view/update" />
<html metal:use-macro="context/@@standard_macros/page"
i18n:domain="schooltool.gradebook">
<head>
<title metal:fill-slot="title" i18n:translate="">
Gradebook
</title>
<metal:block fill-slot="extrahead">
<script type="text/javascript" src="gradebook_overview.js">
</script>
</metal:block>
</head>
<body>
<div metal:fill-slot="body"
tal:define="activity view/activity">
<h3 i18n:translate="">
Grade <span tal:replace="view/activity/title" i18n:name="name" />
</h3>
<br />
<div class="message" style="color:red"
tal:repeat="message view/messages"
tal:content="message">
Message
</div>
<br />
<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">
<tr>
<th class="cell header">Name</th>
<th class="cell header">
<div tal:content="activity/title">
HW 1
</div>
<div tal:content="activity/max|nothing" />
</th>
</tr>
<tr>
<td class="cell padded fd_cell empty">Apply a grade for all students:</td>
<td class="cell padded fd_cell"
tal:attributes="id string:fd_${activity/hash}_cell">
<input type="text" size="4"
class="data fd"
tal:attributes="id string:fd_${activity/hash};
onkeyup string:checkFillDown('${activity/hash}')">
<input type="button"
style="display: none"
class="fdbtn"
value="Apply"
tal:attributes="id string:fdbtn_${activity/hash};
onclick string:performFillDown('${activity/hash}')">
</td>
</tr>
<tr tal:repeat="grade view/grades">
<tal:if condition="repeat/grade/even">
<td class="cell padded even">
<label for=""
tal:attributes="for grade/student/id"
tal:content="grade/student/title">
Tom Hoffman
</label>
</td>
<td class="cell even">
<input class="data" type="text" name="" value="" size="4"
tal:attributes="name grade/student/id;
id grade/student/id;
value grade/value" />
</td>
</tal:if>
<tal:if condition="repeat/grade/odd">
<td class="cell padded odd">
<label for=""
tal:attributes="for grade/student/id"
tal:content="grade/student/title">
Tom Hoffman
</label>
</td>
<td class="cell odd">
<input class="data" type="text" name="" value="" size="4"
tal:attributes="name grade/student/id;
id grade/student/id;
value grade/value" />
</td>
</tal:if>
</tr>
</table>
<div class="controls">
<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>
</body>
</html>
|