aboutsummaryrefslogtreecommitdiffstats
path: root/csit.infra.dash/app/pal/utils/constants.py
diff options
context:
space:
mode:
authorTibor Frank <tifrank@cisco.com>2022-10-04 13:43:10 +0200
committerTibor Frank <tifrank@cisco.com>2022-10-04 14:19:50 +0200
commit287fae853accd3782200c21a08345b7d88a936c8 (patch)
tree80be091068c2fb17d38071124c5542fcab114ab5 /csit.infra.dash/app/pal/utils/constants.py
parent59734b2f72358f6315cbfadc1b1a0ef56b7e23ec (diff)
CSIT-Dash: Improvements in layout
Signed-off-by: Tibor Frank <tifrank@cisco.com> Change-Id: Idf043551122ceb54af08f161d0c4f3ab736156dd
Diffstat (limited to 'csit.infra.dash/app/pal/utils/constants.py')
-rw-r--r--csit.infra.dash/app/pal/utils/constants.py27
1 files changed, 23 insertions, 4 deletions
diff --git a/csit.infra.dash/app/pal/utils/constants.py b/csit.infra.dash/app/pal/utils/constants.py
index 73afb4c7a9..8807fec6ca 100644
--- a/csit.infra.dash/app/pal/utils/constants.py
+++ b/csit.infra.dash/app/pal/utils/constants.py
@@ -35,11 +35,18 @@ class Constants:
LOG_DATE_FORMAT = "%Y/%m/%d %H:%M:%S"
# The application title.
- TITLE = "FD.io CDash"
- BRAND = "CDash"
+ TITLE = "FD.io CSIT"
+ BRAND = "CSIT-Dash"
# The application description.
- DESCRIPTION = "Performance Dashboard"
+ DESCRIPTION = 'Performance Dashboard "CSIT-Dash"'
+
+ # Copyright statement.
+ COPYRIGHT = (
+ 'Copyright © 2016-2022 '
+ '<a href="https://fd.io" class="text-white">The Fast Data Project</a>, '
+ 'a series of LF Projects, LLC.'
+ )
# External stylesheets.
EXTERNAL_STYLESHEETS = ["/static/dist/css/bootstrap.css", ]
@@ -73,7 +80,7 @@ class Constants:
# List of releases used for iterative data processing.
# The releases MUST be in the order from the current (newest) to the last
# (oldest).
- RELEASES = ["csit2206", "csit2202", ]
+ RELEASES = ["csit2210", "csit2206", "csit2202", ]
############################################################################
# General, application wide, layout affecting constants.
@@ -248,6 +255,9 @@ class Constants:
############################################################################
# News.
+ # The title.
+ NEWS_TITLE = "CI TEST FAILURE AND ANOMALY STATISTICS"
+
# The pathname prefix for the application.
NEWS_ROUTES_PATHNAME_PREFIX = "/news/"
@@ -266,6 +276,9 @@ class Constants:
############################################################################
# Report.
+ # The title.
+ REPORT_TITLE = "PER RELEASE PERFORMANCE RESULTS"
+
# The pathname prefix for the application.
REPORT_ROUTES_PATHNAME_PREFIX = "/report/"
@@ -282,6 +295,9 @@ class Constants:
############################################################################
# Statistics.
+ # The title.
+ STATS_TITLE = "CI JOB EXECUTION STATISTICS"
+
# The pathname prefix for the application.
STATS_ROUTES_PATHNAME_PREFIX = "/stats/"
@@ -301,6 +317,9 @@ class Constants:
############################################################################
# Trending.
+ # The title.
+ TREND_TITLE = "PERFORMANCE TRENDING (DAILY, WEEKLY)"
+
# The pathname prefix for the application.
TREND_ROUTES_PATHNAME_PREFIX = "/trending/"