source: WAeUP_SRP/uniben/profiles/default/layouts/student_application.xml @ 3019

Last change on this file since 3019 was 2993, checked in by Henrik Bettermann, 17 years ago

allow resize passport

  • Property svn:keywords set to Id
File size: 18.9 KB
Line 
1<?xml version="1.0"?>
2<?xml-stylesheet type="text/xsl" href="layout.xsl"?>
3<object name="student_application" meta_type="CPS Layout">
4 <property name="layout_create_method"></property>
5 <property name="layout_edit_method"></property>
6 <property name="layout_view_method"></property>
7 <property name="style_prefix">layout_application_</property>
8 <property name="flexible_widgets"/>
9 <property name="validate_values_expr"></property>
10 <widget name="app_ac_date" meta_type="DateTime Widget">
11  <property name="title">Admission Checking Date</property>
12  <property name="fields">
13   <element value="app_ac_date"/>
14  </property>
15  <property name="label">Admission Checking Date</property>
16  <property name="label_edit">Admission Checking Date</property>
17  <property name="readonly_layout_modes">
18   <element value="edit"/>
19  </property>
20  <property name="hidden_layout_modes">
21   <element value="create"/>
22  </property>
23  <property name="hidden_readonly_layout_modes"/>
24  <property name="view_format">%d/%m/%Y</property>
25  <property name="time_setting">False</property>
26 </widget>
27 <widget name="app_ac_pin" meta_type="Scratchcard Pin Widget">
28  <property name="title">Admission Checking PIN</property>
29  <property name="fields">
30   <element value="app_ac_pin"/>
31  </property>
32  <property name="label">Admission Checking PIN</property>
33  <property name="label_edit">Admission Checking PIN</property>
34  <property name="readonly_layout_modes">
35   <element value="edit"/>
36  </property>
37  <property name="hidden_layout_modes"/>
38  <property name="hidden_readonly_layout_modes"/>
39  <property name="prefix">APP</property>
40  <property name="reference">jamb_reg_no</property>
41 <property name="reuse_pin">False</property>
42  </widget>
43 <widget name="app_email" meta_type="Email Widget">
44  <property name="title">Email Address</property>
45  <property name="fields">
46   <element value="app_email"/>
47  </property>
48  <property name="label">Email Address</property>
49  <property name="label_edit">Email Address</property>
50  <property name="readonly_layout_modes">
51  </property>
52  <property name="hidden_layout_modes">
53   <element value="create"/>
54  </property>
55  <property name="hidden_readonly_layout_modes"/>
56 </widget>
57 <widget name="app_mobile" meta_type="String Widget">
58  <property name="title">Mobile Phone No</property>
59  <property name="fields">
60   <element value="app_mobile"/>
61  </property>
62  <property name="label">Mobile Phone No</property>
63  <property name="label_edit">Mobile Phone No</property>
64  <property name="readonly_layout_modes">
65   <element value="edit"/>
66  </property>
67  <property name="hidden_layout_modes">
68   <element value="create"/>
69  </property>
70  <property name="hidden_readonly_layout_modes"/>
71 </widget>
72 <widget name="entry_mode" meta_type="Select Widget">
73  <property name="title">Mode of Entry</property>
74  <property name="fields">
75   <element value="entry_mode"/>
76  </property>
77  <property name="label">Mode of Entry</property>
78  <property name="label_edit">Mode of Entry</property>
79  <property name="readonly_layout_modes">
80   <element value="edit"/>
81  </property>
82  <property name="hidden_layout_modes">
83   <element value="create"/>
84  </property>
85  <property name="hidden_readonly_layout_modes"/>
86  <property name="vocabulary">entry_modes</property>
87 </widget>
88 <widget name="entry_session" meta_type="Select Widget">
89  <property name="title">Entry Session</property>
90  <property name="fields">
91   <element value="entry_session"/>
92  </property>
93  <property name="label">Entry Session</property>
94  <property name="label_edit">Entry Session</property>
95  <property name="readonly_layout_modes">
96   <element value="edit"/>
97  </property>
98  <property name="hidden_layout_modes">
99   <element value="create"/>
100  </property>
101  <property name="hidden_readonly_layout_modes"/>
102  <property name="vocabulary">sessions</property>
103 </widget>
104 <widget name="jamb_age" meta_type="Int Widget">
105  <property name="title">Age</property>
106  <property name="fields">
107   <element value="jamb_age"/>
108  </property>
109  <property name="label">Age</property>
110  <property name="label_edit">Age</property>
111  <property name="hidden_layout_modes">
112   <element value="create"/>
113  </property>
114  <property name="readonly_layout_modes">
115   <element value="edit"/>
116  </property>
117  <property name="hidden_readonly_layout_modes"/>
118 </widget>
119 <widget name="jamb_first_cos" meta_type="String Widget">
120  <property name="title">JAMB First Choice Course of Study</property>
121  <property name="fields">
122   <element value="jamb_first_cos"/>
123  </property>
124  <property name="label">JAMB First Choice Course of Study</property>
125  <property name="label_edit">JAMB First Choice Course of Study</property>
126  <property name="readonly_layout_modes">
127   <element value="edit"/>
128  </property>
129  <property name="hidden_layout_modes">
130   <element value="create"/>
131  </property>
132  <property name="hidden_readonly_layout_modes"/>
133 </widget>
134
135 <widget name="jamb_firstname" meta_type="String Widget">
136  <property name="title">First Name</property>
137  <property name="fields">
138   <element value="jamb_firstname"/>
139  </property>
140  <property name="label">First Name</property>
141  <property name="label_edit">First Name</property>
142  <property name="readonly_layout_modes">
143   <element value="edit"/>
144  </property>
145  <property name="hidden_layout_modes">
146   <element value="create"/>
147  </property>
148  <property name="hidden_readonly_layout_modes"/>
149 </widget>
150 <widget name="jamb_lastname" meta_type="String Widget">
151  <property name="title">Last Name</property>
152  <property name="fields">
153   <element value="jamb_lastname"/>
154  </property>
155  <property name="label">Surname / Full Name</property>
156  <property name="label_edit">Last Name</property>
157  <property name="readonly_layout_modes">
158   <element value="edit"/>
159  </property>
160  <property name="hidden_layout_modes">
161   <element value="create"/>
162  </property>
163  <property name="hidden_readonly_layout_modes"/>
164 </widget>
165 <widget name="jamb_lga" meta_type="String Widget">
166  <property name="title">Local Government Area</property>
167  <property name="fields">
168   <element value="jamb_lga"/>
169  </property>
170  <property name="label">Local Government Area</property>
171  <property name="label_edit">Local Government Area</property>
172  <property name="readonly_layout_modes">
173   <element value="edit"/>
174  </property>
175  <property name="hidden_layout_modes">
176   <element value="create"/>
177  </property>
178  <property name="hidden_readonly_layout_modes"/>
179 </widget>
180 <widget name="jamb_middlename" meta_type="String Widget">
181  <property name="title">Middle Name</property>
182  <property name="fields">
183   <element value="jamb_middlename"/>
184  </property>
185  <property name="label">Middle Name</property>
186  <property name="label_edit">Middle Name</property>
187  <property name="readonly_layout_modes">
188   <element value="edit"/>
189  </property>
190  <property name="hidden_layout_modes">
191   <element value="create"/>
192  </property>
193  <property name="hidden_readonly_layout_modes"/>
194 </widget>
195
196 <widget name="jamb_reg_no" meta_type="JambRegNo Widget">
197  <property name="title">Registration Number</property>
198  <property name="fields">
199   <element value="jamb_reg_no"/>
200  </property>
201  <property name="label">Registration Number</property>
202  <property name="label_edit">Registration Number</property>
203  <property name="readonly_layout_modes">
204   <element value="edit"/>
205  </property>
206  <property name="hidden_layout_modes"/>
207  <property name="hidden_readonly_layout_modes"/>
208  <property name="display_width">12</property>
209  <property name="size_max">12</property>
210  <property name="catalog">students_catalog</property>
211 </widget>
212
213 <widget name="jamb_score" meta_type="String Widget">
214  <property name="title">JAMB Score</property>
215  <property name="fields">
216   <element value="jamb_score"/>
217  </property>
218  <property name="label">JAMB Score</property>
219  <property name="label_edit">JAMB Score</property>
220  <property name="readonly_layout_modes">
221   <element value="edit"/>
222  </property>
223  <property name="hidden_layout_modes">
224   <element value="create"/>
225  </property>
226  <property name="hidden_readonly_layout_modes"/>
227 </widget>
228 <widget name="jamb_second_cos" meta_type="String Widget">
229  <property name="title">JAMB Second Choice Course of Study</property>
230  <property name="fields">
231   <element value="jamb_second_cos"/>
232  </property>
233  <property name="label">JAMB Second Choice Course of Study</property>
234  <property name="label_edit">JAMB Second Choice Course of Study</property>
235  <property name="readonly_layout_modes">
236   <element value="edit"/>
237  </property>
238  <property name="hidden_layout_modes">
239   <element value="create"/>
240  </property>
241  <property name="hidden_readonly_layout_modes"/>
242 </widget>
243 <widget name="course3" meta_type="String Widget">
244  <property name="title">Third Choice Course of Study</property>
245  <property name="fields">
246   <element value="course3"/>
247  </property>
248  <property name="label">Third Choice Course of Study</property>
249  <property name="label_edit">Third Choice Course of Study</property>
250  <property name="readonly_layout_modes">
251   <element value="edit"/>
252  </property>
253  <property name="hidden_layout_modes">
254   <element value="create"/>
255  </property>
256  <property name="hidden_readonly_layout_modes"/>
257 </widget>
258
259 <widget name="jamb_sex" meta_type="String Widget">
260  <property name="title">Sex</property>
261  <property name="fields">
262   <element value="jamb_sex"/>
263  </property>
264  <property name="label">Sex</property>
265  <property name="label_edit">Sex</property>
266  <property name="readonly_layout_modes">
267   <element value="edit"/>
268  </property>
269  <property name="hidden_layout_modes">
270   <element value="create"/>
271  </property>
272  <property name="hidden_readonly_layout_modes"/>
273  <property name="display_width">1</property>
274  <property name="size_max">1</property>
275 </widget>
276 <widget name="jamb_state" meta_type="String Widget">
277  <property name="title">State</property>
278  <property name="fields">
279   <element value="jamb_state"/>
280  </property>
281  <property name="label">State</property>
282  <property name="label_edit">State</property>
283  <property name="readonly_layout_modes">
284   <element value="edit"/>
285  </property>
286  <property name="hidden_layout_modes">
287   <element value="create"/>
288  </property>
289  <property name="hidden_readonly_layout_modes"/>
290 </widget>
291 <widget name="objection_date" meta_type="DateTime Widget">
292  <property name="title">Objection Date</property>
293  <property name="fields">
294   <element value="objection_date"/>
295  </property>
296  <property name="label">Objection Date</property>
297  <property name="label_edit">Objection Date</property>
298  <property name="readonly_layout_modes">
299   <element value="edit"/>
300  </property>
301  <property name="hidden_layout_modes">
302   <element value="create"/>
303  </property>
304  <property name="hidden_readonly_layout_modes"/>
305  <property name="view_format">%d/%m/%Y</property>
306 </widget>
307 <widget name="passport" meta_type="File Image Widget">
308  <property name="title">Passport Picture</property>
309  <property name="fields">
310   <element value="passport"/>
311  </property>
312  <property name="label">Passport Picture</property>
313  <property name="label_edit">Passport Picture</property>
314  <property
315     name="help">Upload passport photograph with red background</property>
316  <property name="readonly_layout_modes"/>
317  <property name="hidden_layout_modes">
318   <element value="create"/>
319  </property>
320  <property name="hidden_readonly_layout_modes"/>
321  <property name="size_max">204800</property>
322  <property name="display_external_editor">False</property>
323  <property name="display_width">150</property>
324  <property name="display_height">200</property>
325  <property name="allow_resize">True</property>
326  <property name="show_image">True</property>
327  </widget>
328
329<widget name="screening_application_date" meta_type="DateTime Widget">
330 <property name="title">Screening Application Date</property>
331 <property name="fields">
332  <element value="screening_application_date"/>
333 </property>
334 <property name="label">Screening Application Date</property>
335 <property name="label_edit">Screening Application Date</property>
336    <property name="readonly_layout_modes">
337        <element value="edit"/>
338    </property>
339 <property name="hidden_layout_modes">
340  <element value="create"/>
341 </property>
342 <property name="hidden_readonly_layout_modes"/>
343  <property name="view_format">%d/%m/%Y</property>
344  <property name="time_setting">False</property>
345</widget>
346
347
348<widget name="date_of_birth" meta_type="DateTime Widget">
349 <property name="title">Date of Birth</property>
350 <property name="fields">
351  <element value="date_of_birth"/>
352 </property>
353 <property name="label">Date of Birth</property>
354 <property name="label_edit">Date of Birth</property>
355 <property name="readonly_layout_modes">
356  <element value="edit"/>
357 </property>
358 <property name="hidden_layout_modes">
359  <element value="create"/>
360 </property>
361 <property name="hidden_readonly_layout_modes"/>
362  <property name="view_format">%d/%m/%Y</property>
363  <property name="time_setting">False</property>
364</widget>
365
366
367 <widget name="screening_type" meta_type="String Widget">
368  <property name="title">Screening Type</property>
369  <property name="fields">
370   <element value="screening_type"/>
371  </property>
372  <property name="label">Screening Type</property>
373  <property name="label_edit">Screening Type</property>
374    <property name="readonly_layout_modes">
375        <element value="edit"/>
376    </property>
377  <property name="hidden_layout_modes">
378   <element value="create"/>
379  </property>
380  <property name="hidden_readonly_layout_modes"/>
381 </widget>
382
383 <widget name="screening_score" meta_type="String Widget">
384  <property name="title">Screening Score</property>
385  <property name="fields">
386   <element value="screening_score"/>
387  </property>
388  <property name="label">Screening Score</property>
389  <property name="label_edit">Screening Score</property>
390    <property name="readonly_layout_modes">
391        <element value="edit"/>
392    </property>
393  <property name="hidden_layout_modes">
394   <element value="create"/>
395  </property>
396  <property name="hidden_readonly_layout_modes"/>
397 </widget>
398
399<widget name="screening_date" meta_type="DateTime Widget">
400 <property name="title">Screening Date</property>
401 <property name="fields">
402  <element value="screening_date"/>
403 </property>
404 <property name="label">Screening Date</property>
405 <property name="label_edit">Screening Date</property>
406    <property name="readonly_layout_modes">
407        <element value="edit"/>
408    </property>
409 <property name="hidden_layout_modes">
410  <element value="create"/>
411 </property>
412 <property name="hidden_readonly_layout_modes"/>
413  <property name="view_format">%d/%m/%Y</property>
414  <property name="time_setting">False</property>
415</widget>
416
417
418  <widget name="hq_type" meta_type="Select Widget">
419    <property name="title">Higher Qualification</property>
420    <property name="fields">
421    <element value="hq_type"/>
422    </property>
423    <property name="label">Higher Qualification</property>
424    <property name="label_edit">Higher Qualification</property>
425    <property name="description">Higher Qualification Data</property>
426    <property name="readonly_layout_modes">
427        <element value="edit"/>
428    </property>
429    <property name="hidden_layout_modes">
430    <element value="create"/>
431    </property>
432    <property name="hidden_readonly_layout_modes"/>
433    <property name="vocabulary">high_qual</property>
434  </widget>
435
436
437  <widget name="hq_grade" meta_type="Select Widget">
438    <property name="title">Higher Qualification Grade</property>
439    <property name="fields">
440    <element value="hq_grade"/>
441    </property>
442    <property name="label">Higher Qualification Grade</property>
443    <property name="label_edit">Higher Qualification Grade</property>
444    <property name="readonly_layout_modes">
445        <element value="edit"/>
446    </property>
447    <property name="hidden_layout_modes">
448        <element value="create"/>
449    </property>
450    <property name="hidden_readonly_layout_modes"/>
451    <property name="vocabulary">high_grade</property>
452  </widget>
453
454  <widget name="aos" meta_type="Select Widget">
455    <property name="title">Area of Specialisation</property>
456    <property name="fields">
457      <element value="aos"/>
458    </property>
459    <property name="label">Area of Specialisation</property>
460    <property name="label_edit">Area of Specialisation</property>
461    <property name="description"></property>
462    <property name="help"></property>
463    <property name="is_i18n">False</property>
464    <property name="widget_mode_expr"></property>
465    <property name="readonly_layout_modes">
466      <element value="edit"/>
467    </property>
468    <property name="hidden_layout_modes">
469      <element value="create"/>
470    </property>
471    <property name="hidden_readonly_layout_modes"/>
472    <property name="vocabulary">aos</property>
473    <property name="sorted">True</property>
474    <property name="css_class_expr">string:row</property>
475  </widget>
476
477    <widget name="reg_no_string" meta_type="String Widget">
478     <property name="title">Registration Number String</property>
479     <property name="fields">
480      <element value="jamb_reg_no"/>
481     </property>
482     <property name="label">Registration Number String</property>
483     <property name="label_edit">Registration Number String</property>
484     <property name="readonly_layout_modes">
485      <element value="create"/>
486     </property>
487     <property name="readonly_if_expr">context/isStudent</property>
488     <property name="hidden_layout_modes">
489      <element value="create"/>
490      <element value="view"/>
491     </property>
492     <property name="hidden_readonly_layout_modes"/>
493     <property name="hidden_if_expr">context/isStudent</property>
494    </widget>
495
496
497
498 <table>
499  <row>
500   <cell name="jamb_reg_no" ncols="3"/>
501  </row>
502  <row>
503   <cell name="reg_no_string" ncols="3"/>
504  </row>
505  <row>
506   <cell name="app_ac_pin" ncols="3"/>
507  </row>
508  <row>
509   <cell name="app_ac_date" ncols="3"/>
510  </row>
511  <row>
512   <cell name="app_email" ncols="3"/>
513  </row>
514  <row>
515   <cell name="app_mobile" ncols="3"/>
516  </row>
517  <row>
518   <cell name="jamb_firstname" ncols="3"/>
519  </row>
520  <row>
521   <cell name="jamb_middlename" ncols="3"/>
522  </row>
523  <row>
524   <cell name="jamb_lastname" ncols="3"/>
525  </row>
526  <row>
527   <cell name="jamb_sex" ncols="3"/>
528  </row>
529  <row>
530   <cell name="jamb_age" ncols="3"/>
531  </row>
532  <row>
533   <cell name="date_of_birth" ncols="3"/>
534  </row>
535  <row>
536   <cell name="jamb_state" ncols="3"/>
537  </row>
538  <row>
539   <cell name="jamb_lga" ncols="3"/>
540  </row>
541  <row>
542   <cell name="jamb_score" ncols="3"/>
543  </row>
544  <row>
545   <cell name="entry_mode" ncols="3"/>
546  </row>
547  <row>
548   <cell name="entry_session" ncols="3"/>
549  </row>
550  <row>
551   <cell name="jamb_first_cos" ncols="3"/>
552  </row>
553  <row>
554   <cell name="jamb_second_cos" ncols="3"/>
555  </row>
556  <row>
557   <cell name="course3" ncols="3"/>
558  </row>
559
560
561
562
563  <row>
564   <cell name="hq_type" ncols="2"/>
565  </row>
566  <row>
567   <cell name="hq_grade" ncols="2"/>
568  </row>
569  <row>
570   <cell name="aos" ncols="2"/>
571  </row>
572
573  <row>
574   <cell name="screening_type" ncols="3"/>
575  </row>
576  <row>
577   <cell name="screening_application_date" ncols="3"/>
578  </row>
579  <row>
580   <cell name="screening_score" ncols="3"/>
581  </row>
582  <row>
583   <cell name="screening_date" ncols="3"/>
584  </row>
585
586
587  <row>
588   <cell name="passport" ncols="3"/>
589  </row>
590
591  <row>
592   <cell name="objection_date" ncols="3"/>
593  </row>
594
595 </table>
596</object>
597
Note: See TracBrowser for help on using the repository browser.