/usr/lib/python2.7/dist-packages/schooltool/gradebook/browser/templates/activities_overview.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 | <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="">Worksheets</title>
</head>
<body>
<h1 metal:fill-slot="content-header"
i18n:translate="">Worksheets</h1>
<metal:block metal:fill-slot="body"
tal:define="worksheets view/worksheets">
<form method="post"
tal:attributes="action string:${context/@@absolute_url}">
<input type="hidden" name="form-submitted" value="" />
<table>
<tr tal:repeat="worksheet worksheets">
<td>
<select name=""
onchange="this.form.submit()"
tal:attributes="name string:pos.${worksheet/name}">
<tal:block repeat="num view/positions">
<option value="1"
tal:condition="python:num != worksheet['pos']"
tal:attributes="value num"
tal:content="num" />
<option value="1" selected="selected"
tal:condition="python:num == worksheet['pos']"
tal:attributes="value num"
tal:content="num" />
</tal:block>
</select>
</td>
<td>
<input type="checkbox" name="hide:list"
tal:condition="not: worksheet/deployed"
tal:attributes="value worksheet/name" />
</td>
<td>
<a tal:content="worksheet/title"
tal:attributes="href worksheet/url">Worksheet</a>
</td>
</tr>
</table>
<div class="controls" tal:condition="view/canModify">
<tal:block tal:condition="python: len(list(context.values())) > 0">
<input type="submit" class="button-ok" name="HIDE" value="Hide"
i18n:attributes="value" />
</tal:block>
</div>
</form>
</metal:block>
</body>
</html>
|