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

Last change on this file since 1735 was 1728, checked in by joachim, 18 years ago

reworked addstudent and import_student as a basis for massimport.

File size: 9.0 KB
RevLine 
[1728]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="phone" meta_type="String Widget">
23  <property name="title">Phone</property>
24  <property name="fields">
25   <element value="phone"/>
26  </property>
27  <property name="label">Phone</property>
28  <property name="label_edit">Phone</property>
29  <property name="readonly_layout_modes"/>
30  <property name="hidden_layout_modes"/>
31  <property name="hidden_readonly_layout_modes"/>
32  <property name="display_width">15</property>
33 </widget>
34 <widget name="address" meta_type="String Widget">
35  <property name="title">Address</property>
36  <property name="fields">
37   <element value="address"/>
38  </property>
39  <property name="label">Address</property>
40  <property name="label_edit">Address</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">60</property>
45 </widget>
46 <widget name="state" meta_type="Select Widget">
47  <property name="title">State</property>
48  <property name="fields">
49   <element value="state"/>
50  </property>
51  <property name="label">State</property>
52  <property name="label_edit">State</property>
53  <property name="readonly_layout_modes"/>
54  <property name="hidden_layout_modes"/>
55  <property name="hidden_readonly_layout_modes"/>
56  <property name="vocabulary">states</property>
57 </widget>
58 <widget name="lga" meta_type="Select Widget">
59  <property name="title">LGA</property>
60  <property name="fields">
61   <element value="lga"/>
62  </property>
63  <property name="label">LGA</property>
64  <property name="label_edit">LGA</property>
65  <property name="readonly_layout_modes"/>
66  <property name="hidden_layout_modes"/>
67  <property name="hidden_readonly_layout_modes"/>
68  <property name="vocabulary">local_gov_areas</property>
69 </widget>
70 <widget name="firstname" meta_type="String Widget">
71  <property name="title">Firstname</property>
72  <property name="fields">
73   <element value="firstname"/>
74  </property>
75  <property name="is_required">True</property>
76  <property name="label">Firstname</property>
77  <property name="label_edit">Firstname</property>
78  <property name="readonly_layout_modes"/>
79  <property name="hidden_layout_modes"/>
80  <property name="hidden_readonly_layout_modes"/>
81 </widget>
82 <widget name="middlename" meta_type="String Widget">
83  <property name="title">Middlename</property>
84  <property name="fields">
85   <element value="middlename"/>
86  </property>
87  <property name="label">Middlename</property>
88  <property name="label_edit">Middlename</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="lastname" meta_type="String Widget">
94  <property name="title">Lastname</property>
95  <property name="fields">
96   <element value="lastname"/>
97  </property>
98  <property name="is_required">True</property>
99  <property name="label">Lastname</property>
100  <property name="label_edit">Lastname</property>
101  <property name="readonly_layout_modes"/>
102  <property name="hidden_layout_modes"/>
103  <property name="hidden_readonly_layout_modes"/>
104 </widget>
105 <widget name="entry_mode" meta_type="Select Widget">
106  <property name="title">Entry Mode</property>
107  <property name="fields">
108   <element value="entry_mode"/>
109  </property>
110  <property name="label">Entry Mode</property>
111  <property name="label_edit">Entry Mode</property>
112  <property name="readonly_layout_modes"/>
113  <property name="hidden_layout_modes"/>
114  <property name="hidden_readonly_layout_modes"/>
115  <property name="vocabulary">entry_modes</property>
116 </widget>
117 <widget name="current_session" meta_type="Select Widget">
118  <property name="title">Current Session</property>
119  <property name="fields">
120   <element value="current_session"/>
121  </property>
122  <property name="label">Current Session</property>
123  <property name="label_edit">Current Session</property>
124  <property name="readonly_layout_modes"/>
125  <property name="hidden_layout_modes"/>
126  <property name="hidden_readonly_layout_modes"/>
127  <property name="vocabulary">sessions</property>
128 </widget>
129 <widget name="current_level" meta_type="Select Widget">
130  <property name="title">Current Level</property>
131  <property name="fields">
132   <element value="current_level"/>
133  </property>
134  <property name="label">Current Level</property>
135  <property name="label_edit">Current Level</property>
136  <property name="readonly_layout_modes"/>
137  <property name="hidden_layout_modes"/>
138  <property name="hidden_readonly_layout_modes"/>
139  <property name="vocabulary">courselevel</property>
140 </widget>
141 <widget name="current_verdict" meta_type="Select Widget">
142  <property name="title">Current Verdict</property>
143  <property name="fields">
144   <element value="current_verdict"/>
145  </property>
146  <property name="label">Current Verdict</property>
147  <property name="label_edit">Current Verdict</property>
148  <property name="readonly_layout_modes"/>
149  <property name="hidden_layout_modes"/>
150  <property name="hidden_readonly_layout_modes"/>
151  <property name="vocabulary">verdicts</property>
152 </widget>
153 <widget name="entry_session" meta_type="Select Widget">
154  <property name="title">Entry Session</property>
155  <property name="fields">
156   <element value="entry_session"/>
157  </property>
158  <property name="label">Entry Session</property>
159  <property name="label_edit">Entry Session</property>
160  <property name="readonly_layout_modes"/>
161  <property name="hidden_layout_modes"/>
162  <property name="hidden_readonly_layout_modes"/>
163  <property name="vocabulary">sessions</property>
164 </widget>
165 <widget name="jamb_reg_no" meta_type="String Widget">
166  <property name="title">JAMB Registration No</property>
167  <property name="fields">
168   <element value="jamb_reg_no"/>
169  </property>
170  <property name="label">JAMB Registration No</property>
171  <property name="label_edit">JAMB Registration No</property>
172  <property name="readonly_layout_modes"/>
173  <property name="hidden_layout_modes"/>
174  <property name="hidden_readonly_layout_modes"/>
175  <property name="display_width">10</property>
176 </widget>
177 <widget name="matric_no" meta_type="String Widget">
178  <property name="title">Matriculation No</property>
179  <property name="fields">
180   <element value="matric_no"/>
181  </property>
182  <property name="label">Matriculation No</property>
183  <property name="label_edit">Matriculation No</property>
184  <property name="readonly_layout_modes"/>
185  <property name="hidden_layout_modes"/>
186  <property name="hidden_readonly_layout_modes"/>
187  <property name="display_width">10</property>
188 </widget>
189 <widget name="sex" meta_type="Boolean Widget">
190  <property name="title">Sex</property>
191  <property name="fields">
192   <element value="sex"/>
193  </property>
194  <property name="label">Sex</property>
195  <property name="label_edit">Sex</property>
196  <property name="readonly_layout_modes"/>
197  <property name="hidden_layout_modes"/>
198  <property name="hidden_readonly_layout_modes"/>
199  <property name="label_false">male</property>
200  <property name="label_true">female</property>
201  <property name="render_format">select</property>
202 </widget>
203 <widget name="study_course" meta_type="StudyCourse Widget">
204  <property name="title">Study Course Code</property>
205  <property name="fields">
206   <element value="study_course"/>
207  </property>
208  <property name="label">Study Course Code</property>
209  <property name="label_edit">Study Course Code</property>
210  <property name="is_required">True</property>
211  <property name="readonly_layout_modes"/>
212  <property name="hidden_layout_modes"/>
213  <property name="hidden_readonly_layout_modes"/>
214  <property name="display_width">10</property>
215 </widget>
216 <table>
217  <row>
218   <cell name="firstname"/>
219  </row>
220  <row>
221   <cell name="middlename"/>
222  </row>
223  <row>
224   <cell name="lastname"/>
225  </row>
226  <row>
227   <cell name="sex"/>
228  </row>
229  <row>
230   <cell name="email"/>
231  </row>
232  <row>
233   <cell name="phone"/>
234  </row>
235  <row>
236   <cell name="address"/>
237  </row>
238  <row>
239   <cell name="entry_mode"/>
240  </row>
241  <row>
242   <cell name="entry_session"/>
243  </row>
244  <row>
245   <cell name="jamb_reg_no"/>
246  </row> 
247  <row>
248   <cell name="matric_no"/>
249  </row>
250  <row>
251   <cell name="study_course"/>
252  </row>
253  <row>
254   <cell name="current_session"/>
255  </row>
256  <row>
257   <cell name="current_level"/>
258  </row>
259  <row>
260   <cell name="current_verdict"/>
261  </row>
262 </table>
263</object>
Note: See TracBrowser for help on using the repository browser.