X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=csit.infra.dash%2Fapp%2Fcdash%2Futils%2Fconstants.py;h=926e490f6a0a9896a89f71e5cc5d077d02c773b1;hb=99c97de874f20feaa597d3b40e795e5ce854f60b;hp=98c8adc20cfc2fdc6d78dc7b0a14e7a4000e8ffb;hpb=64ee27c7c884e4c408f0732955936aef6cf109c5;p=csit.git diff --git a/csit.infra.dash/app/cdash/utils/constants.py b/csit.infra.dash/app/cdash/utils/constants.py index 98c8adc20c..926e490f6a 100644 --- a/csit.infra.dash/app/cdash/utils/constants.py +++ b/csit.infra.dash/app/cdash/utils/constants.py @@ -44,6 +44,13 @@ class Constants: # External stylesheets. EXTERNAL_STYLESHEETS = ["/static/dist/css/bootstrap.css", ] + # URL to Jenkins + URL_JENKINS = "https://jenkins.fd.io/job/" + + # URL to the documentation + URL_DOC_TRENDING = "https://csit.fd.io/cdocs/methodology/trending/analysis/" + URL_DOC_REL_NOTES = "https://csit.fd.io/cdocs/release_notes/current/" + # Path and name of the file specifying the HTML layout of the dash # application. MAIN_HTML_LAYOUT_FILE = "base_layout.jinja2" @@ -82,10 +89,10 @@ class Constants: CLEAR_ALL_INPUTS = False # The element is disabled. - STYLE_DISABLED = {"display": "none"} + STYLE_DISABLED = {"visibility": "hidden"} # The element is enabled and visible. - STYLE_ENABLED = {"display": "inherit"} + STYLE_ENABLED = {"visibility": "visible"} # Checklist "All" is disabled. CL_ALL_DISABLED = [ @@ -363,6 +370,7 @@ class Constants: # Default name of downloaded file with selected data. TREND_DOWNLOAD_FILE_NAME = "trending_data.csv" + TELEMETRY_DOWNLOAD_FILE_NAME = "telemetry_data.csv" ############################################################################ # Coverage data.