aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/dash/app/pal/templates
diff options
context:
space:
mode:
Diffstat (limited to 'resources/tools/dash/app/pal/templates')
-rw-r--r--resources/tools/dash/app/pal/templates/index.jinja213
-rw-r--r--resources/tools/dash/app/pal/templates/layout.jinja233
2 files changed, 46 insertions, 0 deletions
diff --git a/resources/tools/dash/app/pal/templates/index.jinja2 b/resources/tools/dash/app/pal/templates/index.jinja2
new file mode 100644
index 0000000000..8ab5c84356
--- /dev/null
+++ b/resources/tools/dash/app/pal/templates/index.jinja2
@@ -0,0 +1,13 @@
+{% extends "layout.jinja2" %}
+
+{% block content %}
+<div class="card">
+ <img src="{{ url_for('static', filename='img/logo.svg') }}" class="logo" />
+ <h1 class="site-title">{{ title }}</h1>
+ <p class="subtitle">{{ description }}</p>
+ <a href="/trending/" class="dash-link">
+ <span>trending</span>
+ <i class="fas fa-arrow-right"></i>
+ </a>
+</div>
+{% endblock %}
diff --git a/resources/tools/dash/app/pal/templates/layout.jinja2 b/resources/tools/dash/app/pal/templates/layout.jinja2
new file mode 100644
index 0000000000..59abba36e3
--- /dev/null
+++ b/resources/tools/dash/app/pal/templates/layout.jinja2
@@ -0,0 +1,33 @@
+<!DOCTYPE html>
+<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://fd.io/"/>
+ <meta name="HandheldFriendly" content="True" />
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover" />
+ <link href="https://fonts.googleapis.com/css?family=Lato" rel="stylesheet">
+ <link rel="stylesheet" href="{{ url_for('static', filename='dist/css/styles.css') }}" />
+ <link rel="stylesheet" href="https://use.typekit.net/uqq2lcv.css">
+ <link rel="shortcut icon" href="{{ url_for('static', filename='dist/img/favicon.svg') }}" type="image/x-icon" />
+ <link
+ rel="stylesheet"
+ href="https://use.fontawesome.com/releases/v5.8.1/css/all.css"
+ integrity="sha384-50oBUHEmvpQ+1lW4y57PTFmhCaXp0ML5d60M1M7uH2+nqUivzIebhndOJK28anvf"
+ crossorigin="anonymous"
+ />
+</head>
+
+<body class="{{template}}">
+ <div class="container">
+ {% block content %}{% endblock %}
+ </div>
+</body>
+
+</html>