diff options
author | 2022-04-12 15:36:22 +0200 | |
---|---|---|
committer | 2022-04-13 08:12:07 +0000 | |
commit | 45615cddd926540756f19328cad7078cfc9a1219 (patch) | |
tree | 045f7f3f3bbcd2da7db4e9a2dccf4b155eb0867c /resources/tools/dash/app/pal/templates/index_layout.jinja2 | |
parent | c65595288367e8e6f53d225812d55ca4d90cdab2 (diff) |
feat(uti): Refactor styling
Signed-off-by: Peter Mikus <pmikus@cisco.com>
Change-Id: I7880e58b2b97b1c365da7755784d3f93e85568cc
Diffstat (limited to 'resources/tools/dash/app/pal/templates/index_layout.jinja2')
-rw-r--r-- | resources/tools/dash/app/pal/templates/index_layout.jinja2 | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/resources/tools/dash/app/pal/templates/index_layout.jinja2 b/resources/tools/dash/app/pal/templates/index_layout.jinja2 new file mode 100644 index 0000000000..9526c4aa3a --- /dev/null +++ b/resources/tools/dash/app/pal/templates/index_layout.jinja2 @@ -0,0 +1,25 @@ +{% 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">Dashboard</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>{{ title }}</h1> + <p class="lead">{{ description }}</p> + <p class="lead"> + <a href="/trending/" class="btn btn-lg btn-secondary fw-bold">Trending</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 %} |