-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathitembase3.yml
73 lines (65 loc) · 1.67 KB
/
itembase3.yml
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
#
# Itembase app UI definition
#
##### VIEW DEFINITIONS #####
dashboard: # Dashboard
type: View
contents:
label_hello:
type: Label
caption: Hello!
main_set: "@main_set"
collection: # Collection
type: View
item: # Item
type: View
main_set: # View set in the main site
type: TabViewSet
items:
dashboard_view:
type: ViewSetItem
title: Dashboard
icon: path/to/icon.png
in_bar: true
view: "@dashboard"
collection_view:
type: ViewSetItem
title: Collection
icon: path/to/icon.png
in_bar: true
view: "@collection"
collection_set: # Set for the Collection page
type: NavigationViewSet
items:
item_view:
type: ViewSetItem
title: Item
icon: path/to/icon.png
in_bar: true
##### APPLICATION CONFIG #####
itembase:
type: Application
start: "@dashboard"
settings:
update_automatically:
type: BoolApplicationSetting
text: Update automatically in the background
personal_status:
type: TextApplicationSetting
text: Personal status message
##### OTHER DEFINITIONS #####
title_bar: # Title bar on top of the app
type: Bar
id: application_title
colour: "#121212"
objects:
collection_value_button:
type: Button
id: collection_value
align: right
width: 20pt
height: 10pt
caption: 0 €
##### OVERRIDE DEFINITIONS #####
ios:
main_set.items.dashboard_view.icon: path/to/some/other/icon.png