source: main/waeup.kofa/branches/uli-rm-bootstrap/src/waeup/kofa/students/browser_templates/studycoursemanagepage.pt @ 15505

Last change on this file since 15505 was 11254, checked in by uli, 11 years ago

Merge changes from uli-diazo-themed back into trunk. If this works, then a miracle happened.

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