summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorDominik Meister <dominiksamuel.meister@students.bfh.ch>2020-08-20 17:25:51 +0200
committerDominik Meister <dominiksamuel.meister@students.bfh.ch>2020-08-20 17:25:51 +0200
commit3b2655c188d9ad8ea8c6747a3faf5580235a6204 (patch)
treea9188f91e3e8c2c99f63c91154799ef372a0ce34 /common
parentd21ec77e7062142877ab853761a57d06b7a8bfd9 (diff)
downloadanastasis-www-3b2655c188d9ad8ea8c6747a3faf5580235a6204.tar.gz
anastasis-www-3b2655c188d9ad8ea8c6747a3faf5580235a6204.tar.bz2
anastasis-www-3b2655c188d9ad8ea8c6747a3faf5580235a6204.zip
added build system
Diffstat (limited to 'common')
-rw-r--r--common/base.j213
-rw-r--r--common/header.j2.inc40
2 files changed, 53 insertions, 0 deletions
diff --git a/common/base.j2 b/common/base.j2
new file mode 100644
index 0000000..f9719af
--- /dev/null
+++ b/common/base.j2
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<html lang="{{ lang }}">
+ <head>
+ <meta charset="UTF-8"/>
+ <title>{{ _("Anastasis") }}</title>
+ <meta name="description" content="{{ _('Anastasis key recovery system') }}" />
+ {% include "common/header.j2.inc" %}
+ {% block head_content %}{% endblock %}
+ </head>
+ <body>
+ {% block body_content %}{% endblock %}
+ </body>
+</html>
diff --git a/common/header.j2.inc b/common/header.j2.inc
new file mode 100644
index 0000000..fc6bff2
--- /dev/null
+++ b/common/header.j2.inc
@@ -0,0 +1,40 @@
+ <script>
+ /*
+ @licstart The following is the entire license notice for the
+ JavaScript code in this page.
+
+ Copyright (C) 2014, 2015, 2016 GNUnet e.V.
+
+ The JavaScript code in this page is free software: you can
+ redistribute it and/or modify it under the terms of the GNU
+ General Public License (GNU GPL) as published by the Free Software
+ Foundation, either version 3 of the License, or (at your option)
+ any later version. The code is distributed WITHOUT ANY WARRANTY;
+ without even the implied warranty of MERCHANTABILITY or FITNESS
+ FOR A PARTICULAR PURPOSE. See the GNU GPL for more details.
+
+ As additional permission under GNU GPL version 3 section 7, you
+ may distribute non-source (e.g., minimized or compacted) forms of
+ that code without the copy of the GNU GPL normally required by
+ section 4, provided you include this license notice and a URL
+ through which recipients can access the Corresponding Source.
+
+ @licend The above is the entire license notice
+ for the JavaScript code in this page.
+ */
+ </script>
+
+ <link rel="alternate" hreflang="en" href="{{ self_localized('en') }}" />
+ <!--
+ <link rel="alternate" hreflang="de" href="{{ self_localized('de') }}" />
+ <link rel="alternate" hreflang="fr" href="{{ self_localized('fr') }}" />
+ <link rel="alternate" hreflang="es" href="{{ self_localized('es') }}" />
+ <link rel="alternate" hreflang="it" href="{{ self_localized('it') }}" />
+ -->
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+ <meta name="author" content="">
+
+ <!-- Custom styles for this template -->
+ <link href="{{ url_static('styles.css') }}" rel="stylesheet">
+ <link href='https://fonts.googleapis.com/css?family=Lato' rel='stylesheet'>