source: waeup_product/trunk/profiles/default/layouts/accommodation.xml @ 221

Last change on this file since 221 was 218, checked in by joachim, 18 years ago

=new

File size: 5.8 KB
Line 
1<?xml version="1.0"?>
2<object name="accommodation" 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="beds_assigned" meta_type="Int Widget">
10  <property name="fields">
11   <element value="beds_assigned"/>
12  </property>
13  <property name="is_required">True</property>
14  <property name="label">Nr. of Assigned Beds</property>
15  <property name="label_edit">Nr. of Assigned Beds</property>
16  <property name="help">Number of beds already assigned to students</property>
17 </widget>
18 <widget name="beds_assigned_list" meta_type="Ordered List Widget">
19  <property name="fields">
20   <element value="beds_assigned_list"/>
21  </property>
22  <property name="label">Assigned Beds</property>
23  <property name="label_edit">Assigned Beds</property>
24  <property name="help">List of beds already assigned to students</property>
25 </widget>
26 <widget name="beds_for_final" meta_type="MultiSelect Widget">
27  <property name="fields">
28   <element value="beds_for_final"/>
29  </property>
30  <property name="is_required">True</property>
31  <property name="label">Bedspaces for final</property>
32  <property name="label_edit">Bedspaces for final</property>
33  <property name="help">Name the bedspaces for final year students</property>
34  <property name="readonly_layout_modes"/>
35  <property name="hidden_layout_modes"/>
36  <property name="hidden_readonly_layout_modes"/>
37  <property name="vocabulary">waeup_bed_letters</property>
38 </widget>
39 <widget name="beds_for_fresh" meta_type="MultiSelect Widget">
40  <property name="fields">
41   <element value="beds_for_fresh"/>
42  </property>
43  <property name="is_required">True</property>
44  <property name="label">Bedspaces for fresh</property>
45  <property name="label_edit">Bedspaces for fresh</property>
46  <property name="help">Name the bedspaces for first year students</property>
47  <property name="readonly_layout_modes"/>
48  <property name="hidden_layout_modes"/>
49  <property name="hidden_readonly_layout_modes"/>
50  <property name="vocabulary">waeup_bed_letters</property>
51 </widget>
52 <widget name="beds_for_returning" meta_type="MultiSelect Widget">
53  <property name="fields">
54   <element value="beds_for_returning"/>
55  </property>
56  <property name="is_required">True</property>
57  <property name="label">Bedspaces for returning</property>
58  <property name="label_edit">Bedspaces for returning</property>
59  <property
60     name="help">Name the bedspaces for returning year students</property>
61  <property name="readonly_layout_modes"/>
62  <property name="hidden_layout_modes"/>
63  <property name="hidden_readonly_layout_modes"/>
64  <property name="vocabulary">waeup_bed_letters</property>
65 </widget>
66 <widget name="beds_per_room" meta_type="Select Widget">
67  <property name="fields">
68   <element value="beds_per_room"/>
69  </property>
70  <property name="is_required">True</property>
71  <property name="label">Beds per Room</property>
72  <property name="label_edit">Beds per Room</property>
73  <property name="vocabulary">range10</property>
74 </widget>
75 <widget name="heading" meta_type="String Widget">
76  <property name="fields">
77   <element value="heading"/>
78  </property>
79  <property name="is_required">True</property>
80  <property name="label">Hall Name</property>
81  <property name="label_edit">Hall Name</property>
82  <property name="display_width">40</property>
83  <property name="size_max">40</property>
84 </widget>
85 <widget name="nr_of_blocks" meta_type="Select Widget">
86  <property name="fields">
87   <element value="nr_of_blocks"/>
88  </property>
89  <property name="is_required">True</property>
90  <property name="label">Nr of Blocks</property>
91  <property name="label_edit">Nr of Blocks</property>
92  <property name="vocabulary">range10</property>
93 </widget>
94 <widget name="nr_of_floors" meta_type="Select Widget">
95  <property name="fields">
96   <element value="nr_of_floors"/>
97  </property>
98  <property name="is_required">True</property>
99  <property name="label">Nr of Floors </property>
100  <property name="label_edit">Nr of Floors</property>
101  <property name="vocabulary">range5</property>
102 </widget>
103 <widget name="rooms_per_floor" meta_type="Select Widget">
104  <property name="fields">
105   <element value="rooms_per_floor"/>
106  </property>
107  <property name="is_required">True</property>
108  <property name="label">Rooms per Floor</property>
109  <property name="label_edit">Rooms per Floor</property>
110  <property name="vocabulary">range50</property>
111 </widget>
112 <widget name="text" meta_type="Text Widget">
113  <property name="fields">
114   <element value="text"/>
115  </property>
116  <property name="label">Text</property>
117  <property name="label_edit">Text</property>
118  <property name="help">Short Description</property>
119  <property name="is_i18n">True</property>
120  <property name="hidden_layout_modes"/>
121  <property name="css_class">description</property>
122  <property name="width">72</property>
123 </widget>
124 <widget name="which_sex" meta_type="Boolean Widget">
125  <property name="fields">
126   <element value="which_sex"/>
127  </property>
128  <property name="label">Sex</property>
129  <property name="label_edit">Sex</property>
130  <property name="label_false">male</property>
131  <property name="label_true">female</property>
132 </widget>
133 <table>
134  <row>
135   <cell name="heading"/>
136  </row>
137  <row>
138   <cell name="text"/>
139  </row>
140  <row>
141   <cell name="which_sex"/>
142  </row>
143  <row>
144   <cell name="nr_of_blocks"/>
145  </row>
146  <row>
147   <cell name="nr_of_floors"/>
148  </row>
149  <row>
150   <cell name="rooms_per_floor"/>
151  </row>
152  <row>
153   <cell name="beds_per_room"/>
154  </row>
155  <row>
156   <cell name="beds_for_fresh"/>
157  </row>
158  <row>
159   <cell name="beds_for_returning"/>
160  </row>
161  <row>
162   <cell name="beds_for_final"/>
163  </row>
164 </table>
165</object>
Note: See TracBrowser for help on using the repository browser.