C-Dash: Improved improvements in layout
[csit.git] / csit.infra.dash / app / pal / utils / constants.py
index 8f39fc8..8807fec 100644 (file)
@@ -18,7 +18,6 @@ does not need to be hard coded here, but can be read from environment variables.
 """
 
 import logging
-import dash_bootstrap_components as dbc
 
 from dash import html
 
@@ -37,12 +36,20 @@ class Constants:
 
     # The application title.
     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" ]
+    EXTERNAL_STYLESHEETS = ["/static/dist/css/bootstrap.css", ]
 
     # Top level template for all pages.
     TEMPLATE = "d-flex h-100 text-center text-white bg-dark"
@@ -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/"