diff options
author | pmikus <peter.mikus@protonmail.ch> | 2022-10-05 09:15:54 +0200 |
---|---|---|
committer | pmikus <peter.mikus@protonmail.ch> | 2022-10-05 09:15:54 +0200 |
commit | 3b333d65b92d1746d0d165d0b2a4b2a98f62d474 (patch) | |
tree | e7bfbbdd0d2f88f07c51b4fb4b27a4cdabf4881d /csit.infra.dash/app/cdash/templates/base_layout.jinja2 | |
parent | 7b9208caf1cf3d1b4c345855777e41d8ff4f8638 (diff) |
fix(cdash): Templates
Signed-off-by: pmikus <peter.mikus@protonmail.ch>
Change-Id: I9de91244b096b4ec3366262c4f09bea85d1611e4
Diffstat (limited to 'csit.infra.dash/app/cdash/templates/base_layout.jinja2')
-rw-r--r-- | csit.infra.dash/app/cdash/templates/base_layout.jinja2 | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/csit.infra.dash/app/cdash/templates/base_layout.jinja2 b/csit.infra.dash/app/cdash/templates/base_layout.jinja2 new file mode 100644 index 0000000000..bf4f812e8a --- /dev/null +++ b/csit.infra.dash/app/cdash/templates/base_layout.jinja2 @@ -0,0 +1,34 @@ +{% extends "base_layout.jinja2" %} + +{% block content %} +<div class="cover-container d-flex w-100 h-100 p-3 mx-auto flex-column"> + + <header class="mb-auto"> + <div> + <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> + </p> + <p class="lead"> + <a href="/news/" class="btn btn-primary fw-bold">{{ news_title }}</a> + </p> + </main> + + <footer class="mt-auto text-white-50"> + <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 %} |