aboutsummaryrefslogtreecommitdiffstats
path: root/templates/base.html
blob: b2e8e743acadf6f9c6dc8ed6fe9c9a26844fe296 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<html>
    <title>{{ domain }}/{{ title }}</title>
    <head>
        {% block css%}
        <link rel="stylesheet" type="text/css" href="/static/main.css">
        {% endblock %}
    </head>
    <body><center>
        <h1><a href="/">{{ domain }}</a></h1>
        <!-- navbar -->
        <div class="navbar">
        <b>|</b> <!-- This makes the bar symmetrical -->
        {% for dir in navbar %}
        <b> <a href="/{{ dir }}">{{ dir }}/</a> |</b>
        {% endfor %}
        </div>
        <h2>{{ title }}</h2>
        <div class="content">
            {% block content %}
            {% endblock %}
            <h3>{{ errors }}</h3>
            {% if parent_dir != '/' %}
            <h3><a href="{{ parent_dir }}">Go up to parent folder ({{ parent_dir }})</a></h3>
            {% endif %}
        </div>
        <div class="license">{% include 'site/license.html' %}</div>
        </center></body>
</html>