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
|
<html metal:use-macro="view/@@standard_macros/page" i18n:domain="schooltool.lyceum.journal">
<head>
<title metal:fill-slot="title"
i18n:translate="">
<tal:block i18n:name="section" tal:replace="view/context/section/label" />
journal for <tal:block i18n:name="month" tal:replace="python: view.monthTitle(view.active_month)" /> <tal:block i18n:name="year" tal:replace="view/active_year" /></title>
<title i18n:translate=""
><span i18n:name="section" tal:replace="view/context/section/label"/> journal</title>
</head>
<tal:block metal:fill-slot="extrahead">
<!--[if !IE]>-->
<link type="text/css" rel="stylesheet" href="journal_non_ie.css"
tal:attributes="href context/++resource++journal_non_ie.css" />
<!--<![endif]-->
<script tal:content="string: var here = '${context/@@absolute_url}/';"/>
</tal:block>
<metal:block metal:fill-slot="content-header">
<h1 i18n:translate="">
<tal:block i18n:name="section" tal:replace="view/context/section/label" />
journal for <tal:block i18n:name="month" tal:replace="python: view.monthTitle(view.active_month)" /> <tal:block i18n:name="year" tal:replace="view/active_year" /></h1>
</metal:block>
<metal:block metal:fill-slot="body">
<div class="gradebook_content">
<form action="." method="post" tal:attributes="action request/URL">
<input tal:condition="request/month|nothing"
type="hidden"
name="month"
tal:attributes="value request/month" />
<input tal:condition="request/event_id|nothing"
type="hidden"
name="event_id"
tal:attributes="value request/event_id" />
<input tal:condition="request/student|nothing"
type="hidden"
name="student"
tal:attributes="value request/student" />
<div class="month_tabs">
<tal:loop repeat="month_id view/monthsInSelectedTerm">
<span class="inactive_tab"
tal:condition="python: month_id != view.active_month">
<a tal:attributes="href python: view.monthURL(month_id)"
tal:content="python: view.monthTitle(month_id)" />
</span>
<span class="active_tab"
tal:condition="python: month_id == view.active_month">
<tal:block tal:replace="python: view.monthTitle(month_id)" />
</span>
</tal:loop>
</div>
<div class="gradebook">
<tal:block replace="structure view/gradebook/render" />
</div>
<div class="controls">
<tal:block metal:use-macro="view/@@standard_macros/update-button" />
</div>
</form>
</div>
</metal:block>
</html>
|