-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathui_schema.xml
425 lines (424 loc) · 17.5 KB
/
ui_schema.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
<?xml version="1.0" encoding="utf-8"?>
<h:html xmlns="http://www.w3.org/2002/xforms" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:h="http://www.w3.org/1999/xhtml" xmlns:jr="http://openrosa.org/javarosa" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<!-- ****** -->
<!--FAIMS UI Schema generated by Heurist Vsn 3.1.4, Saturday 9th of November 2013 04:03:14 AM-->
<!--Database: hdb_test_NZG Heurist user:guest guest-->
<!-- ****** -->
<h:head>
<h:title>Soils</h:title>
<!--model lists user interface tabgroups, tabs and content of tabs-->
<model>
<instance>
<faims id="soils">
<style>
<orientation>
<orientation/>
</orientation>
<even>
<layout_weight/>
</even>
</style>
<user>
<usertab>
<users/>
<samplingTeam/>
<login/>
</usertab>
</user>
<!--control tabgroup that contains button to manipulate entities: load, list, create-->
<control>
<data>
<AutoIncrement/>
<Create/>
<GeoSampleList/>
</data>
<map>
<map/>
<container1>
<child1>
<centre/>
</child1>
<child2>
<saveSettings/>
</child2>
</container1>
</map>
</control>
<!--list of tabgroups for entities-->
<!--ArchEnt / Record Type: GEOSAMPLE-->
<GeoSample>
<GeoSample_GeneralInformation>
<Site_ID/>
<Timestamp/>
<container1>
<child1>
<Latitude/>
</child1>
<child2>
<Longitude/>
</child2>
</container1>
<container2>
<child1>
<Northing/>
</child1>
<child2>
<Easting/>
</child2>
</container2>
<takeGPS/>
<Photo/>
<attachPhoto/>
</GeoSample_GeneralInformation>
<GeoSample_Top_Sample>
<Top_Sample_ID/>
<Collected/>
<Regolith_A/>
<Horizon_A/>
<Upper_Depth_A/>
<Bottom_Depth_A/>
<Dom_Size_A/>
<Fraction_A/>
<State_A/>
<next/>
</GeoSample_Top_Sample>
<GeoSample_Bottom_Sample>
<Bottom_Sample_ID/>
<Bottom_Sample_Collected/>
<Regolith_B/>
<Horizon_B/>
<Upper_Depth_B/>
<Bottom_Depth_B/>
<Dom_Size_B/>
<Fraction_B/>
<State_B/>
<next/>
</GeoSample_Bottom_Sample>
<GeoSample_Rock_Information>
<Slope/>
<Rock_Type/>
<Landuse/>
<Contamination/>
<Photo_Comments/>
<Comments/>
<Delete/>
<New/>
<Sampling_Device/>
</GeoSample_Rock_Information>
</GeoSample>
</faims>
</instance>
<!--list of numeric and blocktext(memo) attributes(fields)-->
<bind nodeset="/faims/control/data/AutoIncrement" type="decimal"/>
</model>
</h:head>
<h:body>
<!--Describes controls for each tabgroup and its nested tabs-->
<group ref="style">
<label/>
<group ref="orientation">
<label/>
<input ref="orientation">
<label>horizontal</label>
</input>
</group>
<group ref="even">
<label/>
<input ref="layout_weight">
<label>1</label>
</input>
</group>
</group>
<group ref="user">
<label>{User_List}</label>
<group ref="usertab">
<label>{User_List}</label>
<select1 ref="users">
<label>Choose User:</label>
<item>
<label>placeholder</label>
<value>placeholder</value>
</item>
</select1>
<select1 ref="samplingTeam">
<label>Sampling Team:</label>
<item>
<label>placeholder</label>
<value>placeholder</value>
</item>
</select1>
<trigger ref="login" faims_style_class="faims-blue">
<label>Login</label>
</trigger>
</group>
</group>
<group ref="control">
<label>{Control}</label>
<group ref="data">
<label>{GeoSamples}</label>
<input faims_certainty="false" faims_read_only="false" ref="AutoIncrement">
<label>Number to Start autoincrementing IDs at.</label>
</input>
<trigger ref="Create" faims_style_class="faims-blue">
<label>New {GeoSample}</label>
</trigger>
<select1 ref="GeoSampleList" appearance="compact" faims_annotation="false" faims_certainty="false" faims_style_class="menu-list">
<label>List of Saved {GeoSamples}</label>
<item>
<label>placeholder</label>
<value>placeholder</value>
</item>
</select1>
</group>
<group faims_scrollable="false" ref="map">
<label>{Map}</label>
<input ref="map" faims_map="true" faims_certainty="false" faims_annotation="false">
<label/>
</input>
<group faims_style="orientation" ref="container1">
<label/>
<group faims_style="even" ref="child1">
<label/>
<trigger ref="centre" faims_style_class="faims-blue">
<label>{centerMe}</label>
</trigger>
</group>
<group faims_style="even" ref="child2">
<label/>
<trigger ref="saveSettings" faims_style_class="faims-blue-half">
<label>{saveSettings}</label>
</trigger>
</group>
</group>
</group>
</group>
<!--GEOSAMPLE-->
<group faims_archent_type="GeoSample" ref="GeoSample">
<label>{GeoSample}</label>
<group ref="GeoSample_GeneralInformation">
<label>{GeoSample}</label>
<input ref="Site_ID" faims_attribute_name="Site ID" faims_attribute_type="measure" faims_certainty="false" faims_annotation="false" faims_read_only="true" faims_style_class="required">
<label>{Site_ID}</label>
</input>
<input ref="Timestamp" faims_attribute_name="Timestamp" faims_attribute_type="measure" faims_certainty="false" faims_annotation="false" faims_read_only="true">
<label>{Timestamp}</label>
</input>
<group faims_style="orientation" ref="container1">
<label/>
<group faims_style="even" ref="child1">
<label/>
<input ref="Latitude" faims_attribute_name="Latitude" faims_attribute_type="measure" faims_certainty="true" faims_annotation="true" faims_read_only="false">
<label>{Latitude}</label>
</input>
</group>
<group faims_style="even" ref="child2">
<label/>
<input ref="Longitude" faims_attribute_name="Longitude" faims_attribute_type="measure" faims_certainty="true" faims_annotation="true" faims_read_only="false">
<label>{Longitude}</label>
</input>
</group>
</group>
<group faims_style="orientation" ref="container2">
<label/>
<group faims_style="even" ref="child1">
<label/>
<input ref="Northing" faims_attribute_name="Northing" faims_attribute_type="measure" faims_certainty="true" faims_annotation="true" faims_read_only="false" faims_style_class="half-line">
<label>{Northing}</label>
</input>
</group>
<group faims_style="even" ref="child2">
<label/>
<input ref="Easting" faims_attribute_name="Easting" faims_attribute_type="measure" faims_certainty="true" faims_annotation="true" faims_read_only="false" faims_style_class="half-line">
<label>{Easting}</label>
</input>
</group>
</group>
<trigger ref="takeGPS" faims_style_class="faims-blue">
<label>{TakeGPS}</label>
</trigger>
<select ref="Photo" type="camera" faims_attribute_name="Photo" faims_attribute_type="measure" faims_certainty="true" faims_annotation="true" faims_read_only="false" faims_sync="true">
<label>{Photos}</label>
<item>
<label>placeholder</label>
<value>placeholder</value>
</item>
</select>
<trigger ref="attachPhoto" faims_style_class="faims-blue">
<label>Take Picture</label>
</trigger>
</group>
<group ref="GeoSample_Top_Sample">
<label>{Top_Sample}</label>
<input ref="Top_Sample_ID" faims_attribute_name="Top Sample ID" faims_attribute_type="measure" faims_certainty="false" faims_annotation="false" faims_read_only="true">
<label>{Top_Sample_ID}</label>
</input>
<select1 ref="Collected" appearance="full" faims_attribute_name="Collected" faims_attribute_type="vocab" faims_certainty="true" faims_annotation="true" faims_read_only="false">
<label>{Top_Sample_Collected?}</label>
<item>
<label>placeholder</label>
<value>placeholder</value>
</item>
</select1>
<select1 ref="Regolith_A" appearance="full" faims_attribute_name="Regolith A" faims_attribute_type="vocab" faims_certainty="true" faims_annotation="true" faims_read_only="false">
<label>{Regolith_A}</label>
<item>
<label>placeholder</label>
<value>placeholder</value>
</item>
</select1>
<select1 ref="Horizon_A" appearance="full" faims_attribute_name="Horizon A" faims_attribute_type="vocab" faims_certainty="true" faims_annotation="true" faims_read_only="false">
<label>{Horizon_A}</label>
<item>
<label>placeholder</label>
<value>placeholder</value>
</item>
</select1>
<select1 ref="Upper_Depth_A" appearance="full" faims_attribute_name="Upper Depth A" faims_attribute_type="vocab" faims_certainty="true" faims_annotation="true" faims_read_only="false">
<label>{Upper_Depth_A}</label>
<item>
<label>placeholder</label>
<value>placeholder</value>
</item>
</select1>
<select1 ref="Bottom_Depth_A" appearance="full" faims_attribute_name="Bottom Depth A" faims_attribute_type="vocab" faims_certainty="true" faims_annotation="true" faims_read_only="false">
<label>{Bottom_Depth_A}</label>
<item>
<label>placeholder</label>
<value>placeholder</value>
</item>
</select1>
<select1 ref="Dom_Size_A" faims_attribute_name="Dom Size A" faims_attribute_type="vocab" faims_certainty="true" faims_annotation="true" faims_read_only="false">
<label>{Dom_Size_A}</label>
<item>
<label>placeholder</label>
<value>placeholder</value>
</item>
</select1>
<select1 ref="Fraction_A" appearance="full" faims_attribute_name="Fraction A" faims_attribute_type="vocab" faims_certainty="true" faims_annotation="true" faims_read_only="false">
<label>{Fraction_A}</label>
<item>
<label>placeholder</label>
<value>placeholder</value>
</item>
</select1>
<select1 ref="State_A" appearance="full" faims_attribute_name="State A" faims_attribute_type="vocab" faims_certainty="true" faims_annotation="true" faims_read_only="false">
<label>{State_A}</label>
<item>
<label>placeholder</label>
<value>placeholder</value>
</item>
</select1>
<trigger ref="next" faims_style_class="faims-blue">
<label>{Next}</label>
</trigger>
</group>
<group ref="GeoSample_Bottom_Sample">
<label>{Bottom_Sample}</label>
<input ref="Bottom_Sample_ID" faims_attribute_name="Bottom Sample ID" faims_attribute_type="measure" faims_certainty="false" faims_annotation="false" faims_read_only="true">
<label>{Bottom_Sample_ID}</label>
</input>
<select1 ref="Bottom_Sample_Collected" appearance="full" faims_attribute_name="Bottom Sample Collected" faims_attribute_type="vocab" faims_certainty="true" faims_annotation="true" faims_read_only="false">
<label>{Bottom_Sample_Collected?}</label>
<item>
<label>placeholder</label>
<value>placeholder</value>
</item>
</select1>
<select1 ref="Regolith_B" appearance="full" faims_attribute_name="Regolith B" faims_attribute_type="vocab" faims_certainty="true" faims_annotation="true" faims_read_only="false">
<label>{Regolith_B}</label>
<item>
<label>placeholder</label>
<value>placeholder</value>
</item>
</select1>
<select1 ref="Horizon_B" appearance="full" faims_attribute_name="Horizon B" faims_attribute_type="vocab" faims_certainty="true" faims_annotation="true" faims_read_only="false">
<label>{Horizon_B}</label>
<item>
<label>placeholder</label>
<value>placeholder</value>
</item>
</select1>
<select1 ref="Upper_Depth_B" appearance="full" faims_attribute_name="Upper Depth B" faims_attribute_type="vocab" faims_certainty="true" faims_annotation="true" faims_read_only="false">
<label>{Upper_Depth_B}</label>
<item>
<label>placeholder</label>
<value>placeholder</value>
</item>
</select1>
<select1 ref="Bottom_Depth_B" appearance="full" faims_attribute_name="Bottom Depth B" faims_attribute_type="vocab" faims_certainty="true" faims_annotation="true" faims_read_only="false">
<label>{Bottom_Depth_B}</label>
<item>
<label>placeholder</label>
<value>placeholder</value>
</item>
</select1>
<select1 ref="Dom_Size_B" faims_attribute_name="Dom Size B" faims_attribute_type="vocab" faims_certainty="true" faims_annotation="true" faims_read_only="false">
<label>{Dom_Size_B}</label>
<item>
<label>placeholder</label>
<value>placeholder</value>
</item>
</select1>
<select1 ref="Fraction_B" appearance="full" faims_attribute_name="Fraction B" faims_attribute_type="vocab" faims_certainty="true" faims_annotation="true" faims_read_only="false">
<label>{Fraction_B}</label>
<item>
<label>placeholder</label>
<value>placeholder</value>
</item>
</select1>
<select1 ref="State_B" appearance="full" faims_attribute_name="State B" faims_attribute_type="vocab" faims_certainty="true" faims_annotation="true" faims_read_only="false">
<label>{State_B}</label>
<item>
<label>placeholder</label>
<value>placeholder</value>
</item>
</select1>
<trigger ref="next" faims_style_class="faims-blue">
<label>{Next}</label>
</trigger>
</group>
<group ref="GeoSample_Rock_Information">
<label>{Rock_Information}</label>
<select1 ref="Slope" appearance="full" faims_attribute_name="Slope" faims_attribute_type="vocab" faims_certainty="true" faims_annotation="true" faims_read_only="false">
<label>{Slope}</label>
<item>
<label>placeholder</label>
<value>placeholder</value>
</item>
</select1>
<input ref="Rock_Type" faims_attribute_name="Rock Type" faims_attribute_type="measure" faims_certainty="true" faims_annotation="true" faims_read_only="false">
<label>{Rock_Type}</label>
</input>
<select1 ref="Landuse" faims_attribute_name="Landuse" faims_attribute_type="vocab" faims_certainty="true" faims_annotation="true" faims_read_only="false">
<label>{Landuse}</label>
<item>
<label>placeholder</label>
<value>placeholder</value>
</item>
</select1>
<input ref="Contamination" faims_attribute_name="Contamination" faims_attribute_type="measure" faims_certainty="true" faims_annotation="true" faims_read_only="false">
<label>{Contamination}</label>
</input>
<input ref="Comments" faims_attribute_name="Comments" faims_attribute_type="measure" faims_certainty="true" faims_annotation="true" faims_read_only="false">
<label>{Site_Comments}</label>
</input>
<input ref="Photo_Comments" faims_attribute_name="Photo Comments" faims_attribute_type="measure" faims_certainty="true" faims_annotation="true" faims_read_only="false">
<label>{Photo_Comments}</label>
</input>
<select1 ref="Sampling_Device" faims_attribute_name="Sampling Device" faims_attribute_type="vocab" faims_certainty="true" faims_annotation="true" faims_read_only="true">
<label>{Sampling_Device}</label>
<item>
<label>placeholder</label>
<value>placeholder</value>
</item>
</select1>
<trigger ref="New" faims_style_class="faims-success">
<label>New {GeoSample}</label>
</trigger>
<trigger ref="Delete" faims_style_class="faims-danger">
<label>Delete {GeoSample}</label>
</trigger>
</group>
</group>
</h:body>
</h:html>