aboutsummaryrefslogtreecommitdiff
path: root/common/base.j2
diff options
context:
space:
mode:
authorng0 <ng0@n0.is>2019-11-17 15:39:52 +0000
committerng0 <ng0@n0.is>2019-11-17 15:39:52 +0000
commitf03141ac42d6c80084161cc5e595bc492e85b4f1 (patch)
tree9f7556b3f7f68913ebdd53d807d1feee1208274e /common/base.j2
parent7b4bb87512d0296db97b6bee88ac03fcdd7a09e8 (diff)
downloadwww-f03141ac42d6c80084161cc5e595bc492e85b4f1.tar.gz
www-f03141ac42d6c80084161cc5e595bc492e85b4f1.zip
remove sticky attribute of navbar, add first rough "jump to top" button (needs improvement!)
Diffstat (limited to 'common/base.j2')
-rw-r--r--common/base.j26
1 files changed, 5 insertions, 1 deletions
diff --git a/common/base.j2 b/common/base.j2
index 70034222..f82e4f27 100644
--- a/common/base.j2
+++ b/common/base.j2
@@ -10,7 +10,11 @@
10 <body id="mybody"> 10 <body id="mybody">
11 {% include "common/navigation.j2.inc" %} 11 {% include "common/navigation.j2.inc" %}
12 <div id="body_content" class="bg-near-white"> 12 <div id="body_content" class="bg-near-white">
13 {% block body_content %}{% endblock %} 13 <!-- jump to top, TODO: the link does not cover all of the button -->
14 <a href="#" id="jump-top" role="button">
15 <i class="fas fa-chevron-up"></i>
16 </a>
17 {% block body_content %}{% endblock %}
14 </div> 18 </div>
15 {% include "common/footer.j2.inc" %} 19 {% include "common/footer.j2.inc" %}
16 </body> 20 </body>