source: WAeUP_SRP/trunk/profiles/default/layouts/import_course_result.xml @ 3804

Last change on this file since 3804 was 3727, checked in by Henrik Bettermann, 16 years ago
  • more customizations for OIS
  • fetch all student object titles from getStudentObjectTitles.py
File size: 8.4 KB
Line 
1<?xml version="1.0"?>
2<?xml-stylesheet type="text/xsl" href="layout.xsl"?>
3<object name="import_course_result" 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="import_mode" meta_type="Select Widget">
11  <property name="title">Import Mode</property>
12  <property name="fields">
13   <element value="import_mode"/>
14  </property>
15  <property name="is_required">True</property>
16  <property name="label">Import Mode</property>
17  <property name="label_edit">Import Mode</property>
18  <property name="readonly_layout_modes"/>
19  <property name="hidden_layout_modes"/>
20  <property name="hidden_readonly_layout_modes"/>
21  <property name="vocabulary">import_modes</property>
22 </widget>
23  <widget name="id" meta_type="String Widget">
24    <property name="title">Student Id</property>
25    <property name="fields">
26      <element value="id"/>
27    </property>
28    <property name="is_required">False</property>
29    <property name="label">Student Id</property>
30    <property name="label_edit">Student Id</property>
31    <property name="readonly_layout_modes">
32      <element value="edit"/>
33    </property>
34    <property name="hidden_layout_modes"/>
35    <property name="hidden_readonly_layout_modes"/>
36    <property name="display_width">8</property>
37  </widget>
38
39  <widget name="matric_no" meta_type="String Widget">
40    <property name="title">MatricNo</property>
41    <property name="fields">
42      <element value="matric_no"/>
43    </property>
44    <property name="is_required">False</property>
45    <property name="label">MatricNo</property>
46    <property name="label_edit">MatricNo</property>
47    <property name="readonly_layout_modes">
48      <element value="edit"/>
49    </property>
50    <property name="hidden_layout_modes"/>
51    <property name="hidden_readonly_layout_modes"/>
52    <property name="display_width">12</property>
53  </widget>
54
55  <widget name="code" meta_type="String Widget">
56    <property name="title">Course Id</property>
57    <property name="fields">
58      <element value="code"/>
59    </property>
60    <property name="is_required">True</property>
61    <property name="label">Course Id</property>
62    <property name="label_edit">Course Id</property>
63    <property name="readonly_layout_modes">
64      <element value="edit"/>
65    </property>
66    <property name="hidden_layout_modes"/>
67    <property name="hidden_readonly_layout_modes"/>
68    <property name="display_width">8</property>
69  </widget>
70
71  <widget name="level_id" meta_type="Select Widget">
72    <property name="title">Level</property>
73    <property name="fields">
74      <element value="level_id"/>
75    </property>
76    <property name="is_required">True</property>
77    <property name="label">Level</property>
78    <property name="label_edit">Level</property>
79    <property name="readonly_layout_modes"/>
80    <property name="hidden_layout_modes"/>
81    <property name="hidden_readonly_layout_modes"/>
82    <property name="vocabulary">student_levels</property>
83  </widget>
84
85  <widget name="session_id" meta_type="WAeUP Session Widget">
86    <property name="title">session</property>
87    <property name="fields">
88      <element value="session_id"/>
89    </property>
90    <property name="is_required">False</property>
91    <property name="label">session</property>
92    <property name="label_edit">session</property>
93    <property name="readonly_layout_modes"/>
94    <property name="hidden_layout_modes"/>
95    <property name="hidden_readonly_layout_modes"/>
96    <property name="vocabulary">sessions</property>
97  </widget>
98
99  <widget name="core_or_elective" meta_type="WAeUP Boolean Widget">
100    <property name="title">Core or Elective</property>
101    <property name="fields">
102      <element value="core_or_elective"/>
103    </property>
104    <property name="label">Core or Elective</property>
105    <property name="label_edit">Core or Elective</property>
106    <property name="readonly_layout_modes"/>
107    <property name="hidden_layout_modes"/>
108    <property name="hidden_readonly_layout_modes"/>
109    <property name="label_false">elective</property>
110    <property name="label_true">core</property>
111  </widget>
112
113  <widget name="carry_over" meta_type="WAeUP Boolean Widget">
114    <property name="title">carry over</property>
115    <property name="fields">
116      <element value="carry_over"/>
117    </property>
118    <property name="label">carry over</property>
119    <property name="label_edit">carry over</property>
120    <property name="readonly_layout_modes"/>
121    <property name="hidden_layout_modes"/>
122    <property name="hidden_readonly_layout_modes"/>
123    <property name="label_false">False</property>
124    <property name="label_true">True</property>
125  </widget>
126
127  <widget name="semester" meta_type="Int Widget">
128    <property name="title">Semester</property>
129    <property name="fields">
130      <element value="semester"/>
131    </property>
132    <property name="label">Semester</property>
133    <property name="label_edit">Semester</property>
134    <property name="readonly_layout_modes"/>
135    <property name="hidden_layout_modes"/>
136    <property name="hidden_readonly_layout_modes"/>
137  </widget>
138
139  <widget name="score" meta_type="Int Widget">
140    <property name="title">Score</property>
141    <property name="fields">
142      <element value="score"/>
143    </property>
144    <property name="is_required">False</property>
145    <property name="label">Score</property>
146    <property name="label_edit">Score</property>
147    <property name="readonly_layout_modes">
148    </property>
149    <property name="hidden_layout_modes"/>
150    <property name="hidden_readonly_layout_modes"/>
151    <property name="min_value">1</property>
152    <property name="max_value">100</property>
153  </widget>
154
155  <widget name="ca1" meta_type="Int Widget">
156    <property name="title">ATL</property>
157    <property name="fields">
158      <element value="atl"/>
159    </property>
160    <property name="is_required">False</property>
161    <property name="label">ATL</property>
162    <property name="label_edit">ATL</property>
163    <property name="readonly_layout_modes">
164    </property>
165    <property name="hidden_layout_modes"/>
166    <property name="hidden_readonly_layout_modes"/>
167    <property name="min_value">1</property>
168    <property name="max_value">4</property>
169  </widget>
170
171  <widget name="ca1" meta_type="Int Widget">
172    <property name="title">CA Score 1</property>
173    <property name="fields">
174      <element value="ca1"/>
175    </property>
176    <property name="is_required">False</property>
177    <property name="label">CA Score 1</property>
178    <property name="label_edit">Ca Score 1</property>
179    <property name="readonly_layout_modes">
180    </property>
181    <property name="hidden_layout_modes"/>
182    <property name="hidden_readonly_layout_modes"/>
183    <property name="min_value">1</property>
184    <property name="max_value">100</property>
185  </widget>
186  <widget name="ca2" meta_type="Int Widget">
187    <property name="title">CA Score 2</property>
188    <property name="fields">
189      <element value="cascore"/>
190    </property>
191    <property name="is_required">False</property>
192    <property name="label">CA Score 2</property>
193    <property name="label_edit">Ca Score 2</property>
194    <property name="readonly_layout_modes">
195    </property>
196    <property name="hidden_layout_modes"/>
197    <property name="hidden_readonly_layout_modes"/>
198    <property name="min_value">1</property>
199    <property name="max_value">100</property>
200  </widget>
201  <widget name="exam" meta_type="Int Widget">
202    <property name="title">Exam Score</property>
203    <property name="fields">
204      <element value="exam"/>
205    </property>
206    <property name="is_required">False</property>
207    <property name="label">Exam Score</property>
208    <property name="label_edit">Exam Score</property>
209    <property name="readonly_layout_modes">
210    </property>
211    <property name="hidden_layout_modes"/>
212    <property name="hidden_readonly_layout_modes"/>
213    <property name="min_value">1</property>
214    <property name="max_value">100</property>
215  </widget>   
216
217  <widget name="grade" meta_type="Select Widget">
218    <property name="title">Grade</property>
219    <property name="fields">
220      <element value="grade"/>
221    </property>
222    <property name="label">Grade</property>
223    <property name="label_edit">Grade</property>
224    <property name="readonly_layout_modes">
225    </property>
226    <property name="hidden_layout_modes"/>
227    <property name="hidden_readonly_layout_modes"/>
228  </widget>
229</object>
230
Note: See TracBrowser for help on using the repository browser.