diff options
Diffstat (limited to 'templates/base.html')
-rw-r--r-- | templates/base.html | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/templates/base.html b/templates/base.html new file mode 100644 index 0000000..3e60afa --- /dev/null +++ b/templates/base.html @@ -0,0 +1,66 @@ +<!DOCTYPE html> +<!-- + This file is part of GNU TALER. + Copyright (C) 2019 INRIA + + 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 data-taler-nojs="true"> +<head> + <meta charset="utf-8" /> + <title>{{ page_title }}</title> + <link rel="icon" type="image/png" href="{{ url('static/web-common/favicon-taler.ico') }}" /> + + <link rel="stylesheet" type="text/css" href="{{ url('/static/web-common/css/bootstrap.min.css') }}" /> + <link rel="stylesheet" type="text/css" href="{{ url('/static/web-common/css/taler.css') }}" /> + <link rel="stylesheet" type="text/css" href="{{ url('/static/web-common/css/taler-fallback.css') }}" id="taler-presence-stylesheet" /> + {% block styles %}{% endblock %} + + <script src="{{ url('/static/web-common/js/jquery-3.4.0.min.js') }}" type="application/javascript"></script> + <script src="{{ url('/static/web-common/js/bootstrap.min.js') }}" type="application/javascript"></script> + <script src="{{ url('/static/web-common/js/taler-wallet-lib.js') }}" type="application/javascript"></script> + {% block scripts %}{% endblock %} +</head> +<nav class="navbar navbar-expand-md navbar-dark fixed-top bg-dark"> + <a class="navbar-brand adorn-brackets" href="{{ intro_url }}">Taler</a> + <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarCollapse" aria-controls="navbarCollapse" aria-expanded="false" aria-label="Toggle navigation"> + <span class="navbar-toggler-icon"></span> + </button> + <div class="collapse navbar-collapse" id="navbarCollapse"> + {% block navbar %} + <ul class="navbar-nav mr-auto"> + <li class="nav-item"><a class="nav-link" href="{{ intro_url }}">Introduction</a></li> + <li class="nav-item"><a class="nav-link" href="{{ bank_url }}">Bank</a></li> + <li class="nav-item"><a class="nav-link" href="{{ merchant_blog_url }}">Essay Shop</a></li> + <li class="nav-item"><a class="nav-link" href="{{ merchant_donations_url }}">Donations</a></li> + <li class="nav-item"><a class="nav-link" href="{{ merchant_survey_url }}">Tipping/Survey</a></li> + <li class="nav-item"><a class="nav-link" href="{{ backoffice_url }}">Back-office</a></li> + </ul> + {% endblock %} + </div> +</nav> + +<main role="main" class="container"> + {% block page_content %}{% endblock %} + + {% block footer %} + <hr /> + <div class="row copyright"> + <div class="col-md-6 text-md-left">Copyright © 2014—2019 INRIA</div> + <div class="col-md-6 text-md-right"><a href="{{ url('/static/web-common/javascript.html') }}" data-jslicense="1" class="jslicenseinfo">JavaScript license information</a></div> + </div> + {% endblock %} +<body> + +</body> +</html> |