aboutsummaryrefslogtreecommitdiffstats
path: root/csit.infra.dash/app/cdash/templates
diff options
context:
space:
mode:
authorTibor Frank <tifrank@cisco.com>2022-09-19 11:39:26 +0200
committerTibor Frank <tifrank@cisco.com>2022-10-20 15:41:14 +0200
commit430c577e8e8a737cb46e67cbe802e038b8ffd25a (patch)
tree4be9a38b07c36fbd423dfff24802254da3656e79 /csit.infra.dash/app/cdash/templates
parent8002cfbc97bb0af9bc84cb2353350d9af4e5afc2 (diff)
C-Dash: Prepare layout for telemetry in trending
Signed-off-by: Tibor Frank <tifrank@cisco.com> Change-Id: I6bd248922d7e6c61ab17eee580af2937022f8371
Diffstat (limited to 'csit.infra.dash/app/cdash/templates')
-rw-r--r--csit.infra.dash/app/cdash/templates/base_layout.jinja240
1 files changed, 28 insertions, 12 deletions
diff --git a/csit.infra.dash/app/cdash/templates/base_layout.jinja2 b/csit.infra.dash/app/cdash/templates/base_layout.jinja2
index e0bbe88705..eb7fc17076 100644
--- a/csit.infra.dash/app/cdash/templates/base_layout.jinja2
+++ b/csit.infra.dash/app/cdash/templates/base_layout.jinja2
@@ -5,25 +5,41 @@
<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">
+ CSIT-Dash
+ </h3>
</div>
</header>
<main class="px-3">
<img class="d-block mx-auto mb-4" src="{{ url_for('static', filename='img/logo.svg') }}" alt="" width="72" height="57">
- <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>
- </p>
- <p class="lead">
- <a href="/report/" class="btn btn-primary fw-bold">{{ report_title }}</a>
- </p>
- <p class="lead">
- <a href="/stats/" class="btn btn-primary fw-bold">{{ stats_title }}</a>
+ <h1 class="text-white">
+ {{ title }}
+ </h1>
+ <p class="lead">
+ {{ description }}
</p>
<p class="lead">
- <a href="/news/" class="btn btn-primary fw-bold">{{ news_title }}</a>
+ <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="/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>
</main>