diff options
author | pmikus <peter.mikus@protonmail.ch> | 2022-10-05 08:58:31 +0200 |
---|---|---|
committer | pmikus <peter.mikus@protonmail.ch> | 2022-10-05 08:58:31 +0200 |
commit | af8e703eb180e46ca65ff0c165a21f2261896548 (patch) | |
tree | e477719c9010ca3e8ed3ffa63ffe293a2734d358 /csit.infra.dash/app/cdash/templates | |
parent | 4d095b586bc4e249ab4e30e1a3f17b310f52a229 (diff) |
fix(cdash): Rename
Signed-off-by: pmikus <peter.mikus@protonmail.ch>
Change-Id: Ia6dff2674a28b42ebfbe91230587f1e175ae1137
Diffstat (limited to 'csit.infra.dash/app/cdash/templates')
-rw-r--r-- | csit.infra.dash/app/cdash/templates/dash_layout.jinja2 | 24 | ||||
-rw-r--r-- | csit.infra.dash/app/cdash/templates/index_layout.jinja2 | 34 |
2 files changed, 58 insertions, 0 deletions
diff --git a/csit.infra.dash/app/cdash/templates/dash_layout.jinja2 b/csit.infra.dash/app/cdash/templates/dash_layout.jinja2 new file mode 100644 index 0000000000..b1f3a606b9 --- /dev/null +++ b/csit.infra.dash/app/cdash/templates/dash_layout.jinja2 @@ -0,0 +1,24 @@ +<!DOCTYPE html> +<html lang="en" class="h-100"> +<head> + <meta charset="utf-8" /> + <meta http-equiv="X-UA-Compatible" content="IE=edge" /> + <title>{{ title }}</title> + <meta property="og:site_name" content="{{ title }}"/> + <meta property="og:type" content="website"/> + <meta property="og:title" content="{{ title }}"/> + <meta property="og:description" content="{{ description }}"/> + <meta property="og:url" content="https://csit.fd.io/"/> + <meta name="HandheldFriendly" content="True" /> + <meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover" /> + <!-- Bootstrap core CSS --> +{% assets "sass_all" %} + <link rel="stylesheet" href="{{ ASSET_URL }}" /></script> +{% endassets %} + <!-- Favicons --> + <link rel="shortcut icon" href="{{ url_for('static', filename='dist/img/favicon.svg') }}" type="image/x-icon" /> +</head> +<body class="{{template}}"> + {% block content %}{% endblock %} +</body> +</html> diff --git a/csit.infra.dash/app/cdash/templates/index_layout.jinja2 b/csit.infra.dash/app/cdash/templates/index_layout.jinja2 new file mode 100644 index 0000000000..bf4f812e8a --- /dev/null +++ b/csit.infra.dash/app/cdash/templates/index_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 %} |