source: WAeUP_SRP/base/profiles/default/layouts/course.xml @ 3667

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

implement lecturer module (for demo purposes only)

  • Property svn:keywords set to Id
File size: 4.9 KB
Line 
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>
65  <property name="label">Credits</property>
66  <property name="label_edit">Credits</property>
67  <property name="readonly_layout_modes"/>
68  <property name="hidden_layout_modes"/>
69  <property name="hidden_readonly_layout_modes"/>
70 </widget>
71 <widget name="former_code" meta_type="String Widget">
72  <property name="title">Former Code</property>
73  <property name="fields">
74   <element value="former_code"/>
75  </property>
76  <property name="label">Former Code</property>
77  <property name="label_edit">Former Code</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="org_code" meta_type="String Widget">
83  <property name="title">Original Code</property>
84  <property name="fields">
85   <element value="org_code"/>
86  </property>
87  <property name="label">Original Code</property>
88  <property name="label_edit">Original Code</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="passmark" meta_type="Int Widget">
94  <property name="title">Passmark</property>
95  <property name="fields">
96   <element value="passmark"/>
97  </property>
98  <property name="is_required">False</property>
99  <property name="label">Passmark</property>
100  <property name="label_edit">Passmark</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="semester" meta_type="Int Widget">
106  <property name="title">Semester</property>
107  <property name="fields">
108   <element value="semester"/>
109  </property>
110  <property name="label">Semester</property>
111  <property name="label_edit">Semester</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="title" meta_type="String Widget">
117  <property name="title">Course Title</property>
118  <property name="fields">
119   <element value="title"/>
120  </property>
121  <property name="label">Course Title</property>
122  <property name="label_edit">Course Title</property>
123  <property name="readonly_layout_modes"/>
124  <property name="hidden_layout_modes"/>
125  <property name="hidden_readonly_layout_modes"/>
126  <property name="display_width">60</property>
127 </widget>
128 <table>
129  <row>
130   <cell name="code"/>
131  </row>
132  <row>
133   <cell name="lecturer"/>
134  </row> 
135  <row>
136   <cell name="title"/>
137  </row>
138  <row>
139   <cell name="semester"/>
140  </row>
141  <row>
142   <cell name="credits"/>
143  </row>
144  <row>
145   <cell name="passmark"/>
146  </row>
147 </table>
148</object>
149
Note: See TracBrowser for help on using the repository browser.