tools.cobbled-paths/templates/base.html

43 lines
1.7 KiB
HTML
Raw Normal View History

2024-03-09 13:22:52 +01:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<title>{% block title %}{{title}}{% endblock%}</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- CSS reset, uncomment this line to supress the default browser CSS style -->
<link rel="stylesheet" type="text/css" href="/static/css/reset.css" />
<link rel="stylesheet" type="text/css" href="/static/css/basics.css" />
<link rel="stylesheet" type="text/css" href="/static/css/svg.css" />
2024-03-09 13:22:52 +01:00
<!-- CSS that is applied but outside of pad (for interface, etc) -->
<link rel="stylesheet" type="text/css" href="/static/css/interface.css" />
2024-03-09 13:22:52 +01:00
{% block head %}{% endblock %}
</head>
<body class="{% block body_class %}{% endblock %}">
<nav class="tabs">
2024-03-09 13:22:52 +01:00
<ul>
<li><a {% if request.url_rule.endpoint == "index" %}class="active"{% endif %} href="/">about</a></li>
<li><a {% if request.url_rule.endpoint == "draw" %}class="active"{% endif %} href="/draw.html">ASCII draw</a></li>
<li><a {% if request.url_rule.endpoint == "font" %}class="active"{% endif %} href="/font.html">FIGfont make</a></li>
<li><a {% if request.url_rule.endpoint == "catalogue" %}class="active"{% endif %} href="/catalogue.html">FIGfont catalogue</a></li>
<!-- <li><a {% if request.url_rule.endpoint == "image" %}class="active"{% endif %} href="/image.html">image</a></li> -->
<li><a {% if request.url_rule.endpoint == "gallery" %}class="active"{% endif %} href="/gallery.html">gallery</a></li>
2024-03-09 13:22:52 +01:00
</ul>
</nav>
{% block body %}{% endblock %}
</body>
</html>