132 lines
5.5 KiB
Plaintext
132 lines
5.5 KiB
Plaintext
<NetworkStat>:
|
|
name: 'networkstat'
|
|
MDTabs:
|
|
id: tab_panel
|
|
tab_display_mode:'text'
|
|
|
|
Tab:
|
|
text: app.tr._("Total connections")
|
|
ScrollView:
|
|
do_scroll_x: False
|
|
MDList:
|
|
id: ml
|
|
size_hint_y: None
|
|
height: dp(200)
|
|
OneLineListItem:
|
|
text: app.tr._("Total Connections")
|
|
_no_ripple_effect: True
|
|
BoxLayout:
|
|
orientation: 'vertical'
|
|
size_hint_y: None
|
|
height: dp(58)
|
|
MDRaisedButton:
|
|
_no_ripple_effect: True
|
|
# size_hint: .6, 0
|
|
# height: dp(40)
|
|
text: app.tr._(root.text_variable_1)
|
|
elevation_normal: 2
|
|
opposite_colors: True
|
|
pos_hint: {'center_x': .5}
|
|
# MDLabel:
|
|
# font_style: 'H6'
|
|
# text: app.tr._(root.text_variable_1)
|
|
# font_size: '13sp'
|
|
# color: (1,1,1,1)
|
|
# halign: 'center'
|
|
Tab:
|
|
text: app.tr._('Processes')
|
|
ScrollView:
|
|
do_scroll_x: False
|
|
MDList:
|
|
id: ml
|
|
size_hint_y: None
|
|
height: dp(500)
|
|
OneLineListItem:
|
|
text: app.tr._("person-to-person")
|
|
_no_ripple_effect: True
|
|
|
|
BoxLayout:
|
|
orientation: 'vertical'
|
|
size_hint_y: None
|
|
height: dp(58)
|
|
MDRaisedButton:
|
|
_no_ripple_effect: True
|
|
# size_hint: .6, 0
|
|
# height: dp(40)
|
|
text: app.tr._(root.text_variable_2)
|
|
elevation_normal: 2
|
|
opposite_colors: True
|
|
pos_hint: {'center_x': .5}
|
|
# MDLabel:
|
|
# font_style: 'H6'
|
|
# text: app.tr._(root.text_variable_2)
|
|
# font_size: '13sp'
|
|
# color: (1,1,1,1)
|
|
# halign: 'center'
|
|
OneLineListItem:
|
|
text: app.tr._("Brodcast")
|
|
_no_ripple_effect: True
|
|
|
|
BoxLayout:
|
|
orientation: 'vertical'
|
|
size_hint_y: None
|
|
height: dp(58)
|
|
MDRaisedButton:
|
|
_no_ripple_effect: True
|
|
# size_hint: .6, 0
|
|
# height: dp(40)
|
|
text: app.tr._(root.text_variable_3)
|
|
elevation_normal: 2
|
|
opposite_colors: True
|
|
pos_hint: {'center_x': .5}
|
|
# MDLabel:
|
|
# font_style: 'H6'
|
|
# text: app.tr._(root.text_variable_3)
|
|
# font_size: '13sp'
|
|
# color: (1,1,1,1)
|
|
# halign: 'center'
|
|
OneLineListItem:
|
|
text: app.tr._("publickeys")
|
|
_no_ripple_effect: True
|
|
|
|
BoxLayout:
|
|
orientation: 'vertical'
|
|
size_hint_y: None
|
|
height: dp(58)
|
|
MDRaisedButton:
|
|
_no_ripple_effect: True
|
|
# size_hint: .6, 0
|
|
# height: dp(40)
|
|
text: app.tr._(root.text_variable_4)
|
|
elevation_normal: 2
|
|
opposite_colors: True
|
|
pos_hint: {'center_x': .5}
|
|
# MDLabel:
|
|
# font_style: 'H6'
|
|
# text: app.tr._(root.text_variable_4)
|
|
# font_size: '13sp'
|
|
# color: (1,1,1,1)
|
|
# halign: 'center'
|
|
OneLineListItem:
|
|
text: app.tr._("objects")
|
|
_no_ripple_effect: True
|
|
|
|
BoxLayout:
|
|
orientation: 'vertical'
|
|
size_hint_y: None
|
|
height: dp(58)
|
|
MDRaisedButton:
|
|
_no_ripple_effect: True
|
|
# size_hint: .6, 0
|
|
#height: dp(40)
|
|
text: app.tr._(root.text_variable_5)
|
|
elevation_normal: 2
|
|
opposite_colors: True
|
|
pos_hint: {'center_x': .5}
|
|
# MDLabel:
|
|
# font_style: 'H6'
|
|
# text: app.tr._(root.text_variable_5)
|
|
# font_size: '13sp'
|
|
# color: (1,1,1,1)
|
|
# halign: 'center'
|