{# DrCr: Web-based double-entry bookkeeping framework Copyright (C) 2022–2023 Lee Yingtong Li (RunasSudo) This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program 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 Affero General Public License for more details. You should have received a copy of the GNU Affero General Public License along with this program. If not, see <https://www.gnu.org/licenses/>. #} <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>{% block title %}{% endblock %}</title> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/css/bootstrap.min.css" integrity="sha384-rbsA2VBKQhggwzxH7pPCaAqO46MgnOM80zW1RWuH61DGLwZJEdK2Kadq2F9CUG65" crossorigin="anonymous"> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.2/font/bootstrap-icons.css" integrity="sha256-4RctOgogjPAdwGbwq+rxfwAmSpZhWaafcZR9btzUk18=" crossorigin="anonymous"> <style type="text/css"> @media print { .container { max-width: none; } } </style> </head> <body> {% block body %} <nav class="navbar navbar-expand-sm navbar-light bg-light d-print-none"> <div class="container"> <a class="navbar-brand" href="{{ url_for('index') }}">DrCr</a> <div class="collapse navbar-collapse"> <ul class="navbar-nav"> <li class="nav-item"><a class="nav-link" href="{{ url_for('journal') }}">Journal</a></li> <li class="nav-item"><a class="nav-link" href="{{ url_for('statement_lines') }}">Statement lines</a></li> <li class="nav-item"><a class="nav-link" href="{{ url_for('trial_balance') }}">Trial balance</a></li> </ul> </div> </div> </nav> <div class="container"> {% block content %}{% endblock %} {% if config['DEBUG'] %} <footer class="border-top pt-4 mt-4 d-print-none"> <p class="text-muted">Queries executed in {{ dbtime() }} msec. Page generated in __EXECUTION_TIME__ msec.</p> </footer> {% endif %} </div> {% endblock %} {#<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-kenU1KFdBIe4zVF0s0G1M5b4hcpxyD9F7jL+jjXkk+Q2h455rYXK/7HAuoJl+0I4" crossorigin="anonymous"></script>#} {% block scripts %}{% endblock %} </body> </html>