diff options
author | Kaiden Fey <kookie@spacekookie.de> | 2020-10-25 05:36:08 +0100 |
---|---|---|
committer | Katharina Fey <kookie@spacekookie.de> | 2020-10-25 05:36:08 +0100 |
commit | 63cd5d0a8d3f77c0267f12a6aef52533cc2f7d09 (patch) | |
tree | d46fb6058a6ade2726154fff76d5bda1d6dfc7e0 /templates | |
parent | 392444d21101ce7b637f2e5a385490605f93ccf1 (diff) |
Adding a whole lot of shit (octopus and supergit)
Diffstat (limited to '')
-rw-r--r-- | templates/core.html | 26 | ||||
-rw-r--r-- | templates/files.html | 17 | ||||
-rw-r--r-- | templates/index.html | 34 |
3 files changed, 46 insertions, 31 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> diff --git a/templates/files.html b/templates/files.html new file mode 100644 index 0000000..02b0201 --- /dev/null +++ b/templates/files.html @@ -0,0 +1,17 @@ +{% extends "core.html" %} + +{% block content %} + +<h1>File Tree</h1> + +<p>Following is a copy of the file tree. You can clone any sub-directry that is marked as a "project".</p> + +<div class="explorer"> + + {# header section #} + <div class="expl-header"> + <span><strong>Mx Kookie</strong> <a href="">Just fucking around with stuff</a></span> + </div> +</div> + +{% endblock %} diff --git a/templates/index.html b/templates/index.html index ca7d1b1..fd23cc2 100644 --- a/templates/index.html +++ b/templates/index.html @@ -1,29 +1,7 @@ -<html> - <head> - <title>octopus | index</title> - <link href="/static/main.css" rel="stylesheet"> - </head> - <body> - <div class="wrapper"> - <header> - <div class="nav"> - <img src="/static/octopus.png" /> - <h1>{{ base.sitename }}</h1> - </div> - <div class="nav"> - <a href="">Overview</a> - <a href="">File Browser</a> - <a href="">Wiki</a> - </div> - </header> +{% extends "core.html" %} - <div class="wrap"> - <div class="content"> - {{ readme }} - </div> - </div> - - - </div> - </body> -</html> +{% block content %} + +{{ readme }} + +{% endblock %} |