source: main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/students/browser_templates/studycoursemanagepage.pt @ 11102

Last change on this file since 11102 was 7447, checked in by Henrik Bettermann, 13 years ago

Backup

File size: 3.4 KB
Line 
1<h2 i18n:translate=""
2tal:condition="view/label"
3tal:content="view/label">Label</h2>
4
5<div class="alert-message error"
6    tal:define="status view/status"
7    tal:condition="status">
8    Form Status:
9    <span i18n:translate="" tal:content="view/status">
10      Form status summary
11    </span>
12</div>
13
14<form action="." tal:attributes="action request/URL" method="POST"
15      enctype="multipart/form-data">
16
17  <ul class="tabs" data-tabs="tabs">
18    <li class="active"><a href="#tab-1"><span>Study Course Data</span></a></li>
19    <li><a href="#tab-2"><span>Study Levels</span></a></li>
20  </ul>
21
22  <div class="tab-content">
23    <div id="tab-1" class="active">
24      <table class="form-table">
25      <tbody>
26      <tal:block repeat="widget view/widgets">
27        <tr>
28          <td class="fieldname">
29            <span class="required" tal:condition="widget/required">*</span>
30            <span i18n:translate="" tal:content="widget/label">label</span>:
31          </td>
32          <td>
33            <span tal:content="structure widget">
34              <input type="text" />
35            </span>
36            <tal:error tal:condition="widget/error">
37              <span tal:replace="structure widget/error">error</span>
38            </tal:error>
39            <tal:hint tal:condition="widget/hint">
40              <span tal:content="structure widget/hint">hint</span>
41            </tal:hint>
42          </td>
43        </tr>
44      </tal:block>
45      </tbody>
46      </table>
47      <div tal:condition="view/availableActions">
48        <span tal:repeat="action view/actions"
49              tal:omit-tag="">
50          <input tal:condition="python:action.label in view.taboneactions"
51                 tal:replace="structure action/render"/>
52        </span>
53      </div>
54    </div>
55
56    <div id="tab-2">
57      <h3>Study Levels (Course Lists)</h3>
58      <table class="display dataTableManage">
59        <thead>
60          <tr>
61            <th>&nbsp;</th><th>Level Code</th><th>Level Title</th>
62          </tr>
63        </thead>
64        <tbody>
65          <tr tal:repeat="cl context/values">
66             <td>
67              <input type="checkbox"
68                         name="val_id"
69                         tal:attributes="value cl/__name__" />
70            </td>
71            <td> <a tal:attributes="href cl/__name__">
72              <span tal:content="cl/level">CODE</span></a>
73            </td>
74            <td>
75              <span tal:content="cl/level_title">TITLE</span>
76            </td>
77          </tr>
78        </tbody>
79      </table>
80
81      <div tal:condition="view/availableActions">
82        <span tal:repeat="action view/actions"
83              tal:omit-tag="">
84          <input tal:condition="python:action.label in view.tabtwoactions"
85                 tal:replace="structure action/render"/>
86        </span>
87      </div>
88      <br /><br /><br />
89      <div>
90        <span tal:condition="view/availableActions">
91          <span tal:repeat="action view/actions"
92                tal:omit-tag="">
93            <input tal:condition="python:action.label in view.tabthreeactions"
94                   tal:replace="structure action/render"/>
95          </span>
96        </span>
97        <select id="addlevel" name="addlevel">
98          <option tal:attributes="value level/code" tal:repeat="level view/level_dict">
99            <span tal:replace="level/title">LEVELTITLE
100          </span>
101          </option>
102        </select>
103      </div>
104    </div>
105  </div>
106</form> 
107
108
109
Note: See TracBrowser for help on using the repository browser.