/usr/lib/python2.7/dist-packages/schooltool/gradebook/browser/templates/f_add_edit_linked_column.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 | <tal:block replace="resource_library:schooltool.gradebook.flourish" />
<div i18n:domain="schooltool.gradebook">
<form method="post" id="form" class="standalone"
tal:attributes="action view/actionURL">
<input type="hidden" name="form-submitted" value="" />
<div class="viewspace">
<fieldset>
<legend>
<span i18n:translate="">Enter Details and Select Column</span>
</legend>
<div class="row">
<div class="label">
<label for="title">
<span i18n:translate="">Title</span>
</label>
</div>
<div class="widget">
<input type="text" name="title" id="title"
tal:attributes="value view/object_title" />
</div>
</div>
<div class="row">
<div class="label">
<label for="label">
<span i18n:translate="">Label</span>
</label>
</div>
<div class="widget">
<input type="text" name="label" id="label"
tal:attributes="value view/object_label" />
</div>
</div>
<div class="row">
<div class="label">
<label for="category">
<span i18n:translate="">Category</span>
</label>
</div>
<div class="widget">
<select id="category" name="category" class="select-widget">
<tal:block repeat="category view/getCategories">
<option tal:attributes="value category/name;
selected category/selected"
tal:content="category/value" />
</tal:block>
</select>
</div>
</div>
<table class="linked-column-sources">
<thead>
<tr>
<th i18n:translate="">Term</th>
<th i18n:translate="">Section</th>
<th i18n:translate="">Worksheet</th>
<th i18n:translate="">Activity</th>
</tr>
</thead>
<tbody>
<tr tal:repeat="row view/getRows">
<tal:if condition="repeat/row/odd">
<td tal:content="row/term" />
<td tal:content="row/section" />
<td tal:content="row/worksheet" />
<td class="buttons">
<input type="submit" class="button-ok"
tal:attributes="name row/activity_name;value row/activity_value" />
</td>
</tal:if>
<tal:if condition="repeat/row/even">
<td tal:content="row/term" />
<td tal:content="row/section" />
<td tal:content="row/worksheet" />
<td class="buttons">
<input type="submit" class="button-ok"
tal:attributes="name row/activity_name;value row/activity_value" />
</td>
</tal:if>
</tr>
</tbody>
</table>
</fieldset>
<div class="buttons">
<tal:block metal:use-macro="view/@@standard_macros/cancel-button" />
</div>
</div>
</form>
</div>
|