/usr/lib/python2.7/dist-packages/schooltool/gradebook/browser/templates/weight_categories.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 | <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="">
Weight Categories
</title>
</head>
<body>
<div metal:fill-slot="body">
<form method="post" class="standalone"
tal:attributes="action string:${context/@@absolute_url}/weights.html">
<h3 tal:content="view/title" />
<div style="height: 5px;"></div>
<div class="gradebook_margin_left1">
<p i18n:translate="">
This form allows you to change the weighting of categories when calculating average scores within a worksheet.
</p>
<p i18n:translate="">
Enter numeric values for each relevant category.
</p>
<p i18n:translate="">
For example, to weight exams as 60% of the grade, homework as 20% and quizzes as 20%, enter "60" next to "Exam", "20" next to "Homework" and "20" next to "Quiz".
</p>
</div>
<fieldset>
<legend><b i18n:translate="">Category Weights</b></legend>
<div class="message" style="color:red; padding:1em"
tal:condition="view/message"
tal:content="view/message">
Message
</div>
<br />
<table style="margin-left: 1em">
<tr tal:repeat="row view/rows">
<td>
<label tal:attributes="for row/category"
tal:content="row/category_value" />
</td>
<td>
<input type="text" tal:attributes="id row/category; name row/category;
value row/weight" />
</td>
</tr>
</table>
<div style="height: 11px;"></div>
<div class="controls">
<tal:block metal:use-macro="view/@@standard_macros/update-button" />
<tal:block metal:use-macro="view/@@standard_macros/cancel-button" />
</div>
</fieldset>
</form>
</div>
</body>
</html>
|