aboutsummaryrefslogtreecommitdiffstats
path: root/csit.infra.dash/app/cdash/search/layout.py
diff options
context:
space:
mode:
authorTibor Frank <tifrank@cisco.com>2024-03-12 09:03:05 +0000
committerTibor Frank <tifrank@cisco.com>2024-03-12 09:03:05 +0000
commit540b27dbf9befcf589f5f572e8aac909f1738b51 (patch)
tree09b2edf6f51a62ab58495883ce1aa94a622055f2 /csit.infra.dash/app/cdash/search/layout.py
parent0ca1dcc08772c39ea98fb304ce06ab794b65166c (diff)
C-Dash: Add tooltips
Change-Id: I00cf78e2e777fa96754f7b06aab02a8bf8682da5 Signed-off-by: Tibor Frank <tifrank@cisco.com>
Diffstat (limited to 'csit.infra.dash/app/cdash/search/layout.py')
-rw-r--r--csit.infra.dash/app/cdash/search/layout.py21
1 files changed, 17 insertions, 4 deletions
diff --git a/csit.infra.dash/app/cdash/search/layout.py b/csit.infra.dash/app/cdash/search/layout.py
index 2c50fba352..c8035055e4 100644
--- a/csit.infra.dash/app/cdash/search/layout.py
+++ b/csit.infra.dash/app/cdash/search/layout.py
@@ -32,7 +32,8 @@ from ..utils.constants import Constants as C
from ..utils.control_panel import ControlPanel
from ..utils.trigger import Trigger
from ..utils.utils import gen_new_url, generate_options, navbar_trending, \
- filter_table_data, show_trending_graph_data, show_iterative_graph_data
+ filter_table_data, show_trending_graph_data, show_iterative_graph_data, \
+ show_tooltip
from ..utils.url_processing import url_decode
from .tables import search_table
from ..coverage.tables import coverage_tables
@@ -297,7 +298,11 @@ class Layout:
children=[
dbc.InputGroup(
[
- dbc.InputGroupText("Data Type"),
+ dbc.InputGroupText(show_tooltip(
+ self._tooltips,
+ "help-data-type",
+ "Data Type"
+ )),
dbc.Select(
id={"type": "ctrl-dd", "index": "datatype"},
placeholder="Select a Data Type...",
@@ -321,7 +326,11 @@ class Layout:
children=[
dbc.InputGroup(
[
- dbc.InputGroupText("DUT"),
+ dbc.InputGroupText(show_tooltip(
+ self._tooltips,
+ "help-dut",
+ "DUT"
+ )),
dbc.Select(
id={"type": "ctrl-dd", "index": "dut"},
placeholder="Select a Device under Test..."
@@ -338,7 +347,11 @@ class Layout:
children=[
dbc.InputGroup(
[
- dbc.InputGroupText("Release"),
+ dbc.InputGroupText(show_tooltip(
+ self._tooltips,
+ "help-release",
+ "CSIT Release"
+ )),
dbc.Select(
id={"type": "ctrl-dd", "index": "release"},
placeholder="Select a Release..."