source: main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/applicants/browser_templates/applicanteditpage.pt @ 16111

Last change on this file since 16111 was 16076, checked in by Henrik Bettermann, 5 years ago

Change note.

File size: 8.8 KB
Line 
1<form action="." tal:attributes="action request/URL" method="post"
2      i18n:domain="waeup.kofa" enctype="multipart/form-data"
3      autocomplete="off">
4
5  <h2 i18n:domain="waeup.kofa" tal:condition="context/translated_state">
6    ...
7    <span tal:replace="context/translated_state">APPLICATIONSTATE
8    </span>
9    <span tal:omit-tag=""
10      i18n:translate="" tal:condition="context/suspended">(account suspended)
11    </span>
12    ...
13  </h2>
14
15  <div class="workflow" tal:condition="context/history">
16    <div tal:repeat="msg context/history/messages">
17      <span tal:replace="msg">MESSAGE</span><br />
18    </div>
19  </div>
20
21  <table class="form-table">
22    <tbody>
23      <tal:widgets content="structure provider:widgets" />
24
25      <tr>
26        <td class="separator" colspan="2">
27          Programmes/Courses Desired
28        </td>
29      </tr>
30      <tr>
31        <td class="fieldname" i18n:translate="">
32          1st Choice Course of Study:
33        </td>
34        <td>
35        </td>
36        <td>
37      </tr>
38      <tr>
39        <td colspan=2>
40        <input id="filterbox" class="kofa-filterbox form-control half"
41               placeholder="Enter search text, then select course below."
42               type="text" i18n:translate=""/>
43        <select id="filteredselect" name="custom.course1"
44                class="form-control" size=5>
45          <option tal:repeat="item python:view.getCerts('course1')"
46                  tal:attributes="value item/code; selected item/selected">
47            <span tal:replace="item/title">TITLE</span>
48          </option>
49        </select>
50        </td>
51      </tr>
52      <tr>
53        <td class="fieldname" i18n:translate="">
54          2nd Choice Course of Study:
55        </td>
56        <td>
57        </td>
58        <td>
59      </tr>
60      <tr>
61        <td colspan=2>
62        <input id="filterbox" class="kofa-filterbox form-control half"
63               placeholder="Enter search text, then select course below."
64               type="text" i18n:translate=""/>
65        <select id="filteredselect" name="custom.course2"
66                class="form-control" size=5>
67          <option tal:repeat="item python:view.getCerts('course2')"
68                  tal:attributes="value item/code; selected item/selected">
69            <span tal:replace="item/title">TITLE</span>
70          </option>
71        </select>
72        </td>
73      </tr>
74      <tr>
75
76      <tr>
77        <td class="separator" colspan="2">
78          File Uploads
79        </td>
80      </tr>
81
82      <tr tal:condition="python: context.__parent__.with_picture">
83        <td class="fieldname" i18n:translate="">
84          Passport Photo:
85        </td>
86        <td>
87          <img src="passport.jpg" height="180px" /><br />
88          <br />
89                <div class="input-group half">
90                        <div class="input-group-btn">
91                                <div class="btn btn-default btn-file">
92                Select&hellip;
93                <input type="file" name="form.passport" />
94              </div>
95                        </div>
96                        <input type="text" class="form-control" readonly>
97          </div>
98          <span i18n:translate="">
99            Max. file size:
100          </span>
101          <span tal:replace="view/max_upload_size">10 KB</span>
102      </tr>
103
104      <tal:files>
105        <tr tal:repeat="filename view/additional_files">
106          <tal:cond tal:condition="python:view.display_fileupload(filename)">
107            <td class="fieldname">
108              <span tal:replace="python:filename[0]">FILENAME</span>:
109            </td>
110            <td>
111              <p tal:condition="python:view.file_exists(filename[1])">
112                <a tal:attributes="href python:filename[1]"i18n:translate="">
113                  Download pdf file
114                </a>
115              </p>
116              <div class="input-group half">
117                <div class="input-group-btn">
118                  <div class="btn btn-default btn-file">
119                    Select&hellip;
120                  <input type="file" tal:attributes="name python:filename[1]" />
121                  </div>
122                </div>
123                <input type="text" class="form-control" readonly>
124              </div>
125              <span i18n:translate="">
126                PDF files only. Max. file size:
127              </span>
128              <span tal:replace="view/max_file_upload_size">10 KB</span>
129            </td>
130          </tal:cond>
131        </tr>
132      </tal:files>
133
134      <tr tal:condition="view/manage_applications">
135        <td class="fieldname" i18n:translate="">Password:</td>
136        <td>
137          <input class="form-control" name="password" type="password"  />
138        </td>
139      </tr>
140      <tr tal:condition="view/manage_applications">
141        <td class="fieldname" i18n:translate="">Retype Password:</td>
142        <td>
143          <input class="form-control" name="control_password" type="password" />
144        </td>
145      </tr>
146      <tr tal:condition="view/manage_applications">
147        <td class="fieldname" i18n:translate="">Application Transition:</td>
148        <td>
149          <select id="transition" name="transition" class="form-control half">
150            <option tal:repeat="transition view/getTransitions"
151                    tal:attributes="value transition/name">
152              <span tal:replace="transition/title">TRANSITIONTITLE</span>
153            </option>
154          </select>
155        </td>
156      </tr>
157    </tbody>
158  </table>
159
160  <p style="color:red"
161      tal:condition="python: view.target in ('pg',)
162                     and not view.manage_applications">
163  <br />
164  Note: <br />
165  Your admission will not be processed until your transcript has been
166  sent to the address below:<br /><br />
167
168  The Office of the Secretary<br />
169  School of Post Graduate Studies & Research (Main Campus)<br />
170  Igbinedion University, Okada<br />
171  Edo State, Nigeria<br /><br />
172
173  Your admission will not be processed until at least 2 of your expected
174  3 referees have returned their assessment, while awaiting the 3rd referee.
175  <br /><br />
176
177  </p>
178
179  <div tal:condition="view/availableActions">
180    <span tal:repeat="action view/actions"
181          tal:omit-tag="">
182      <input tal:condition="python:action.label in view.display_actions[0]"
183             tal:replace="structure action/render"/>
184    </span>
185  </div>
186
187  <tal:refereereports condition="view/display_refereereports">
188    <br /><br />
189    <h3 i18n:translate="">
190        Referee Reports
191    </h3>
192    <table i18n:domain="waeup.kofa" class="table table-condensed">
193      <thead>
194      <tr>
195        <th i18n:translate="">Report Id</th>
196        <th i18n:translate="">Creation Date</th>
197        <th i18n:translate="">Referee</th>
198        <th i18n:translate="">Email Address</th>
199      </tr>
200      </thead>
201      <tbody>
202        <tr tal:repeat="cl context/refereereports">
203          <td> <a tal:attributes="href python:view.url(cl)">
204            <span tal:content="cl/r_id">RID</span></a></td>
205          <td tal:content="python: layout.formatDatetime(cl.creation_date)">CREATION DATE</td>
206          <td tal:content="cl/name">REFEREE</td>
207          <td tal:content="cl/email">EMAIL</td>
208        </tr>
209      </tbody>
210    </table>
211  </tal:refereereports>
212
213  <tal:payments condition="view/display_payments">
214    <br /><br />
215    <h3 i18n:translate="">
216        Payment Tickets
217    </h3>
218
219    <table i18n:domain="waeup.kofa" class="table table-condensed">
220      <thead>
221      <tr>
222        <th>&nbsp;</th>
223        <th i18n:translate="">Payment Id</th>
224        <th i18n:translate="">Creation Date</th>
225        <th i18n:translate="">Payment Date</th>
226        <th i18n:translate="">Category</th>
227        <th i18n:translate="">Item</th>
228        <th i18n:translate="">State</th>
229      </tr>
230      </thead>
231      <tbody>
232        <tr tal:repeat="cl context/payments">
233          <td>
234           <input type="checkbox"  name="val_id"
235           tal:attributes="value cl/__name__"
236           tal:condition="python: not view.unremovable(cl)" />
237          </td>
238          <td> <a tal:attributes="href python:view.url(cl)">
239          <span tal:content="cl/p_id">PID</span></a></td>
240          <td tal:content="python: layout.formatDatetime(cl.creation_date)">CREATION DATE</td>
241          <td tal:content="python: layout.formatDatetime(cl.payment_date)">PAYMENT DATE</td>
242          <td tal:content ="cl/category">CATEGORY</td>
243          <td tal:content ="cl/display_item">ITEM</td>
244          <td tal:content ="cl/p_state_title">STATE</td>
245        </tr>
246      </tbody>
247    </table>
248
249    <div tal:condition="view/availableActions">
250      <span tal:repeat="action view/actions"
251            tal:omit-tag="">
252        <input tal:condition="python:action.label in view.display_actions[1]"
253               tal:replace="structure action/render"/>
254      </span>
255    </div>
256    <br />
257    <p i18n:translate="" tal:condition="context/special">
258      <strong>Notice:</strong> If you need to pay for another service,
259      select the corresponding special application category above,
260      click 'Save' and then 'Add online payment ticket' again.
261    </p>
262  </tal:payments>
263</form>
Note: See TracBrowser for help on using the repository browser.