Initial sideclock tests
parent
83d418f455
commit
dfec85805a
50
signage.kv
50
signage.kv
|
@ -1,15 +1,53 @@
|
||||||
#: include force signage/base.kv
|
#: include force signage/base.kv
|
||||||
|
|
||||||
<MainContainer>:
|
<MainContainer>:
|
||||||
BoxLayout:
|
AnchorLayout:
|
||||||
orientation: 'vertical'
|
anchor_x: 'right'
|
||||||
|
anchor_y: 'top'
|
||||||
|
|
||||||
Fader:
|
Fader:
|
||||||
interval: 2
|
interval: 2
|
||||||
ClockNode:
|
|
||||||
interval: 1.0
|
AsyncImage:
|
||||||
update_interval: 1.0
|
source: "https://i.imgur.com/i5xTVVY.jpg"
|
||||||
format: "%H:%M:%S"
|
|
||||||
BrowserNode:
|
BrowserNode:
|
||||||
interval: 3.0
|
interval: 3.0
|
||||||
url: "https://monitoring.hackerspace.pl"
|
url: "https://monitoring.hackerspace.pl"
|
||||||
|
|
||||||
|
ClockNode:
|
||||||
|
update_interval: 1.0
|
||||||
|
format: "%H:%M:%S"
|
||||||
|
|
||||||
|
SideClock:
|
||||||
|
|
||||||
|
|
||||||
|
#: import sm kivy.uix.screenmanager
|
||||||
|
|
||||||
|
<SideClock@Fader>:
|
||||||
|
size_hint: 0.2, 0.1
|
||||||
|
show_progress: False
|
||||||
|
|
||||||
|
transition: sm.SlideTransition(direction='down')
|
||||||
|
|
||||||
|
ClockNode:
|
||||||
|
interval: 10.0
|
||||||
|
format: "[b]%H:%M[/b]:%S"
|
||||||
|
markup: True
|
||||||
|
font_size: dp(30)
|
||||||
|
|
||||||
|
halign: "right"
|
||||||
|
valign: "top"
|
||||||
|
padding: self.font_size/2, self.font_size/2
|
||||||
|
text_size: self.size
|
||||||
|
|
||||||
|
ClockNode:
|
||||||
|
interval: 2.0
|
||||||
|
format: "%Y/[b]%m/%d[/b]"
|
||||||
|
markup: True
|
||||||
|
font_size: dp(30)
|
||||||
|
|
||||||
|
halign: "right"
|
||||||
|
valign: "top"
|
||||||
|
padding: self.font_size/2, self.font_size/2
|
||||||
|
text_size: self.size
|
||||||
|
|
Loading…
Reference in New Issue