diff options
Diffstat (limited to 'csit.infra.dash/app/pal/templates')
6 files changed, 126 insertions, 0 deletions
diff --git a/csit.infra.dash/app/pal/templates/base_layout.jinja2 b/csit.infra.dash/app/pal/templates/base_layout.jinja2 new file mode 100644 index 0000000000..b1f3a606b9 --- /dev/null +++ b/csit.infra.dash/app/pal/templates/base_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/pal/templates/index_layout.jinja2 b/csit.infra.dash/app/pal/templates/index_layout.jinja2 new file mode 100644 index 0000000000..4acd1bda2d --- /dev/null +++ b/csit.infra.dash/app/pal/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">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 class="text-white">{{ title }}</h1> + <p class="lead">{{ description }}</p> + <p class="lead"> + <a href="/trending/" class="btn btn-primary fw-bold">Performance Trending</a> + </p> + <p class="lead"> + <a href="/report/" class="btn btn-primary fw-bold">Iterative Test Runs</a> + </p> + <p class="lead"> + <a href="/stats/" class="btn btn-primary fw-bold">Job Statistics</a> + </p> + <p class="lead"> + <a href="/news/" class="btn btn-primary fw-bold">News</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 %} diff --git a/csit.infra.dash/app/pal/templates/news_layout.jinja2 b/csit.infra.dash/app/pal/templates/news_layout.jinja2 new file mode 100644 index 0000000000..c3ac89f731 --- /dev/null +++ b/csit.infra.dash/app/pal/templates/news_layout.jinja2 @@ -0,0 +1,17 @@ +<!DOCTYPE html> +<html lang="en"> +<head> + <title>Continuous Performance News</title> + {%metas%} + {%favicon%} + {%css%} +</head> +<body> + {%app_entry%} + <footer> + {%config%} + {%scripts%} + {%renderer%} + </footer> +</body> +</html>
\ No newline at end of file diff --git a/csit.infra.dash/app/pal/templates/report_layout.jinja2 b/csit.infra.dash/app/pal/templates/report_layout.jinja2 new file mode 100644 index 0000000000..c535d37b03 --- /dev/null +++ b/csit.infra.dash/app/pal/templates/report_layout.jinja2 @@ -0,0 +1,17 @@ +<!DOCTYPE html> +<html lang="en"> +<head> + <title>Iterative Test Runs</title> + {%metas%} + {%favicon%} + {%css%} +</head> +<body> + {%app_entry%} + <footer> + {%config%} + {%scripts%} + {%renderer%} + </footer> +</body> +</html>
\ No newline at end of file diff --git a/csit.infra.dash/app/pal/templates/stats_layout.jinja2 b/csit.infra.dash/app/pal/templates/stats_layout.jinja2 new file mode 100644 index 0000000000..dae6f00c19 --- /dev/null +++ b/csit.infra.dash/app/pal/templates/stats_layout.jinja2 @@ -0,0 +1,17 @@ +<!DOCTYPE html> +<html lang="en"> +<head> + <title>Continuous Performance Statistics</title> + {%metas%} + {%favicon%} + {%css%} +</head> +<body> + {%app_entry%} + <footer> + {%config%} + {%scripts%} + {%renderer%} + </footer> +</body> +</html>
\ No newline at end of file diff --git a/csit.infra.dash/app/pal/templates/trending_layout.jinja2 b/csit.infra.dash/app/pal/templates/trending_layout.jinja2 new file mode 100644 index 0000000000..4881397cfd --- /dev/null +++ b/csit.infra.dash/app/pal/templates/trending_layout.jinja2 @@ -0,0 +1,17 @@ +<!DOCTYPE html> +<html lang="en"> +<head> + <title>Continuous Performance Trending</title> + {%metas%} + {%favicon%} + {%css%} +</head> +<body> + {%app_entry%} + <footer> + {%config%} + {%scripts%} + {%renderer%} + </footer> +</body> +</html>
\ No newline at end of file |