diff options
Diffstat (limited to 'src/pydrilla/templates')
-rw-r--r-- | src/pydrilla/templates/base.html | 32 | ||||
-rw-r--r-- | src/pydrilla/templates/index.html | 2 |
2 files changed, 31 insertions, 3 deletions
diff --git a/src/pydrilla/templates/base.html b/src/pydrilla/templates/base.html index 6e7887e..7b26b64 100644 --- a/src/pydrilla/templates/base.html +++ b/src/pydrilla/templates/base.html @@ -75,6 +75,24 @@ in a proprietary program, I am not going to enforce this in court. font-size: 1.5em; padding: 0.5em; } + + .content { + margin: auto; + margin-top: 2em; + margin-bottom: 2em; + max-width: 700px; + padding-left: 1em; + padding-right: 1em; + border-left: 1px #999 solid; + border-right: 1px #999 solid; + } + + .footer { + font-size: 0.8em; + padding: 1em; + border-top: 1px #777 solid; + text-align: center; + } {% endblock %} </style> <title>{% block title %}{{ _('hydrilla') }}{% endblock %}</title> @@ -87,8 +105,18 @@ in a proprietary program, I am not going to enforce this in court. class="home_link" {% endcall %} </div> - {% block content %} - {% endblock %} + + <div class="content"> + {% block content %} + {% endblock %} + </div> + + <div class="footer"> + Copyright © Wojtek Kosior. + <br> + This page was generated by Hydrilla which is free/libre software. + You can get a copy <a href="{{ hydrilla_sources_uri|e }}">here</a>. + </div> {% endblock %} </body> </html> diff --git a/src/pydrilla/templates/index.html b/src/pydrilla/templates/index.html index 5f5b319..2555df0 100644 --- a/src/pydrilla/templates/index.html +++ b/src/pydrilla/templates/index.html @@ -24,7 +24,7 @@ in a proprietary program, I am not going to enforce this in court. #} {% extends 'base.html' %} -{% block body %} +{% block content %} {{ super() }} <h2>{{ _('hydrilla_welcome') }}</h2> {% endblock %} |