source: waeup_product/trunk/profiles/default/layouts/course.xml @ 219

Last change on this file since 219 was 199, checked in by joachim, 19 years ago

=profiles created upgrade to CPS3.4

File size: 3.5 KB
Line 
1<?xml version="1.0"?>
2<object name="course" meta_type="CPS Layout">
3 <property name="layout_create_method"></property>
4 <property name="layout_edit_method"></property>
5 <property name="layout_view_method"></property>
6 <property name="style_prefix">layout_waeup_</property>
7 <property name="flexible_widgets"/>
8 <property name="validate_values_expr"></property>
9 <widget name="code" meta_type="String Widget">
10  <property name="title">Code</property>
11  <property name="fields">
12   <element value="code"/>
13  </property>
14  <property name="is_required">True</property>
15  <property name="label">Code</property>
16  <property name="label_edit">Code</property>
17  <property name="display_width">10</property>
18 </widget>
19 <widget name="core_elective" meta_type="Boolean Widget">
20  <property name="fields">
21   <element value="core_elective"/>
22  </property>
23  <property name="is_required">True</property>
24  <property name="label">Core or elective</property>
25  <property name="label_edit">Core or elective</property>
26  <property name="label_false">Elective Course</property>
27  <property name="label_true">Core Course</property>
28 </widget>
29 <widget name="credit" meta_type="Int Widget">
30  <property name="fields">
31   <element value="credit"/>
32  </property>
33  <property name="is_required">True</property>
34  <property name="label">Credit</property>
35  <property name="label_edit">Credit</property>
36 </widget>
37 <widget name="heading" meta_type="String Widget">
38  <property name="fields">
39   <element value="heading"/>
40  </property>
41  <property name="is_required">True</property>
42  <property name="label">Title</property>
43  <property name="label_edit">Title</property>
44  <property name="help">Course Title</property>
45  <property name="display_width">40</property>
46  <property name="size_max">40</property>
47 </widget>
48 <widget name="level" meta_type="Select Widget">
49  <property name="fields">
50   <element value="level"/>
51  </property>
52  <property name="is_required">True</property>
53  <property name="label">Level</property>
54  <property name="label_edit">Level</property>
55  <property name="vocabulary">courselevel</property>
56 </widget>
57 <widget name="nr_of_seats" meta_type="Int Widget">
58  <property name="fields">
59   <element value="nr_of_seats"/>
60  </property>
61  <property name="is_required">True</property>
62  <property name="label">Nr. of seats</property>
63  <property name="label_edit">Nr. of seats</property>
64 </widget>
65 <widget name="semester" meta_type="Boolean Widget">
66  <property name="fields">
67   <element value="semester"/>
68  </property>
69  <property name="is_required">True</property>
70  <property name="label">Semester</property>
71  <property name="label_edit">Semester</property>
72  <property name="label_false">Second Semester</property>
73  <property name="label_true">First Semester</property>
74 </widget>
75 <widget name="text" meta_type="Text Widget">
76  <property name="fields">
77   <element value="text"/>
78  </property>
79  <property name="label">Text</property>
80  <property name="label_edit">Text</property>
81  <property name="help">Short Description</property>
82  <property name="is_i18n">True</property>
83  <property name="hidden_layout_modes"/>
84  <property name="css_class">description</property>
85  <property name="width">72</property>
86 </widget>
87 <table>
88  <row>
89   <cell name="heading"/>
90  </row>
91  <row>
92   <cell name="text"/>
93  </row>
94  <row>
95   <cell name="level"/>
96  </row>
97  <row>
98   <cell name="code"/>
99  </row>
100  <row>
101   <cell name="semester"/>
102  </row>
103  <row>
104   <cell name="credit"/>
105  </row>
106  <row>
107   <cell name="core_elective"/>
108  </row>
109  <row>
110   <cell name="nr_of_seats"/>
111  </row>
112 </table>
113</object>
Note: See TracBrowser for help on using the repository browser.