You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
1.2 KiB
36 lines
1.2 KiB
3 years ago
|
<WelcomeScreen>:
|
||
|
FloatLayout:
|
||
|
RoundedCard:
|
||
|
pos_hint: {"center_y": .5, "center_x": .5}
|
||
|
orientation: "vertical"
|
||
|
size_hint: 0.5, 0.5
|
||
|
md_bg_color: self.theme_cls.primary_color
|
||
|
padding: "10sp"
|
||
|
RoundedCard:
|
||
|
orientation: "vertical"
|
||
|
size_hint_y: 3
|
||
|
padding: "20sp"
|
||
|
Details:
|
||
|
text:"You must be logged in and have a valid licence to use this software"
|
||
|
Widget:
|
||
|
MDBoxLayout:
|
||
|
orientation: "horizontal"
|
||
|
spacing: "5sp"
|
||
|
Widget:
|
||
|
size_hint_y: 1
|
||
|
MyButton:
|
||
|
id: log_in_button
|
||
|
text: "Sign In"
|
||
|
disabled: not root.allow_login
|
||
|
on_release:
|
||
|
root.parent.current = "sign_in_screen"
|
||
|
MyButton:
|
||
|
id: create_account_button
|
||
|
text: "Create Account"
|
||
|
disabled: not root.allow_login
|
||
|
on_release:
|
||
|
root.parent.current = "sign_up_screen"
|
||
|
|
||
|
|
||
|
|