aboutsummaryrefslogtreecommitdiffstats
path: root/csit.infra.dash/app/cdash/templates
diff options
context:
space:
mode:
authorTibor Frank <tifrank@cisco.com>2024-05-20 07:59:30 +0000
committerTibor Frank <tifrank@cisco.com>2024-05-21 13:32:37 +0000
commitea16f75cca29889213c5285351c4f848274b4075 (patch)
treec9a31919ccc07f4ddb1d1b2eb053b39b5950efd9 /csit.infra.dash/app/cdash/templates
parentbb73984972085b5b9050012c9e0c4141ac8d17f9 (diff)
C-Dash: Enable reading of constants from env variables
+ add switching on/off the apps Change-Id: I46e0cd2f214fd6a05ec0b87a433708bc4b6e2eb1 Signed-off-by: Tibor Frank <tifrank@cisco.com>
Diffstat (limited to 'csit.infra.dash/app/cdash/templates')
-rw-r--r--csit.infra.dash/app/cdash/templates/base_layout.jinja252
1 files changed, 9 insertions, 43 deletions
diff --git a/csit.infra.dash/app/cdash/templates/base_layout.jinja2 b/csit.infra.dash/app/cdash/templates/base_layout.jinja2
index 7b0dadc5a0..97a71e358f 100644
--- a/csit.infra.dash/app/cdash/templates/base_layout.jinja2
+++ b/csit.infra.dash/app/cdash/templates/base_layout.jinja2
@@ -6,7 +6,7 @@
<header class="mb-auto">
<div>
<h3 class="float-md-start mb-0 text-white">
- CSIT-Dash
+ {{ brand }}
</h3>
</div>
</header>
@@ -20,52 +20,18 @@
{{ description }}
</p>
<p class="lead">
- <p>
- <a href="/trending/" class="btn btn-primary fw-bold w-25">
- {{ trending_title }}
- </a>
- </p>
- <p>
- <a href="/report/" class="btn btn-primary fw-bold w-25">
- {{ report_title }}
- </a>
- </p>
- <p>
- <a href="/comparisons/" class="btn btn-primary fw-bold w-25">
- {{ comp_title }}
- </a>
- </p>
- <p>
- <p>
- <a href="/coverage/" class="btn btn-primary fw-bold w-25">
- {{ cov_title }}
- </a>
- </p>
- <p>
- <a href="/stats/" class="btn btn-primary fw-bold w-25">
- {{ stats_title }}
- </a>
- </p>
- <p>
- <a href="/news/" class="btn btn-primary fw-bold w-25">
- {{ news_title }}
- </a>
- </p>
- <p>
- <a href="/search/" class="btn btn-primary fw-bold w-25">
- {{ search_title }}
- </a>
- </p>
- <p>
- <a href="/cdocs/" class="btn btn-primary fw-bold w-25">
- Documentation
- </a>
- </p>
+ {% for itm in menu_itms %}
+ <p>
+ <a href="{{ itm['path'] }}" class="btn btn-primary fw-bold w-25">
+ {{ itm['title'] }}
+ </a>
+ </p>
+ {% endfor %}
</p>
</main>
<footer class="mt-auto text-white-50">
- <p>Copyright © 2016-2023 <a href="https://fd.io" class="text-white">The Fast Data Project</a>, a series of LF Projects, LLC.</p>
+ <p>Copyright © 2016-2024 <a href="https://fd.io" class="text-white">The Fast Data Project</a>, a series of LF Projects, LLC.</p>
</footer>
</div>
{% endblock %}