bk-dss/templates/_base.html

40 lines
1.4 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link href="/static/css/bootstrap.min.css" type="text/css" rel="stylesheet">
<link href="/static/css/style.css" type="text/css" rel="stylesheet">
<title>Binary Kitchen: Directory Self-Service</title>
<link rel="shortcut icon" href="/static/img/favicon.ico">
<meta name="theme-color" content="#037">
</head>
<body>
<div class="container">
<div class="row">
<div class="col-md-3 col-sm-3">
<a href="/">
<img class="img-responsive logo" src="/static/img/binary_kitchen.svg" alt="Binary Kitchen"/>
</a>
<hr/>
<nav class="nav nav-pills flex-column">
{% for ni, func in nav %}
<a class="nav-link{%- if request.path == url_for(func) %} active{% endif %}" href="{{ url_for(func) }}">{{ ni }}</a>
{% endfor %}
</nav>
</div>
<div class="col-md-9 col-sm-9">
{% block content %}
{% endblock %}
</div>
</div>
<footer class="mt-2">
<p>Binary Kitchen: Directory Self-Service, <a href="https://github.com/moepman/bk-dss">source code</a> under
MIT license, powered by <a href="https://flask.palletsprojects.com/">Flask</a> and <a href="https://getbootstrap.com/">Bootstrap</a>
</p>
</footer>
</div>
</body>
</html>