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

Last change on this file since 16241 was 16165, checked in by Henrik Bettermann, 4 years ago

Configure transcript applications.

File size: 9.0 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      <tal:course_selector condition="view/course_selector">
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      </tal:course_selector>
76
77      <tr>
78        <td class="separator" colspan="2"
79          tal:condition="python: not view.target.startswith('tsc')">
80          File Uploads
81        </td>
82      </tr>
83      <tr tal:condition="python: context.__parent__.with_picture">
84        <td class="fieldname" i18n:translate="">
85          Passport Photo:
86        </td>
87        <td>
88          <img src="passport.jpg" height="180px" /><br />
89          <br />
90                <div class="input-group half">
91                        <div class="input-group-btn">
92                                <div class="btn btn-default btn-file">
93                Select&hellip;
94                <input type="file" name="form.passport" />
95              </div>
96                        </div>
97                        <input type="text" class="form-control" readonly>
98          </div>
99          <span i18n:translate="">
100            Max. file size:
101          </span>
102          <span tal:replace="view/max_upload_size">10 KB</span>
103      </tr>
104
105      <tal:files>
106        <tr tal:repeat="filename view/additional_files">
107          <tal:cond tal:condition="python:view.display_fileupload(filename)">
108            <td class="fieldname">
109              <span tal:replace="python:filename[0]">FILENAME</span>:
110            </td>
111            <td>
112              <p tal:condition="python:view.file_exists(filename[1])">
113                <a tal:attributes="href python:filename[1]"i18n:translate="">
114                  Download pdf file
115                </a>
116              </p>
117              <div class="input-group half">
118                <div class="input-group-btn">
119                  <div class="btn btn-default btn-file">
120                    Select&hellip;
121                  <input type="file" tal:attributes="name python:filename[1]" />
122                  </div>
123                </div>
124                <input type="text" class="form-control" readonly>
125              </div>
126              <span i18n:translate="">
127                PDF files only. Max. file size:
128              </span>
129              <span tal:replace="view/max_file_upload_size">10 KB</span>
130            </td>
131          </tal:cond>
132        </tr>
133      </tal:files>
134
135      <tr tal:condition="view/manage_applications">
136        <td class="fieldname" i18n:translate="">Password:</td>
137        <td>
138          <input class="form-control" name="password" type="password"  />
139        </td>
140      </tr>
141      <tr tal:condition="view/manage_applications">
142        <td class="fieldname" i18n:translate="">Retype Password:</td>
143        <td>
144          <input class="form-control" name="control_password" type="password" />
145        </td>
146      </tr>
147      <tr tal:condition="view/manage_applications">
148        <td class="fieldname" i18n:translate="">Application Transition:</td>
149        <td>
150          <select id="transition" name="transition" class="form-control half">
151            <option tal:repeat="transition view/getTransitions"
152                    tal:attributes="value transition/name">
153              <span tal:replace="transition/title">TRANSITIONTITLE</span>
154            </option>
155          </select>
156        </td>
157      </tr>
158    </tbody>
159  </table>
160
161  <p style="color:red"
162      tal:condition="python: view.target in ('pg',)
163                     and not view.manage_applications">
164  <br />
165  Note: <br />
166  Your admission will not be processed until your transcript has been
167  sent to the address below:<br /><br />
168
169  The Office of the Secretary<br />
170  School of Post Graduate Studies & Research (Main Campus)<br />
171  Igbinedion University, Okada<br />
172  Edo State, Nigeria<br /><br />
173
174  Your admission will not be processed until at least 2 of your expected
175  3 referees have returned their assessment, while awaiting the 3rd referee.
176  <br /><br />
177
178  </p>
179
180  <div tal:condition="view/availableActions">
181    <span tal:repeat="action view/actions"
182          tal:omit-tag="">
183      <input tal:condition="python:action.label in view.display_actions[0]"
184             tal:replace="structure action/render"/>
185    </span>
186  </div>
187
188  <tal:refereereports condition="view/display_refereereports">
189    <br /><br />
190    <h3 i18n:translate="">
191        Referee Reports
192    </h3>
193    <table i18n:domain="waeup.kofa" class="table table-condensed">
194      <thead>
195      <tr>
196        <th i18n:translate="">Report Id</th>
197        <th i18n:translate="">Creation Date</th>
198        <th i18n:translate="">Referee</th>
199        <th i18n:translate="">Email Address</th>
200      </tr>
201      </thead>
202      <tbody>
203        <tr tal:repeat="cl context/refereereports">
204          <td> <a tal:attributes="href python:view.url(cl)">
205            <span tal:content="cl/r_id">RID</span></a></td>
206          <td tal:content="python: layout.formatDatetime(cl.creation_date)">CREATION DATE</td>
207          <td tal:content="cl/name">REFEREE</td>
208          <td tal:content="cl/email">EMAIL</td>
209        </tr>
210      </tbody>
211    </table>
212  </tal:refereereports>
213
214  <tal:payments condition="view/display_payments">
215    <br /><br />
216    <h3 i18n:translate="">
217        Payment Tickets
218    </h3>
219
220    <table i18n:domain="waeup.kofa" class="table table-condensed">
221      <thead>
222      <tr>
223        <th>&nbsp;</th>
224        <th i18n:translate="">Payment Id</th>
225        <th i18n:translate="">Creation Date</th>
226        <th i18n:translate="">Payment Date</th>
227        <th i18n:translate="">Category</th>
228        <th i18n:translate="">Item</th>
229        <th i18n:translate="">State</th>
230      </tr>
231      </thead>
232      <tbody>
233        <tr tal:repeat="cl context/payments">
234          <td>
235           <input type="checkbox"  name="val_id"
236           tal:attributes="value cl/__name__"
237           tal:condition="python: not view.unremovable(cl)" />
238          </td>
239          <td> <a tal:attributes="href python:view.url(cl)">
240          <span tal:content="cl/p_id">PID</span></a></td>
241          <td tal:content="python: layout.formatDatetime(cl.creation_date)">CREATION DATE</td>
242          <td tal:content="python: layout.formatDatetime(cl.payment_date)">PAYMENT DATE</td>
243          <td tal:content ="cl/category">CATEGORY</td>
244          <td tal:content ="cl/display_item">ITEM</td>
245          <td tal:content ="cl/p_state_title">STATE</td>
246        </tr>
247      </tbody>
248    </table>
249
250    <div tal:condition="view/availableActions">
251      <span tal:repeat="action view/actions"
252            tal:omit-tag="">
253        <input tal:condition="python:action.label in view.display_actions[1]"
254               tal:replace="structure action/render"/>
255      </span>
256    </div>
257    <br />
258    <p i18n:translate="" tal:condition="context/special">
259      <strong>Notice:</strong> If you need to pay for another service,
260      select the corresponding special application category above,
261      click 'Save' and then 'Add online payment ticket' again.
262    </p>
263  </tal:payments>
264</form>
Note: See TracBrowser for help on using the repository browser.