aboutsummaryrefslogtreecommitdiff
path: root/src/hydrilla_website/templates
diff options
context:
space:
mode:
authorWojtek Kosior <koszko@koszko.org>2022-10-29 13:54:06 +0200
committerWojtek Kosior <koszko@koszko.org>2022-10-29 13:54:06 +0200
commitd7db0d187ccb4404fdf6f19fba15e0a39391640a (patch)
tree4c41764c51818587d797efe17abab2e94306ec48 /src/hydrilla_website/templates
downloadhydrilla-website-d7db0d187ccb4404fdf6f19fba15e0a39391640a.tar.gz
hydrilla-website-d7db0d187ccb4404fdf6f19fba15e0a39391640a.zip
initial commit
Diffstat (limited to 'src/hydrilla_website/templates')
-rw-r--r--src/hydrilla_website/templates/index.html.jinja29
-rw-r--r--src/hydrilla_website/templates/website_base.html.jinja26
2 files changed, 55 insertions, 0 deletions
diff --git a/src/hydrilla_website/templates/index.html.jinja b/src/hydrilla_website/templates/index.html.jinja
new file mode 100644
index 0000000..65ae42a
--- /dev/null
+++ b/src/hydrilla_website/templates/index.html.jinja
@@ -0,0 +1,29 @@
+{#
+SPDX-License-Identifier: GPL-3.0-or-later OR CC-BY-SA-4.0
+
+Website main page.
+
+This file is part of Hydrilla&Haketilo website.
+
+Copyright (C) 2022 Wojtek Kosior
+
+Dual licensed under
+* GNU General Public License v3.0 or later and
+* Creative Commons Attribution Share Alike 4.0 International.
+
+You can choose to use either of these licenses or both.
+
+
+I, Wojtek Kosior, thereby promise not to sue for violation of this
+file's licenses. Although I request that you do not make use of this
+code in a proprietary work, I am not going to enforce this in court.
+#}
+{% extends "website_base.html.jinja" %}
+
+{% block title %} {{ _('index.title') }} {% endblock %}
+
+{% block main %}
+ <h3>
+ {{ _('index.h_big.welcome_to_haketilo') }}
+ </h3>
+{% endblock %}
diff --git a/src/hydrilla_website/templates/website_base.html.jinja b/src/hydrilla_website/templates/website_base.html.jinja
new file mode 100644
index 0000000..f706faa
--- /dev/null
+++ b/src/hydrilla_website/templates/website_base.html.jinja
@@ -0,0 +1,26 @@
+{#
+SPDX-License-Identifier: CC0-1.0
+
+Proxy web UI base page template.
+
+This file is part of Hydrilla&Haketilo.
+
+Copyright (C) 2022 Wojtek Kosior <koszko@koszko.org>
+
+Available under the terms of Creative Commons Zero v1.0 Universal.
+#}
+{% extends "base.html.jinja" %}
+
+{% block head %}
+ {{ super() }}
+
+ <title>
+ {% block title required %}{% endblock %}
+ -
+ {{ _('base.title.haketilo') }}
+ </title>
+{% endblock head %}
+
+{% block style %}
+ {{ super() }}
+{% endblock style %}