/usr/lib/python2.7/dist-packages/schooltool/requirement/browser/requirement.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 | <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="">
<span tal:replace="context/title" i18n:name="requirement" /> Contents
</title>
</head>
<body>
<h1 metal:fill-slot="content-header" i18n:translate="">
<span tal:replace="context/title" i18n:name="requirement" /> Sub Requirements
</h1>
<metal:block metal:fill-slot="body"
tal:define="batch view/batch">
<tal:block replace="structure view/batch/render" />
<form method="post" class="batch-search">
<input id="batch-search-box" type="text" name="SEARCH"
tal:attributes="value request/SEARCH|nothing"/>
<input type="submit" name="SEARCH_BUTTON" value="Find Now"
i18n:attributes="value"/>
<input type="submit" name="CLEAR_SEARCH" value="Clear"
i18n:attributes="value"/>
<input type="checkbox" name="RECURSIVE" value="0"
tal:attributes="value request/RECURSIVE|nothing"/>recursive?
</form>
<tal:if condition="batch" define="depth python:int(request.get('DEPTH', 3))">
<div class="count" i18n:translate="">
Showing
<span i18n:name="count" tal:content="python:len(batch)"/>
of
<span i18n:name="total" tal:content="python:len(batch.list)"/>
items
</div>
<form method="post">
<b>Depth:</b>
<input type="submit" name="DEPTH"
tal:condition="python:depth > 1"
tal:attributes="value python:depth-1" />
<b tal:content="python:depth">3</b>
<input type="submit" name="DEPTH"
tal:attributes="value python:depth+1" />
</form>
<tal:block replace="structure view/subthread" />
</tal:if>
</metal:block>
</body>
</html>
|