diff options
| author | mjfernez <mjfernez@gmail.com> | 2021-06-07 00:03:12 -0400 | 
|---|---|---|
| committer | mjfernez <mjfernez@gmail.com> | 2021-06-07 00:40:39 -0400 | 
| commit | ca5b85fb744221588859f3639ba7e4da0bc82649 (patch) | |
| tree | 2595d1e315e09e5d35c362d95a35585416a7a2fb /templates/base.html | |
| download | ezcms-ca5b85fb744221588859f3639ba7e4da0bc82649.tar.gz | |
first commit
Diffstat (limited to 'templates/base.html')
| -rw-r--r-- | templates/base.html | 28 | 
1 files changed, 28 insertions, 0 deletions
| diff --git a/templates/base.html b/templates/base.html new file mode 100644 index 0000000..b2e8e74 --- /dev/null +++ b/templates/base.html @@ -0,0 +1,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> | 
