96 lines
1.9 KiB
Plaintext
96 lines
1.9 KiB
Plaintext
|
|
||
|
<ItemLabel@Label>:
|
||
|
font_size: '25sp'
|
||
|
halign: 'left'
|
||
|
valign: 'middle'
|
||
|
text_size: self.size
|
||
|
|
||
|
<Container>:
|
||
|
rows:3
|
||
|
|
||
|
text_input: text_input
|
||
|
text_input_check: text_input_check
|
||
|
text_input_show: text_input_show
|
||
|
openwrt: openwrt
|
||
|
polaris: polaris
|
||
|
raspberry_pi: raspberry_pi
|
||
|
udongein_xyz: udongein_xyz
|
||
|
|
||
|
|
||
|
AnchorLayout:
|
||
|
size_hint: 1, 0.15
|
||
|
|
||
|
TextInput:
|
||
|
id: text_input
|
||
|
font_size: '45sp'
|
||
|
multiline: False
|
||
|
input_type: 'number'
|
||
|
|
||
|
GridLayout:
|
||
|
cols: 2
|
||
|
|
||
|
BoxLayout:
|
||
|
orientation: 'vertical'
|
||
|
padding: [30, 0, 0, 0]
|
||
|
|
||
|
ItemLabel:
|
||
|
text: 'Router'
|
||
|
|
||
|
ItemLabel:
|
||
|
text: 'Polaris'
|
||
|
|
||
|
ItemLabel:
|
||
|
text: 'Raspberry pi'
|
||
|
|
||
|
ItemLabel:
|
||
|
text: 'Udongein.xyz'
|
||
|
|
||
|
ItemLabel:
|
||
|
id: text_input_show
|
||
|
text: 'Other: '
|
||
|
|
||
|
|
||
|
|
||
|
BoxLayout:
|
||
|
orientation: 'vertical'
|
||
|
size_hint: 0.5, 1
|
||
|
|
||
|
ItemLabel:
|
||
|
id: openwrt
|
||
|
text: '[b]?[/b]'
|
||
|
markup: True
|
||
|
|
||
|
ItemLabel:
|
||
|
id: polaris
|
||
|
text: '[b]?[/b]'
|
||
|
markup: True
|
||
|
|
||
|
ItemLabel:
|
||
|
id: raspberry_pi
|
||
|
text: '[b]?[/b]'
|
||
|
markup: True
|
||
|
|
||
|
ItemLabel:
|
||
|
id: udongein_xyz
|
||
|
text: '[b]?[/b]'
|
||
|
markup: True
|
||
|
|
||
|
ItemLabel:
|
||
|
id: text_input_check
|
||
|
text: '[b]?[/b]'
|
||
|
markup: True
|
||
|
|
||
|
|
||
|
BoxLayout:
|
||
|
size_hint: 0.9, 0.15
|
||
|
padding: [30, 0, 30, 20]
|
||
|
Button:
|
||
|
text: 'Check connection'
|
||
|
font_size: 40
|
||
|
|
||
|
on_release:
|
||
|
root.checkAvailability()
|
||
|
|
||
|
|
||
|
|