forked from VanshajNathani/StudentDashBoard
-
Notifications
You must be signed in to change notification settings - Fork 0
/
final.kv
114 lines (97 loc) · 2.94 KB
/
final.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
WindowManager:
MainWindow:
SecondWindow:
Todo:
Cisco:
<MainWindow>:
name: "Main"
todo:todo
moodle:moodle
FloatLayout:
size:root.width,root.height
Label:
text: "DashBoard"
font_size: 55
pos_hint: {"center_x":0.5,"center_y":0.8}
Label:
text: "Reminders and Notes functionality will be\n added in future commitments."
font_size: 30
pos_hint: {"center_x":0.5,"center_y":0.2}
Button:
id:todo
text:""
pos_hint : {"center_x":0.2,"center_y":0.5}
size_hint: 0.1,0.1
on_enter:
on_release:
app.root.current = "Todo"
root.manager.transition.direction = "right"
Image:
source:"logos/todo.jpg"
center_x:self.parent.center_x
center_y:self.parent.center_y
Button:
id:moodle
text:""
pos_hint : {"center_x":0.5,"center_y":0.5}
size_hint: 0.13,0.17
on_release:
root.openMoodle()
Image:
source:"logos/moodle.jpg"
center_x:self.parent.center_x
center_y:self.parent.center_y
Button:
id:cisco
text:""
pos_hint : {"center_x":0.8,"center_y":0.5}
size_hint: 0.12,0.07
on_release:
app.root.current = "Cisco"
root.manager.transition.direction = "left"
Image:
source:"logos/classlinks.png"
center_x:self.parent.center_x
center_y:self.parent.center_y
<Todo>:
name: "Todo"
Label:
text: "This is To-Do window"
font_size: 30
pos_hint: {"center_x":0.5,"center_y":0.8}
Button:
id:home
text:""
font_size:40
pos_hint : {"center_x":0.15,"center_y":0.8}
size_hint: 0.13,0.17
on_release:
app.root.current = "Main"
root.manager.transition.direction = "left"
Image:
source:"logos/home.jpg"
center_x:self.parent.center_x
center_y:self.parent.center_y
<Cisco>:
name: "Cisco"
Label:
text: "Lecture links will appear here\ndepending upon what day it is."
font_size: 30
pos_hint: {"center_x":0.5,"center_y":0.8}
Label:
text: "to be added in future update."
font_size: 30
pos_hint: {"center_x":0.5,"center_y":0.5}
Button:
id:home
text:""
font_size:40
pos_hint : {"center_x":0.15,"center_y":0.8}
size_hint: 0.13,0.17
on_release:
app.root.current = "Main"
root.manager.transition.direction = "right"
Image:
source:"logos/home.jpg"
center_x:self.parent.center_x
center_y:self.parent.center_y