/usr/lib/python2.7/dist-packages/schooltool/requirement/browser/scoresystem_add.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 | <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="">Add Score System</title>
</head>
<body>
<metal:block metal:fill-slot="body">
<form method="post" class="standalone" style="width: 48em"
tal:attributes="action string:${context/@@absolute_url}/add.html">
<input type="hidden" name="form-submitted" value="" />
<h3 i18n:translate="">Add Score System</h3>
<div class="message" style="color:red; padding:1em"
tal:condition="view/message"
tal:content="view/message">
Message
</div>
<p i18n:translate="">
This form allows you to create a customized "score system" or grading scale.
</p>
<p i18n:translate="">
Each score system needs a short title to identify it to users, for example, if your school's grades go from "A" to "E," the title could be "A-E."
</p>
<p i18n:translate="">
A score system is made up of a sequence of possible scores with decreasing values.
</p>
<p i18n:translate="">
Each score is associated with a numeric point value. For example, in the US, an "A" is usually worth 4 points, a "B," 3 points, etc. This value will be used in any calculations made with the scores, such as finding a grade point average.
</p>
<p i18n:translate="">
Each score is also associated with a minimum percentage necessary to achieve the corresponding grade. For example, 95% and above is an "A," 87% and up is a "B," etc.
</p>
<p i18n:translate="">
Enter an abbreviation for a score only if the score has more than four characters and you wish to create an alternative abbreviation for the gradebook.
</p>
<p i18n:translate="">
Start with the highest score. Click "Add a lower score" to add scores until you have created a score with a minimum percentage of 0.
</p>
<fieldset>
<legend><b i18n:translate="">New Score System</b></legend>
<label for="title" class="bold padded" i18n:translate="">Title</label>
<input type="text" name="title" id="title"
tal:attributes="value view/title_value" />
<div style="height: 31px;"></div>
<table class="schooltool_gradebook">
<tr>
<th class="cell header fully_padded" i18n:translate="">Score</th>
<th class="cell header fully_padded" i18n:translate="">Abbreviation</th>
<th class="cell header fully_padded" i18n:translate="">Point Value</th>
<th class="cell header fully_padded" i18n:translate="">Low Percentage</th>
</tr>
<tal:block repeat="score view/scores">
<tr class="bordered">
<td class="cell fully_padded">
<input type="text" class="scoresystem_add_input"
tal:attributes="name score/displayed_name; value score/displayed_value" />
</td>
<td class="cell fully_padded">
<input type="text" class="scoresystem_add_input"
tal:attributes="name score/abbr_name; value score/abbr_value" />
</td>
<td class="cell fully_padded">
<input type="text" class="scoresystem_add_input"
tal:attributes="name score/value_name; value score/value_value" />
</td>
<td class="cell fully_padded">
<input type="text" class="scoresystem_add_input"
tal:attributes="name score/percent_name; value score/percent_value" />
</td>
</tr>
</tal:block>
</table>
<div class="controls">
<input type="submit" class="button-ok" name="SAVE" value="Add a lower score" i18n:attributes="value" />
</div>
<p class="passing-score-description" i18n:translate="">
If the values in the score system descend, e.g., 1 is the best
score, set the value below to say 'Maximum' passing score.
Otherwise leave it a 'Minimum' passing score.
</p>
<div class="controls">
<select name="minMax">
<tal:block repeat="minMax view/getMinMax">
<option
tal:attributes="value minMax/form_id;
selected minMax/selected"
tal:content="minMax/title" />
</tal:block>
</select>
<span i18n:translate="">passing score:</span>
<select name="minScore">
<tal:block repeat="minScore view/getMinScores">
<option
tal:attributes="value minScore/form_id;
selected minScore/selected"
tal:content="minScore/title" />
</tal:block>
</select>
</div>
</fieldset>
<div class="controls">
<input type="submit" class="button-ok" name="UPDATE_SUBMIT" value="Save" i18n:attributes="value" />
<input type="submit" class="button-cancel" name="CANCEL" value="Cancel" i18n:attributes="value" />
</div>
</form>
</metal:block>
</body>
</html>
|