/usr/lib/python2.7/dist-packages/schooltool/gradebook/browser/templates/f_deploy_as_course_worksheet.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 | <div i18n:domain="schooltool.gradebook"
tal:define="terms view/terms; courses view/courses">
<form method="post" class="standalone"
tal:attributes="action request/getURL">
<div class="viewspace">
<div class="status" tal:condition="view/has_error">
<div class="summary ui-state-error ui-corner-all">
<span class="ui-icon ui-icon-alert">icon</span>
<span i18n:domain="schooltool" i18n:translate="">Please correct the marked fields below.</span>
</div>
</div>
<fieldset>
<legend>
<span i18n:translate="">Course Worksheet Details</span>
</legend>
<div class="row">
<div class="label">
<label for="term">
<span i18n:translate="">Term or Year</span>
</label>
</div>
<p class="hint" i18n:translate="">
Add the worksheet to a specific term or the entire year.
</p>
<div class="widget">
<select id="term" name="term" class="select-widget">
<tal:block repeat="term terms">
<option tal:attributes="value term/name; selected term/selected"
tal:content="term/title" />
</tal:block>
</select>
</div>
</div>
<div class="row" tal:condition="python: len(courses) > 1">
<div class="label">
<label>
<span i18n:translate="">Courses</span>
</label>
</div>
<div class="error" tal:condition="view/no_course">
<div class="error" i18n:translate="">Required input is missing.</div>
</div>
<div class="widget">
<div class="option"
tal:repeat="course courses">
<input type="checkbox" name="courses:list"
tal:attributes="id course/name;
value course/name;
checked course/checked;" />
<label tal:attributes="for course/name">
<span class="label" tal:content="course/title" />
</label>
</div>
</div>
</div>
<div class="row">
<div class="label">
<label for="term">
<span i18n:translate="">Title</span>
</label>
</div>
<p class="hint" i18n:translate="">
If you add the same worksheet multiple times, give each version
an easily distinguishable name.
</p>
<div class="error" tal:condition="view/no_title">
<div class="error" i18n:translate="">Required input is missing.</div>
</div>
<div class="widget">
<input type="text" name="alternate_title" id="alternate_title"
tal:attributes="value view/alternate_title" />
</div>
</div>
</fieldset>
</div>
<div class="buttons controls">
<input type="submit" class="button-ok" name="SUBMIT" value="Submit"
i18n:attributes="value" />
<tal:block metal:use-macro="view/@@standard_macros/cancel-button" />
</div>
</form>
</div>
|