aboutsummaryrefslogtreecommitdiffstats
path: root/csit.infra.dash/app/cdash/trending/layout.py
diff options
context:
space:
mode:
authorTibor Frank <tifrank@cisco.com>2023-01-09 16:28:20 +0100
committerTibor Frank <tifrank@cisco.com>2023-01-09 16:28:20 +0100
commit89c40769ccf9558024a23a4de1563355a39db5a8 (patch)
treec0b8ec45120e5d235b80720c55a74c2f06256b3f /csit.infra.dash/app/cdash/trending/layout.py
parent3c5de2334555bd0fe6f92258c49635162db15bbb (diff)
C-Dash: Replace dcc.Loading by dbc.Spinner
Signed-off-by: Tibor Frank <tifrank@cisco.com> Change-Id: I3a31b12fc47c55cbeedd96c31f335e648145716e
Diffstat (limited to 'csit.infra.dash/app/cdash/trending/layout.py')
-rw-r--r--csit.infra.dash/app/cdash/trending/layout.py26
1 files changed, 13 insertions, 13 deletions
diff --git a/csit.infra.dash/app/cdash/trending/layout.py b/csit.infra.dash/app/cdash/trending/layout.py
index 85f6cbbaba..48b480193b 100644
--- a/csit.infra.dash/app/cdash/trending/layout.py
+++ b/csit.infra.dash/app/cdash/trending/layout.py
@@ -249,6 +249,9 @@ class Layout:
id="div-main",
className="small",
children=[
+ dcc.Store(id="store-selected-tests"),
+ dcc.Store(id="store-control-panel"),
+ dcc.Location(id="url", refresh=False),
dbc.Row(
id="row-navbar",
class_name="g-0",
@@ -256,7 +259,15 @@ class Layout:
self._add_navbar()
]
),
- dcc.Loading(
+ dbc.Row(
+ id="row-main",
+ class_name="g-0",
+ children=[
+ self._add_ctrl_col(),
+ self._add_plotting_col()
+ ]
+ ),
+ dbc.Spinner(
dbc.Offcanvas(
class_name="w-50",
id="offcanvas-metadata",
@@ -268,17 +279,6 @@ class Layout:
dbc.Row(id="metadata-hdrh-graph")
]
)
- ),
- dbc.Row(
- id="row-main",
- class_name="g-0",
- children=[
- dcc.Store(id="store-selected-tests"),
- dcc.Store(id="store-control-panel"),
- dcc.Location(id="url", refresh=False),
- self._add_ctrl_col(),
- self._add_plotting_col()
- ]
)
]
)
@@ -342,7 +342,7 @@ class Layout:
return dbc.Col(
id="col-plotting-area",
children=[
- dcc.Loading(
+ dbc.Spinner(
children=[
dbc.Row(
id="plotting-area",