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"> |
---|
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"> |
---|
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 | <tr tal:condition="python: context.__parent__.with_picture"> |
---|
25 | <td class="fieldname" i18n:translate=""> |
---|
26 | Passport Photo: |
---|
27 | </td> |
---|
28 | <td> |
---|
29 | <img src="passport.jpg" height="180px" /><br /> |
---|
30 | <br /> |
---|
31 | <div class="input-group half"> |
---|
32 | <div class="input-group-btn"> |
---|
33 | <div class="btn btn-default btn-file"> |
---|
34 | Select… |
---|
35 | <input type="file" name="form.passport" /> |
---|
36 | </div> |
---|
37 | </div> |
---|
38 | <input type="text" class="form-control" readonly> |
---|
39 | </div> |
---|
40 | <span i18n:translate=""> |
---|
41 | Max. file size: |
---|
42 | </span> |
---|
43 | <span tal:replace="view/max_upload_size">10 KB</span> |
---|
44 | </tr> |
---|
45 | <tr tal:condition="python: view.target in ('trans', 'cert')"> |
---|
46 | <td class="fieldname" i18n:translate=""> |
---|
47 | Statement of Result: |
---|
48 | </td> |
---|
49 | <td> |
---|
50 | <p tal:condition="python: view.file_exists('stateresult.pdf')"> |
---|
51 | <a href="stateresult.pdf" |
---|
52 | i18n:translate=""> |
---|
53 | Download pdf file |
---|
54 | </a> |
---|
55 | </p> |
---|
56 | <div class="input-group half"> |
---|
57 | <div class="input-group-btn"> |
---|
58 | <div class="btn btn-default btn-file"> |
---|
59 | Select… |
---|
60 | <input type="file" name="form.stateresult" /> |
---|
61 | </div> |
---|
62 | </div> |
---|
63 | <input type="text" class="form-control" readonly> |
---|
64 | </div> |
---|
65 | <span i18n:translate=""> |
---|
66 | PDF files only. Max. file size: |
---|
67 | </span> |
---|
68 | <span tal:replace="view/max_file_upload_size">10 KB</span> |
---|
69 | </tr> |
---|
70 | <tr tal:condition="python: view.target in ('ver', 'send')"> |
---|
71 | <td class="fieldname" i18n:translate=""> |
---|
72 | Scanned Document: |
---|
73 | </td> |
---|
74 | <td> |
---|
75 | <p tal:condition="python: view.file_exists('verificationdoc.pdf')"> |
---|
76 | <a href="verificationdoc.pdf" |
---|
77 | i18n:translate=""> |
---|
78 | Download pdf file |
---|
79 | </a> |
---|
80 | </p> |
---|
81 | <div class="input-group half"> |
---|
82 | <div class="input-group-btn"> |
---|
83 | <div class="btn btn-default btn-file"> |
---|
84 | Select… |
---|
85 | <input type="file" name="form.verificationdoc" /> |
---|
86 | </div> |
---|
87 | </div> |
---|
88 | <input type="text" class="form-control" readonly> |
---|
89 | </div> |
---|
90 | <span i18n:translate=""> |
---|
91 | PDF files only. Max. file size: |
---|
92 | </span> |
---|
93 | <span tal:replace="view/max_file_upload_size">10 KB</span> |
---|
94 | </tr> |
---|
95 | <tr tal:condition="view/manage_applications"> |
---|
96 | <td class="fieldname" i18n:translate="">Password:</td> |
---|
97 | <td> |
---|
98 | <input class="form-control" name="password" type="password" /> |
---|
99 | </td> |
---|
100 | </tr> |
---|
101 | <tr tal:condition="view/manage_applications"> |
---|
102 | <td class="fieldname" i18n:translate="">Retype Password:</td> |
---|
103 | <td> |
---|
104 | <input class="form-control" name="control_password" type="password" /> |
---|
105 | </td> |
---|
106 | </tr> |
---|
107 | <tr tal:condition="view/manage_applications"> |
---|
108 | <td class="fieldname" i18n:translate="">Application Transition:</td> |
---|
109 | <td> |
---|
110 | <select id="transition" name="transition" class="form-control half"> |
---|
111 | <option tal:repeat="transition view/getTransitions" |
---|
112 | tal:attributes="value transition/name"> |
---|
113 | <span tal:replace="transition/title">TRANSITIONTITLE</span> |
---|
114 | </option> |
---|
115 | </select> |
---|
116 | </td> |
---|
117 | </tr> |
---|
118 | </tbody> |
---|
119 | </table> |
---|
120 | |
---|
121 | <div tal:condition="python: not view.manage_applications |
---|
122 | and not view.target in ('trans', 'cert') |
---|
123 | and context.__parent__.with_picture"> |
---|
124 | <input id="confirm_passport" name="confirm_passport" |
---|
125 | type="checkbox" value="True"/> |
---|
126 | <span i18n:translate=""> |
---|
127 | I hereby confirm that the Passport Photograph uploaded on this form is a |
---|
128 | true picture of me. I also acknowledge by ticking this check box that, |
---|
129 | if discovered at any time that I do not possess any of the qualifications |
---|
130 | which I claim I have obtained, I will be expelled from the University |
---|
131 | and shall not be re-admitted for the same or any other programme, |
---|
132 | even if I have upgraded my previous qualifications or possess additional |
---|
133 | qualifications. |
---|
134 | </span> |
---|
135 | </div> |
---|
136 | <div tal:condition="python: not view.manage_applications |
---|
137 | and view.target not in ('trans', 'cert') |
---|
138 | and context.__parent__.with_picture"> |
---|
139 | <input id="confirm_passport" name="confirm_passport" |
---|
140 | type="checkbox" value="True"/> |
---|
141 | <span i18n:translate=""> |
---|
142 | I hereby confirm that the Passport Photograph uploaded on this form is a |
---|
143 | true picture of me. |
---|
144 | </span> |
---|
145 | </div> |
---|
146 | <br /> |
---|
147 | |
---|
148 | <div tal:condition="view/availableActions"> |
---|
149 | <span tal:repeat="action view/actions" |
---|
150 | tal:omit-tag=""> |
---|
151 | <input tal:condition="python:action.label in view.display_actions[0]" |
---|
152 | tal:replace="structure action/render"/> |
---|
153 | </span> |
---|
154 | </div> |
---|
155 | |
---|
156 | <tal:payments condition="view/display_payments"> |
---|
157 | <br /><br /> |
---|
158 | <h3 i18n:translate=""> |
---|
159 | Payment Tickets |
---|
160 | </h3> |
---|
161 | |
---|
162 | <table i18n:domain="waeup.kofa" class="table table-condensed"> |
---|
163 | <thead> |
---|
164 | <tr> |
---|
165 | <th> </th> |
---|
166 | <th i18n:translate="">Payment Id</th> |
---|
167 | <th i18n:translate="">Creation Date</th> |
---|
168 | <th i18n:translate="">Payment Date</th> |
---|
169 | <th i18n:translate="">Category</th> |
---|
170 | <th i18n:translate="">Item</th> |
---|
171 | <th i18n:translate="">State</th> |
---|
172 | </tr> |
---|
173 | </thead> |
---|
174 | <tbody> |
---|
175 | <tr tal:repeat="cl context/payments"> |
---|
176 | <td> |
---|
177 | <input type="checkbox" name="val_id" |
---|
178 | tal:attributes="value cl/__name__" |
---|
179 | tal:condition="python: not view.unremovable(cl)" /> |
---|
180 | </td> |
---|
181 | <td> <a tal:attributes="href python:view.url(cl)"> |
---|
182 | <span tal:content="cl/p_id">PID</span></a></td> |
---|
183 | <td tal:content="python: layout.formatDatetime(cl.creation_date)">CREATION DATE</td> |
---|
184 | <td tal:content="python: layout.formatDatetime(cl.payment_date)">PAYMENT DATE</td> |
---|
185 | <td tal:content ="cl/category">CATEGORY</td> |
---|
186 | <td tal:content ="cl/display_item">ITEM</td> |
---|
187 | <td tal:content ="cl/p_state_title">STATE</td> |
---|
188 | </tr> |
---|
189 | </tbody> |
---|
190 | </table> |
---|
191 | |
---|
192 | <div tal:condition="view/availableActions"> |
---|
193 | <span tal:repeat="action view/actions" |
---|
194 | tal:omit-tag=""> |
---|
195 | <input tal:condition="python:action.label in view.display_actions[1]" |
---|
196 | tal:replace="structure action/render"/> |
---|
197 | </span> |
---|
198 | </div> |
---|
199 | <br /> |
---|
200 | <p i18n:translate="" tal:condition="context/special"> |
---|
201 | <strong>Notice:</strong> If you need to pay for another service, |
---|
202 | select the corresponding special application category above, |
---|
203 | click 'Save' and then 'Add online payment ticket' again. |
---|
204 | </p> |
---|
205 | </tal:payments> |
---|
206 | </form> |
---|