diff options
Diffstat (limited to 'templates/core.html')
-rw-r--r-- | templates/core.html | 26 |
1 files changed, 23 insertions, 3 deletions
diff --git a/templates/core.html b/templates/core.html index aaa95ce..4112cc6 100644 --- a/templates/core.html +++ b/templates/core.html @@ -4,17 +4,37 @@ <meta charset="utf-8" /> <link href="/static/main.css" rel="stylesheet"> <meta name="viewport" content="width=device-width, initial-scale=1"> + <meta http-equiv="Cache-control" content="no-cache"> {% block title %}{% endblock %} </head> <body> - <div class="container"> - {% block content %}{% endblock %} + + <header> + <div class="nav"> + <img src="/static/octopus.png" /> + <h1>{{ base.sitename }}</h1> + </div> + <div class="nav"> + <a href="{{ base.siteurl }}/">Overview</a> + <a href="{{ base.siteurl }}/tree">File Browser</a> + <a href="{{ base.siteurl }}/wiki">Wiki</a> + </div> + </header> + {# Limits the width #} + <div class="wrap"> + <div class="content"> + {% block content %}{% endblock %} + </div> + + <div class="footer"> <pre> Generated by <strong>octopus {{ base.version }}</strong> In compliance with the <a href="https://en.wikipedia.org/wiki/Affero_General_Public_License">AGPL</a> you can find the sources for this software <strong><a href="{{ base.source }}">here</a></strong>! </pre> - <div> + </div> + + </div> </body> </html> |