try:
with open(self._html_layout_file, "r") as file_read:
- self._html_layout = file_read.read().\
- replace("_title_", C.NEWS_TITLE)
+ self._html_layout = file_read.read()
except IOError as err:
raise RuntimeError(
f"Not possible to open the file {self._html_layout_file}\n{err}"
children=[
dbc.NavItem(
dbc.NavLink(
- C.NEWS_TITLE,
+ "Continuous Performance News",
disabled=True,
external_link=True,
href="#"
try:
with open(self._html_layout_file, "r") as file_read:
- self._html_layout = file_read.read().\
- replace("_title_", C.REPORT_TITLE)
+ self._html_layout = file_read.read()
except IOError as err:
raise RuntimeError(
f"Not possible to open the file {self._html_layout_file}\n{err}"
children=[
dbc.NavItem(
dbc.NavLink(
- C.REPORT_TITLE,
+ "Iterative Test Runs",
disabled=True,
external_link=True,
href="#"
C.MAIN_HTML_LAYOUT_FILE,
title=C.TITLE,
description=C.DESCRIPTION,
- copyright=C.COPYRIGHT,
- trending_title=C.TREND_TITLE,
- report_title=C.REPORT_TITLE,
- stats_title=C.STATS_TITLE,
- news_title=C.NEWS_TITLE,
template=C.TEMPLATE
)
try:
with open(self._html_layout_file, "r") as file_read:
- self._html_layout = file_read.read().\
- replace("_title_", C.STATS_TITLE)
+ self._html_layout = file_read.read()
except IOError as err:
raise RuntimeError(
f"Not possible to open the file {self._html_layout_file}\n{err}"
children=[
dbc.NavItem(
dbc.NavLink(
- C.STATS_TITLE,
+ "Continuous Performance Statistics",
disabled=True,
external_link=True,
href="#"
<header class="mb-auto">
<div>
- <h3 class="float-md-start mb-0 text-white">CSIT-Dash</h3>
+ <h3 class="float-md-start mb-0 text-white">CDash</h3>
</div>
</header>
<h1 class="text-white">{{ title }}</h1>
<p class="lead">{{ description }}</p>
<p class="lead">
- <a href="/trending/" class="btn btn-primary fw-bold">{{ trending_title }}</a>
+ <a href="/trending/" class="btn btn-primary fw-bold">Performance Trending</a>
</p>
<p class="lead">
- <a href="/report/" class="btn btn-primary fw-bold">{{ report_title }}</a>
+ <a href="/report/" class="btn btn-primary fw-bold">Iterative Test Runs</a>
</p>
<p class="lead">
- <a href="/stats/" class="btn btn-primary fw-bold">{{ stats_title }}</a>
+ <a href="/stats/" class="btn btn-primary fw-bold">Job Statistics</a>
</p>
<p class="lead">
- <a href="/news/" class="btn btn-primary fw-bold">{{ news_title }}</a>
+ <a href="/news/" class="btn btn-primary fw-bold">News</a>
</p>
</main>
<footer class="mt-auto text-white-50">
- <p>{{ copyright }}</p>
+ <p>Copyright © 2016-2022 <a href="https://fd.io" class="text-white">The Fast Data Project</a>, a series of LF Projects, LLC.</p>
</footer>
</div>
{% endblock %}
<!DOCTYPE html>
<html lang="en">
<head>
- <title>_title_</title>
+ <title>Continuous Performance News</title>
{%metas%}
{%favicon%}
{%css%}
<!DOCTYPE html>
<html lang="en">
<head>
- <title>_title_</title>
+ <title>Iterative Test Runs</title>
{%metas%}
{%favicon%}
{%css%}
<!DOCTYPE html>
<html lang="en">
<head>
- <title>_title_</title>
+ <title>Continuous Performance Statistics</title>
{%metas%}
{%favicon%}
{%css%}
<!DOCTYPE html>
<html lang="en">
<head>
- <title>_title_</title>
+ <title>Continuous Performance Trending</title>
{%metas%}
{%favicon%}
{%css%}
try:
with open(self._html_layout_file, "r") as file_read:
- self._html_layout = file_read.read().\
- replace("_title_", C.TREND_TITLE)
+ self._html_layout = file_read.read()
except IOError as err:
raise RuntimeError(
f"Not possible to open the file {self._html_layout_file}\n{err}"
children=[
dbc.NavItem(
dbc.NavLink(
- C.TREND_TITLE,
+ "Continuous Performance Trending",
disabled=True,
external_link=True,
href="#"
LOG_DATE_FORMAT = "%Y/%m/%d %H:%M:%S"
# The application title.
- TITLE = "FD.io CSIT"
- BRAND = "CSIT-Dash"
+ TITLE = "FD.io CDash"
+ BRAND = "CDash"
# The application description.
- 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.'
- )
+ DESCRIPTION = "Performance Dashboard"
# External stylesheets.
EXTERNAL_STYLESHEETS = ["/static/dist/css/bootstrap.css", ]
# List of releases used for iterative data processing.
# The releases MUST be in the order from the current (newest) to the last
# (oldest).
- RELEASES = ["csit2210", "csit2206", "csit2202", ]
+ RELEASES = ["csit2206", "csit2202", ]
############################################################################
# General, application wide, layout affecting constants.
############################################################################
# News.
- # The title.
- NEWS_TITLE = "CI TEST FAILURE AND ANOMALY STATISTICS"
-
# The pathname prefix for the application.
NEWS_ROUTES_PATHNAME_PREFIX = "/news/"
############################################################################
# Report.
- # The title.
- REPORT_TITLE = "PER RELEASE PERFORMANCE RESULTS"
-
# The pathname prefix for the application.
REPORT_ROUTES_PATHNAME_PREFIX = "/report/"
############################################################################
# Statistics.
- # The title.
- STATS_TITLE = "CI JOB EXECUTION STATISTICS"
-
# The pathname prefix for the application.
STATS_ROUTES_PATHNAME_PREFIX = "/stats/"
############################################################################
# Trending.
- # The title.
- TREND_TITLE = "PERFORMANCE TRENDING (DAILY, WEEKLY)"
-
# The pathname prefix for the application.
TREND_ROUTES_PATHNAME_PREFIX = "/trending/"