diff options
-rw-r--r-- | index.py | 2 | ||||
-rw-r--r-- | pages/machines.py | 12 | ||||
-rw-r--r-- | pages/total.py | 8 |
3 files changed, 11 insertions, 11 deletions
@@ -22,7 +22,7 @@ pio.templates['custom'] = dict( title=dict( x = 0.5, xanchor = 'center', - yanchor = 'top', + yanchor = 'bottom', font = dict(size = 25) ), separators=',.', diff --git a/pages/machines.py b/pages/machines.py index b750ddc..62bbfc0 100644 --- a/pages/machines.py +++ b/pages/machines.py @@ -45,23 +45,23 @@ def layout(): ]) ]), dbc.Row([dbc.Col([ - dcc.Graph(id='machines-graph-location') + dcc.Loading(dcc.Graph(id='machines-graph-location')) ])]), dbc.Row([ dbc.Col(width=12, md=6, xl=4, children=[ - dcc.Graph(id='machines-graph-ram') + dcc.Loading(dcc.Graph(id='machines-graph-ram')) ]), dbc.Col(width=12, md=6, xl=4, children=[ - dcc.Graph(id='machines-graph-realcores') + dcc.Loading(dcc.Graph(id='machines-graph-realcores')) ]), dbc.Col(width=12, md=6, xl=4, children=[ - dcc.Graph(id='machines-graph-kvmstate') + dcc.Loading(dcc.Graph(id='machines-graph-kvmstate')) ]), dbc.Col(width=12, xl=6, children=[ - dcc.Graph(id='machines-graph-cpumodel') + dcc.Loading(dcc.Graph(id='machines-graph-cpumodel')) ]), dbc.Col(width=12, xl=6, children=[ - dcc.Graph(id='machines-graph-systemmodel') + dcc.Loading(dcc.Graph(id='machines-graph-systemmodel')) ]) ]) ]) diff --git a/pages/total.py b/pages/total.py index f4d6c90..c22170a 100644 --- a/pages/total.py +++ b/pages/total.py @@ -44,16 +44,16 @@ def layout(): ]) ]), dbc.Row([dbc.Col([ - dcc.Graph(id='total-graph-times') + dcc.Loading(dcc.Graph(id='total-graph-times')) ])]), dbc.Row([dbc.Col([ - dcc.Graph(id='total-graph-session-length') + dcc.Loading(dcc.Graph(id='total-graph-session-length')) ])]), dbc.Row([dbc.Col([ - dcc.Graph(id='total-graph-sessions') + dcc.Loading(dcc.Graph(id='total-graph-sessions')) ])]), dbc.Row([dbc.Col([ - dcc.Graph(id='total-graph-users') + dcc.Loading(dcc.Graph(id='total-graph-users')) ])]) ]) |