diff --git a/src/info/templates/info.html b/src/info/templates/info.html index cdbc7ecd..25b1276d 100644 --- a/src/info/templates/info.html +++ b/src/info/templates/info.html @@ -25,11 +25,17 @@ Info | {{ block.super }} margin-top: -94px; /*same height as header*/ visibility: hidden; } + + .sticky { + position: sticky; + top: 100px; + } + {% if categories %}
-
+

Table of Contents

{% for category in categories %} @@ -37,13 +43,10 @@ Info | {{ block.super }} {% endfor %}

-
+
{% for category in categories %} - - -
-
+

{{ category.headline }} {% if category.team %}Info by the {{ category.team.name }} team{% endif %}

{% for item in category.infoitems.all %} @@ -69,9 +72,9 @@ Info | {{ block.super }}
{% endfor %}
-
-
{% endfor %} +
+ {% else %}

No info found for {{ camp.title }}

{% endif %}