source: WAeUP_SRP/trunk/profiles/default/layouts/import_student.xml @ 1804

Last change on this file since 1804 was 1804, checked in by joachim, 17 years ago

fix for #205, add more widgets for import_data

File size: 11.4 KB
Line 
1<?xml version="1.0"?>
2<?xml-stylesheet type="text/xsl" href="layout.xsl"?>
3<object name="student_create" 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_waeup_</property>
8 <property name="flexible_widgets"/>
9 <property name="validate_values_expr"></property>
10 <widget name="email" meta_type="Email Widget">
11  <property name="title">Email</property>
12  <property name="fields">
13   <element value="email"/>
14  </property>
15  <property name="is_required">False</property>
16  <property name="label">Email</property>
17  <property name="label_edit">Email</property>
18  <property name="readonly_layout_modes"/>
19  <property name="hidden_layout_modes"/>
20  <property name="hidden_readonly_layout_modes"/>
21 </widget>
22 <widget name="app_email" meta_type="Email Widget">
23  <property name="title">Application Email</property>
24  <property name="fields">
25   <element value="email"/>
26  </property>
27  <property name="is_required">False</property>
28  <property name="label">Application Email</property>
29  <property name="label_edit">Application Email</property>
30  <property name="readonly_layout_modes"/>
31  <property name="hidden_layout_modes"/>
32  <property name="hidden_readonly_layout_modes"/>
33 </widget>
34 <widget name="phone" meta_type="String Widget">
35  <property name="title">Phone</property>
36  <property name="fields">
37   <element value="phone"/>
38  </property>
39  <property name="label">Phone</property>
40  <property name="label_edit">Phone</property>
41  <property name="readonly_layout_modes"/>
42  <property name="hidden_layout_modes"/>
43  <property name="hidden_readonly_layout_modes"/>
44  <property name="display_width">15</property>
45 </widget>
46 <widget name="perm_address" meta_type="String Widget">
47  <property name="title">Address</property>
48  <property name="fields">
49   <element value="perm_address"/>
50  </property>
51  <property name="label">Address</property>
52  <property name="label_edit">Address</property>
53  <property name="readonly_layout_modes"/>
54  <property name="hidden_layout_modes"/>
55  <property name="hidden_readonly_layout_modes"/>
56  <property name="display_width">60</property>
57 </widget>
58 <widget name="state" meta_type="Select Widget">
59  <property name="title">State</property>
60  <property name="fields">
61   <element value="state"/>
62  </property>
63  <property name="label">State</property>
64  <property name="label_edit">State</property>
65  <property name="readonly_layout_modes"/>
66  <property name="hidden_layout_modes"/>
67  <property name="hidden_readonly_layout_modes"/>
68  <property name="vocabulary">states</property>
69 </widget>
70 <widget name="lga" meta_type="String Widget">
71  <property name="title">LGA</property>
72  <property name="fields">
73   <element value="lga"/>
74  </property>
75  <property name="label">LGA</property>
76  <property name="label_edit">LGA</property>
77  <property name="readonly_layout_modes"/>
78  <property name="hidden_layout_modes"/>
79  <property name="hidden_readonly_layout_modes"/>
80 </widget>
81 <widget name="firstname" meta_type="String Widget">
82  <property name="title">Firstname</property>
83  <property name="fields">
84   <element value="firstname"/>
85  </property>
86  <property name="is_required">True</property>
87  <property name="label">Firstname</property>
88  <property name="label_edit">Firstname</property>
89  <property name="readonly_layout_modes"/>
90  <property name="hidden_layout_modes"/>
91  <property name="hidden_readonly_layout_modes"/>
92 </widget>
93 <widget name="middlename" meta_type="String Widget">
94  <property name="title">Middlename</property>
95  <property name="fields">
96   <element value="middlename"/>
97  </property>
98  <property name="label">Middlename</property>
99  <property name="label_edit">Middlename</property>
100  <property name="readonly_layout_modes"/>
101  <property name="hidden_layout_modes"/>
102  <property name="hidden_readonly_layout_modes"/>
103 </widget>
104 <widget name="lastname" meta_type="String Widget">
105  <property name="title">Lastname</property>
106  <property name="fields">
107   <element value="lastname"/>
108  </property>
109  <property name="is_required">True</property>
110  <property name="label">Lastname</property>
111  <property name="label_edit">Lastname</property>
112  <property name="readonly_layout_modes"/>
113  <property name="hidden_layout_modes"/>
114  <property name="hidden_readonly_layout_modes"/>
115 </widget>
116<widget name="birthday" meta_type="DateTime Widget">
117 <property name="title">Birthday</property>
118 <property name="fields">
119  <element value="birthday"/>
120 </property>
121 <property name="label">Birthday</property>
122 <property name="label_edit">Birthday</property>
123 <property name="readonly_layout_modes"/>
124 <property name="hidden_layout_modes"/>
125 <property name="hidden_readonly_layout_modes"/>
126 <property name="view_format">iso8601</property>
127 <property name="time_setting">False</property>
128 <property name="time_hour_default">00</property>
129</widget>
130  <widget name="entry_mode" meta_type="Select Widget">
131  <property name="title">Entry Mode</property>
132  <property name="fields">
133   <element value="entry_mode"/>
134  </property>
135  <property name="label">Entry Mode</property>
136  <property name="label_edit">Entry Mode</property>
137  <property name="readonly_layout_modes"/>
138  <property name="hidden_layout_modes"/>
139  <property name="hidden_readonly_layout_modes"/>
140  <property name="vocabulary">entry_modes</property>
141 </widget>
142  <widget name="current_mode" meta_type="Select Widget">
143  <property name="title">Current Mode</property>
144  <property name="fields">
145   <element value="current_mode"/>
146  </property>
147  <property name="label">Current Mode</property>
148  <property name="label_edit">Current Mode</property>
149  <property name="readonly_layout_modes"/>
150  <property name="hidden_layout_modes"/>
151  <property name="hidden_readonly_layout_modes"/>
152  <property name="vocabulary">entry_modes</property>
153 </widget>
154 <widget name="current_session" meta_type="WAeUP Session Widget">
155  <property name="title">Current Session</property>
156  <property name="fields">
157   <element value="current_session"/>
158  </property>
159  <property name="label">Current Session</property>
160  <property name="label_edit">Current Session</property>
161  <property name="description">The last session school fee has been paid for</property>
162  <property name="help">The last session school fee has been paid for</property>
163  <property name="readonly_layout_modes"/>
164  <property name="hidden_layout_modes"/>
165  <property name="hidden_readonly_layout_modes"/>
166  <property name="vocabulary">sessions</property>
167 </widget>
168 <widget name="current_level" meta_type="WAeUP Level Widget">
169  <property name="title">Current Level</property>
170  <property name="fields">
171   <element value="current_level"/>
172  </property>
173  <property name="label">Current Level</property>
174  <property name="label_edit">Current Level</property>
175  <property name="description">The last level school fee has been paid for</property>
176  <property name="help">The last level school fee has been paid for</property>
177  <property name="readonly_layout_modes"/>
178  <property name="hidden_layout_modes"/>
179  <property name="hidden_readonly_layout_modes"/>
180  <property name="vocabulary">courselevel</property>
181 </widget>
182 <widget name="current_verdict" meta_type="WAeUP Verdict Widget">
183  <property name="title">Current Verdict</property>
184  <property name="fields">
185   <element value="current_verdict"/>
186  </property>
187  <property name="label">Current Verdict</property>
188  <property name="label_edit">Current Verdict</property>
189  <property name="description">The verdict of the current level</property>
190  <property name="help">The verdict of the current level</property>
191  <property name="readonly_layout_modes"/>
192  <property name="hidden_layout_modes"/>
193  <property name="hidden_readonly_layout_modes"/>
194  <property name="vocabulary">verdicts</property>
195 </widget>
196 <widget name="entry_session" meta_type="Select Widget">
197  <property name="title">Entry Session</property>
198  <property name="fields">
199   <element value="entry_session"/>
200  </property>
201  <property name="label">Entry Session</property>
202  <property name="label_edit">Entry Session</property>
203  <property name="readonly_layout_modes"/>
204  <property name="hidden_layout_modes"/>
205  <property name="hidden_readonly_layout_modes"/>
206  <property name="vocabulary">sessions</property>
207 </widget>
208 <widget name="jamb_reg_no" meta_type="String Widget">
209  <property name="title">JAMB Registration No</property>
210  <property name="fields">
211   <element value="jamb_reg_no"/>
212  </property>
213  <property name="label">JAMB Registration No</property>
214  <property name="label_edit">JAMB Registration No</property>
215  <property name="readonly_layout_modes"/>
216  <property name="hidden_layout_modes"/>
217  <property name="hidden_readonly_layout_modes"/>
218  <property name="display_width">10</property>
219 </widget>
220 <widget name="jamb_score" meta_type="String Widget">
221  <property name="title">JAMB Score</property>
222  <property name="fields">
223   <element value="jamb_score"/>
224  </property>
225  <property name="label">JAMB Score</property>
226  <property name="label_edit">JAMB Score</property>
227  <property name="readonly_layout_modes"/>
228  <property name="hidden_layout_modes"/>
229  <property name="hidden_readonly_layout_modes"/>
230  <property name="display_width">3</property>
231 </widget>
232 <widget name="matric_no" meta_type="String Widget">
233  <property name="title">Matriculation No</property>
234  <property name="fields">
235   <element value="matric_no"/>
236  </property>
237  <property name="label">Matriculation No</property>
238  <property name="label_edit">Matriculation No</property>
239  <property name="readonly_layout_modes"/>
240  <property name="hidden_layout_modes"/>
241  <property name="hidden_readonly_layout_modes"/>
242  <property name="display_width">10</property>
243 </widget>
244 <widget name="sex" meta_type="WAeUP Sex Widget">
245  <property name="title">Sex</property>
246  <property name="fields">
247   <element value="sex"/>
248  </property>
249  <property name="label">Sex</property>
250  <property name="label_edit">Sex</property>
251  <property name="readonly_layout_modes"/>
252  <property name="hidden_layout_modes"/>
253  <property name="hidden_readonly_layout_modes"/>
254  <property name="label_false">male</property>
255  <property name="label_true">female</property>
256  <property name="render_format">select</property>
257 </widget>
258 <widget name="study_course" meta_type="StudyCourse Widget">
259  <property name="title">Study Course Code</property>
260  <property name="fields">
261   <element value="study_course"/>
262  </property>
263  <property name="label">Study Course Code</property>
264  <property name="label_edit">Study Course Code</property>
265  <property name="is_required">True</property>
266  <property name="readonly_layout_modes"/>
267  <property name="hidden_layout_modes"/>
268  <property name="hidden_readonly_layout_modes"/>
269  <property name="display_width">10</property>
270 </widget>
271 <table>
272  <row>
273   <cell name="firstname"/>
274  </row>
275  <row>
276   <cell name="middlename"/>
277  </row>
278  <row>
279   <cell name="lastname"/>
280  </row>
281  <row>
282   <cell name="sex"/>
283  </row>
284  <row>
285   <cell name="email"/>
286  </row>
287  <row>
288   <cell name="phone"/>
289  </row>
290  <row>
291   <cell name="address"/>
292  </row>
293  <row>
294   <cell name="entry_mode"/>
295  </row>
296  <row>
297   <cell name="current_mode"/>
298  </row>
299  <row>
300   <cell name="entry_session"/>
301  </row>
302  <row>
303   <cell name="current_session"/>
304  </row>
305  <row>
306   <cell name="current_level"/>
307  </row>
308  <row>
309   <cell name="current_verdict"/>
310  </row>
311  <row>
312   <cell name="jamb_reg_no"/>
313  </row>
314  <row>
315   <cell name="jamb_score"/>
316  </row>
317  <row>
318   <cell name="matric_no"/>
319  </row>
320  <row>
321   <cell name="study_course"/>
322  </row>
323
324 </table>
325</object>
Note: See TracBrowser for help on using the repository browser.