source: WAeUP_SRP/trunk/profiles/default/layouts/course.xml @ 15185

Last change on this file since 15185 was 3981, checked in by Henrik Bettermann, 16 years ago

credits and semester are required

File size: 5.2 KB
RevLine 
[3689]1<?xml version="1.0"?>
2<?xml-stylesheet type="text/xsl" href="layout.xsl"?>
3<object name="course" 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="code" meta_type="CourseId Widget">
11 <property name="title">Course Id</property>
12 <property name="fields">
13  <element value="code"/>
14 </property>
15 <property name="is_required">True</property>
16 <property name="label">Course Id</property>
17 <property name="label_edit">Course Id</property>
18 <property name="readonly_layout_modes">
19  <element value="edit"/>
20 </property>
21 <property name="hidden_layout_modes"/>
22 <property name="hidden_readonly_layout_modes"/>
23 <property name="display_width">8</property>
24</widget>
25
26 <widget name="lecturer" meta_type="String Widget">
27  <property name="title">Lecturer Id</property>
28  <property name="fields">
29   <element value="lecturer"/>
30  </property>
31  <property name="label">Lecturer Id</property>
32  <property name="label_edit">Lecturer Id</property>
33  <property name="readonly_layout_modes"/>
34  <property name="hidden_layout_modes"/>
35  <property name="hidden_readonly_layout_modes"/>
36 </widget>
37
38  <widget name="adm_status" meta_type="String Widget">
39  <property name="title">Adm Status</property>
40  <property name="fields">
41   <element value="adm_status"/>
42  </property>
43  <property name="label">Adm Status</property>
44  <property name="label_edit">Adm Status</property>
45  <property name="readonly_layout_modes"/>
46  <property name="hidden_layout_modes"/>
47  <property name="hidden_readonly_layout_modes"/>
48 </widget>
49 <widget name="category" meta_type="String Widget">
50  <property name="title">Category</property>
51  <property name="fields">
52   <element value="category"/>
53  </property>
54  <property name="label">Category</property>
55  <property name="label_edit">Category</property>
56  <property name="readonly_layout_modes"/>
57  <property name="hidden_layout_modes"/>
58  <property name="hidden_readonly_layout_modes"/>
59 </widget>
60 <widget name="credits" meta_type="Int Widget">
61  <property name="title">Credits</property>
62  <property name="fields">
63   <element value="credits"/>
64  </property>
[3981]65  <property name="is_required">True</property> 
[3689]66  <property name="label">Credits</property>
67  <property name="label_edit">Credits</property>
68  <property name="readonly_layout_modes"/>
69  <property name="hidden_layout_modes"/>
70  <property name="hidden_readonly_layout_modes"/>
71 </widget>
72 <widget name="former_code" meta_type="String Widget">
73  <property name="title">Former Code</property>
74  <property name="fields">
75   <element value="former_code"/>
76  </property>
77  <property name="label">Former Code</property>
78  <property name="label_edit">Former Code</property>
79  <property name="readonly_layout_modes"/>
80  <property name="hidden_layout_modes"/>
81  <property name="hidden_readonly_layout_modes"/>
82 </widget>
83 <widget name="org_code" meta_type="String Widget">
84  <property name="title">Original Code</property>
85  <property name="fields">
86   <element value="org_code"/>
87  </property>
88  <property name="label">Original Code</property>
89  <property name="label_edit">Original Code</property>
90  <property name="readonly_layout_modes"/>
91  <property name="hidden_layout_modes"/>
92  <property name="hidden_readonly_layout_modes"/>
93 </widget>
94 <widget name="passmark" meta_type="Int Widget">
95  <property name="title">Passmark</property>
96  <property name="fields">
97   <element value="passmark"/>
98  </property>
99  <property name="is_required">False</property>
100  <property name="label">Passmark</property>
101  <property name="label_edit">Passmark</property>
102  <property name="readonly_layout_modes"/>
103  <property name="hidden_layout_modes"/>
104  <property name="hidden_readonly_layout_modes"/>
105 </widget>
106 <widget name="semester" meta_type="Int Widget">
[3980]107  <property name="title">Semester/Term</property>
[3689]108  <property name="fields">
109   <element value="semester"/>
110  </property>
[3981]111  <property name="is_required">True</property>
[3980]112  <property name="label">Semester/Term</property>
113  <property name="label_edit">Semester/Term (1, 2 or 3)</property>
[3689]114  <property name="readonly_layout_modes"/>
115  <property name="hidden_layout_modes"/>
116  <property name="hidden_readonly_layout_modes"/>
[3980]117  <property name="is_limited">True</property>
118  <property name="min_value">1</property>
119  <property name="max_value">3</property>
[3689]120 </widget>
[3980]121
[3689]122 <widget name="title" meta_type="String Widget">
123  <property name="title">Course Title</property>
124  <property name="fields">
125   <element value="title"/>
126  </property>
127  <property name="label">Course Title</property>
128  <property name="label_edit">Course Title</property>
129  <property name="readonly_layout_modes"/>
130  <property name="hidden_layout_modes"/>
131  <property name="hidden_readonly_layout_modes"/>
132  <property name="display_width">60</property>
133 </widget>
134 <table>
135  <row>
136   <cell name="code"/>
137  </row>
138  <row>
139   <cell name="lecturer"/>
140  </row> 
141  <row>
142   <cell name="title"/>
143  </row>
144  <row>
145   <cell name="semester"/>
146  </row>
147  <row>
148   <cell name="credits"/>
149  </row>
150  <row>
151   <cell name="passmark"/>
152  </row>
153 </table>
154</object>
155
Note: See TracBrowser for help on using the repository browser.