aboutsummaryrefslogtreecommitdiffstats
path: root/csit.infra.dash/app/cdash/templates
diff options
context:
space:
mode:
authorpmikus <peter.mikus@protonmail.ch>2022-10-05 09:15:54 +0200
committerpmikus <peter.mikus@protonmail.ch>2022-10-05 09:15:54 +0200
commit3b333d65b92d1746d0d165d0b2a4b2a98f62d474 (patch)
treee7bfbbdd0d2f88f07c51b4fb4b27a4cdabf4881d /csit.infra.dash/app/cdash/templates
parent7b9208caf1cf3d1b4c345855777e41d8ff4f8638 (diff)
fix(cdash): Templates
Signed-off-by: pmikus <peter.mikus@protonmail.ch> Change-Id: I9de91244b096b4ec3366262c4f09bea85d1611e4
Diffstat (limited to 'csit.infra.dash/app/cdash/templates')
-rw-r--r--csit.infra.dash/app/cdash/templates/base_layout.jinja2 (renamed from csit.infra.dash/app/cdash/templates/index_layout.jinja2)0
-rw-r--r--csit.infra.dash/app/cdash/templates/dash_layout.jinja233
-rw-r--r--csit.infra.dash/app/cdash/templates/layout.jinja224
3 files changed, 37 insertions, 20 deletions
diff --git a/csit.infra.dash/app/cdash/templates/index_layout.jinja2 b/csit.infra.dash/app/cdash/templates/base_layout.jinja2
index bf4f812e8a..bf4f812e8a 100644
--- a/csit.infra.dash/app/cdash/templates/index_layout.jinja2
+++ b/csit.infra.dash/app/cdash/templates/base_layout.jinja2
diff --git a/csit.infra.dash/app/cdash/templates/dash_layout.jinja2 b/csit.infra.dash/app/cdash/templates/dash_layout.jinja2
index b1f3a606b9..1275a99676 100644
--- a/csit.infra.dash/app/cdash/templates/dash_layout.jinja2
+++ b/csit.infra.dash/app/cdash/templates/dash_layout.jinja2
@@ -1,24 +1,17 @@
<!DOCTYPE html>
-<html lang="en" class="h-100">
+<html lang="en">
<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" />
+ <title>{%title%}</title>
+ {%metas%}
+ {%favicon%}
+ {%css%}
</head>
-<body class="{{template}}">
- {% block content %}{% endblock %}
+<body>
+ {%app_entry%}
+ <footer>
+ {%config%}
+ {%scripts%}
+ {%renderer%}
+ </footer>
</body>
-</html>
+</html> \ No newline at end of file
diff --git a/csit.infra.dash/app/cdash/templates/layout.jinja2 b/csit.infra.dash/app/cdash/templates/layout.jinja2
new file mode 100644
index 0000000000..b1f3a606b9
--- /dev/null
+++ b/csit.infra.dash/app/cdash/templates/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>