aboutsummaryrefslogtreecommitdiffstats
path: root/csit.infra.dash/app/cdash/templates
diff options
context:
space:
mode:
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>