diff options
author | Florian Dold <florian@dold.me> | 2021-04-21 21:07:18 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2021-04-21 21:07:18 +0200 |
commit | 2b84f3bd5de3a500b63193924bea2f3dfd0c9afd (patch) | |
tree | 08d5a2bd354ab7849d731eabe7b132429b6d2225 /talermerchantdemos/templates/common-base.html.j2 | |
parent | 4356540b2eb12b2c307270566b0b4ce969e12c60 (diff) | |
download | taler-merchant-demos-2b84f3bd5de3a500b63193924bea2f3dfd0c9afd.tar.gz taler-merchant-demos-2b84f3bd5de3a500b63193924bea2f3dfd0c9afd.tar.bz2 taler-merchant-demos-2b84f3bd5de3a500b63193924bea2f3dfd0c9afd.zip |
common base template, new logo and lots of cleanup
Diffstat (limited to 'talermerchantdemos/templates/common-base.html.j2')
-rw-r--r-- | talermerchantdemos/templates/common-base.html.j2 | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/talermerchantdemos/templates/common-base.html.j2 b/talermerchantdemos/templates/common-base.html.j2 new file mode 100644 index 0000000..ff8d655 --- /dev/null +++ b/talermerchantdemos/templates/common-base.html.j2 @@ -0,0 +1,50 @@ +<!DOCTYPE html> +<!-- + This file is part of GNU TALER. + Copyright (C) 2014, 2015, 2016, 2020 Taler Systems SA + + TALER is free software; you can redistribute it and/or modify it under the + terms of the GNU Lesser General Public License as published by the Free Software + Foundation; either version 2.1, or (at your option) any later version. + + TALER is distributed in the hope that it will be useful, but WITHOUT ANY + WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR + A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License along with + TALER; see the file COPYING. If not, see <http://www.gnu.org/licenses/> +--> + +<html> +<head> + <title>{{ gettext("GNU Taler Demo: Introduction") }}</title> + <link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='pure.css') }}" /> + <link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='demo.css') }}" /> + <link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='navbar.css') }}" /> + <link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='torsten.css') }}" /> + {% block styles %}{% endblock %} + {% block scripts %}{% endblock %} +</head> + +<body> + <header class="demobar" style="display: flex; flex-direction: column;"> + <p> + <img src="{{ url_for('static', filename='logo-white.svg') }}" height="100"><br/> + </p> + + <div> + {% block header_content %} + <p>This is the header content.</p> + {% endblock %} + </div> + </header> + {% from 'menu.html.j2' import menu with context %} {{ menu('landing') }} + + <section id="main" class="content"> + {% block main %} + This is the main content of the page. + {% endblock %} + {% include 'footer.html.j2' %} + </section> +</body> +</html> |