From 73a8728b402b4ee418c796f4c1e204102de28294 Mon Sep 17 00:00:00 2001 From: frekk <frekk@ucc.asn.au> Date: Sun, 13 Jan 2019 11:21:25 +0800 Subject: [PATCH] add useful links to page footer --- gms/memberdb/static/shared.css | 15 ++++++++++++++- gms/memberdb/templates/base.html | 12 +++++++++--- 2 files changed, 23 insertions(+), 4 deletions(-) diff --git a/gms/memberdb/static/shared.css b/gms/memberdb/static/shared.css index 765341c..38baf50 100644 --- a/gms/memberdb/static/shared.css +++ b/gms/memberdb/static/shared.css @@ -40,13 +40,26 @@ body { color: #777; text-align: center; overflow: hidden; - z-index: -1; } #footer p { padding: 0; + margin: 12px 0 6px 0; } +.linkslist a { + display: inline-block; + padding: 0; + margin: 6px 10px 12px 10px; + color: #555; +} + +.linkslist a:visited { + color: #333; +} + + + /* MESSAGES & ERRORS */ ul.messagelist { diff --git a/gms/memberdb/templates/base.html b/gms/memberdb/templates/base.html index a08406f..c88c5a0 100644 --- a/gms/memberdb/templates/base.html +++ b/gms/memberdb/templates/base.html @@ -3,7 +3,7 @@ <html> <head> <!-- MemberDB base template --> - <title>{% block title %}{% endblock %}</title> + <title>{% block title %}UCC MemberDB{% endblock %}</title> <link rel="shortcut icon" type="image/png" href="{% static 'ucc-logo.png' %}"/> <link rel="stylesheet" type="text/css" href="{% static "memberdb.css" %}"> {% block prestyle %}{% endblock %} @@ -23,7 +23,7 @@ {% block navbar %} <nav> {% block branding %} - <a class="logo" href="https://ucc.asn.au"></a> + <a class="logo" title="UCC logo"></a> {% endblock %} {# fancy automatic navbar thing from https://stackoverflow.com/questions/39639264 #} @@ -56,7 +56,7 @@ <!-- Content --> <div id="content"> {% block pretitle %}{% endblock %} - {% block content_title %}{% endblock %} + {% block content_title %}<h1></h1>{% endblock %} {% block content %} {% endblock %} <!-- sidebar --> @@ -72,6 +72,12 @@ The University Computer Club Inc. ABN: 98 843 368 069 </p> + <div class="linkslist"> + <a href="https://www.ucc.asn.au">main website</a>• + <a href="https://wiki.ucc.asn.au">UCC wiki</a>• + <a href="https://www.ucc.asn.au/aboutucc/contact.ucc">contact us</a>• + <a href="https://gitlab.ucc.asn.au/frekk/uccportal">source code</a> + </div> </div> {% endblock %} <!-- END Footer --> -- GitLab