-
Notifications
You must be signed in to change notification settings - Fork 0
/
mainpage.kv
executable file
·161 lines (132 loc) · 4.14 KB
/
mainpage.kv
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
<MainLayout>:
orientation: 'vertical'
BoxLayout:
orientation: 'vertical'
Label:
orientation: 'vertical'
id: title
text: 'Citado'
font_size: 150
Label:
orientation: 'vertical'
id: mode
text: 'Choose Your Use Mode'
font_size: 30
GridLayout:
rows: 4
cols: 2
padding: 10
spacing: 10
BoxLayout:
Button:
id: log
text: 'Show logs'
on_press: root.log_button()
Button:
id: manage_db
text: 'Manage DB'
on_press: root.manage_button()
Button:
id: order_food
text: 'Order Food'
on_release: root.order_food_button()
BoxLayout:
Button:
text: 'View User Reports'
on_release: root.user_report_button()
Button:
text: 'View Admin Reports'
on_release: root.admin_report_button()
Button:
text: 'Order Ingredient'
on_release: root.order_ingredient_button()
GridLayout:
rows: 3
cols: 3
padding: 2
spacing: 2
Button:
id: insert_to_customer
text: 'Add customer'
on_release: root.insert_customer_button()
Button:
id: insert_to_bike
text: 'Add Biker'
on_release: root.insert_biker_button()
Button:
id: insert_to_store
text: 'Add store'
on_release: root.insert_store_button()
Button:
id: insert_to_address
text: 'Add address'
on_release: root.insert_address_button()
Button:
id: insert_to_food
text: 'Add food'
on_release: root.insert_food_button()
Button:
text: 'Add ingredient'
on_release: root.insert_ingredient_button()
GridLayout:
rows: 2
cols: 3
padding: 2
spacing: 2
Button:
id: delete_customer
text: 'Delete customer'
on_release: root.delete_customer_button()
Button:
id: delete_bike
text: 'Delete Biker'
on_release: root.delete_biker_button()
Button:
id: delete_store
text: 'Delete store'
on_release: root.delete_store_button()
Button:
id: delete_address
text: 'Delete address'
on_release: root.delete_address_button()
Button:
id: delete_food
text: 'Delete food'
on_release: root.delete_food_button()
Button:
id: delete_ingredient
text: 'Delete ingredient'
on_release: root.delete_ingredient_button()
GridLayout:
rows: 1
cols: 3
padding: 2
spacing: 2
Button:
id: update_customer
text: 'Update customer'
on_release: root.update_customer_button()
Button:
id: update_bike
text: 'Update Biker'
on_release: root.update_biker_button()
Button:
id: update_store
text: 'Update store'
GridLayout:
rows: 1
cols: 3
padding: 2
spacing: 2
Button:
id: update_address
text: 'Update address'
on_release: root.update_address_button()
Button:
id: update_food
text: 'Update food'
on_release: root.update_food_button()
Button:
id: update_ingredient
text: 'Update ingredient'
on_release: root.update_ingredient_button()