diff options
author | Tibor Frank <tifrank@cisco.com> | 2022-10-21 12:14:16 +0200 |
---|---|---|
committer | Tibor Frank <tifrank@cisco.com> | 2022-10-25 08:06:05 +0200 |
commit | a5836196e06db97aa369efdd3b160104eb6ae1f8 (patch) | |
tree | dba72c6d1c197e524995bb4afe804b6e3dbebb3d /csit.infra.dash/app/cdash/stats/layout.py | |
parent | 1db7d8339f7d52c860f57e1ce30f51ebdb7071ae (diff) |
C-Dash: Small changes in styling
Signed-off-by: Tibor Frank <tifrank@cisco.com>
Change-Id: I37f2d7991d2863a5ff4244e673f819e0f94acfca
Diffstat (limited to 'csit.infra.dash/app/cdash/stats/layout.py')
-rw-r--r-- | csit.infra.dash/app/cdash/stats/layout.py | 124 |
1 files changed, 72 insertions, 52 deletions
diff --git a/csit.infra.dash/app/cdash/stats/layout.py b/csit.infra.dash/app/cdash/stats/layout.py index 8a206f1813..dace219aae 100644 --- a/csit.infra.dash/app/cdash/stats/layout.py +++ b/csit.infra.dash/app/cdash/stats/layout.py @@ -353,75 +353,95 @@ class Layout: dbc.Row( class_name="g-0 p-1", children=[ - dbc.Label( - children=show_tooltip( - self._tooltips, - "help-dut", - "Device under Test" - ) - ), - dbc.RadioItems( - id="ri-duts", - inline=True, - value=self._default["dut"], - options=self._default["duts"], - input_class_name="border-info bg-info" + dbc.InputGroup( + [ + dbc.InputGroupText( + children=show_tooltip( + self._tooltips, + "help-dut", + "DUT" + ) + ), + dbc.RadioItems( + id="ri-duts", + inline=True, + value=self._default["dut"], + options=self._default["duts"], + class_name="form-control" + ) + ], + size="sm" ) ] ), dbc.Row( class_name="g-0 p-1", children=[ - dbc.Label( - children=show_tooltip( - self._tooltips, - "help-ttype", - "Test Type" - ) - ), - dbc.RadioItems( - id="ri-ttypes", - inline=True, - value=self._default["ttype"], - options=self._default["ttypes"], - input_class_name="border-info bg-info" + dbc.InputGroup( + [ + dbc.InputGroupText( + children=show_tooltip( + self._tooltips, + "help-ttype", + "Test Type" + ) + ), + dbc.RadioItems( + id="ri-ttypes", + inline=True, + value=self._default["ttype"], + options=self._default["ttypes"], + class_name="form-control" + ) + ], + size="sm" ) ] ), dbc.Row( class_name="g-0 p-1", children=[ - dbc.Label( - children=show_tooltip( - self._tooltips, - "help-cadence", - "Cadence" - ) - ), - dbc.RadioItems( - id="ri-cadences", - inline=True, - value=self._default["cadence"], - options=self._default["cadences"], - input_class_name="border-info bg-info" + dbc.InputGroup( + [ + dbc.InputGroupText( + children=show_tooltip( + self._tooltips, + "help-cadence", + "Cadence" + ) + ), + dbc.RadioItems( + id="ri-cadences", + inline=True, + value=self._default["cadence"], + options=self._default["cadences"], + class_name="form-control" + ) + ], + size="sm" ) ] ), dbc.Row( class_name="g-0 p-1", children=[ - dbc.Label( - children=show_tooltip( - self._tooltips, - "help-tbed", - "Test Bed" - ) - ), - dbc.Select( - id="dd-tbeds", - placeholder="Select a test bed...", - value=self._default["tbed"], - options=self._default["tbeds"] + dbc.InputGroup( + [ + dbc.InputGroupText( + children=show_tooltip( + self._tooltips, + "help-tbed", + "Test Bed" + ) + ), + dbc.Select( + id="dd-tbeds", + placeholder="Select a test bed...", + value=self._default["tbed"], + options=self._default["tbeds"] + ) + ], + size="sm" ) ] ), @@ -485,7 +505,7 @@ class Layout: [ dbc.Button( id="plot-btn-url", - children="URL", + children="Show URL", class_name="me-1", color="info", style={ |