-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathheartbleed.kv
69 lines (65 loc) · 1.66 KB
/
heartbleed.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
#:kivy 1.0
#:import kivy kivy
<Heartbleed>:
work_box: work_box
label: label
server: server
check_button: check_button
label_box: label_box
#bgcolor: bgcolor
#id: canvas
canvas:
Color:
rgb: self.color
Rectangle:
pos: self.pos
texture: self.texture
size: self.size
BoxLayout:
padding: '10dp'
spacing: '10dp'
size_hint: 1, None
pos_hint: {'top': 1}
height: '70dp'
Image:
size_hint: None, None
size: '50dp', '50dp'
source: 'icon.png'
mipmap: True
Label:
height: '50dp'
text_size: self.width, None
font_size: '24sp'
color: (0.1, 0.1, 0.1, .8)
text: 'Heartbleed Checker'
valign: 'top'
BoxLayout:
id: work_box
padding: '10dp'
spacing: '10dp'
orientation: 'vertical'
size_hint: 1, None
TextInput:
id: server
multiline: False
font_size: '20sp'
hint_text: 'server[:port] (default port 443)'
Button:
id: check_button
font_size: '20sp'
text: 'Check server'
BoxLayout:
padding: '10dp'
spacing: '10dp'
id: label_box
orientation: 'horizontal'
size_hint: 1, None
top: work_box.top - work_box.height
#height: label.height
Label:
id: label
text_size: self.width, None
font_size: '18sp'
#height: self.texture_size[1]
color: (0.4, 0.4, 0.4, 0.7)
valign: 'top'