DrCr/drcr/templates/base.html

55 lines
2.3 KiB
HTML
Raw Normal View History

2022-12-24 12:31:45 +11:00
{# DrCr: Web-based double-entry bookkeeping framework
2023-01-02 18:08:30 +11:00
Copyright (C) 2022–2023 Lee Yingtong Li (RunasSudo)
2022-12-24 12:31:45 +11:00
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">
</head>
<body>
2022-12-24 16:57:53 +11:00
{% block body %}
<nav class="navbar navbar-expand-sm navbar-light bg-light">
2022-12-24 16:57:53 +11:00
<div class="container">
<a class="navbar-brand" href="/">DrCr</a>
<div class="collapse navbar-collapse">
<ul class="navbar-nav">
2023-01-02 18:08:30 +11:00
<li class="nav-item"><a class="nav-link" href="/journal">Journal</a></li>
<li class="nav-item"><a class="nav-link" href="/statement-lines">Statement lines</a></li>
<li class="nav-item"><a class="nav-link" href="/trial-balance">Trial balance</a></li>
</ul>
</div>
2022-12-24 16:57:53 +11:00
</div>
</nav>
<div class="container">
{% block content %}{% endblock %}
{% if config['DEBUG'] %}
<footer class="border-top pt-4 mt-4">
<p class="text-muted">Queries executed in {{ dbtime() }} msec. Page generated in __EXECUTION_TIME__ msec.</p>
</footer>
{% endif %}
2022-12-24 16:57:53 +11:00
</div>
{% endblock %}
{% block scripts %}{% endblock %}
2022-12-24 12:31:45 +11:00
</body>
</html>