Commit 1a49853d authored by fred's avatar fred

somehow mark that month groups can be expanded

parent ee0054fd
......@@ -40,8 +40,8 @@
text-transform: uppercase;
}
.legend{
font-family: "Reglo";
font-size:1.2em;
font-weight:bold;
border-bottom:3px solid black;
padding: 0.2em 0 0.2em 0;
margin: 0.2em 0 0.2em 0;
......
......@@ -30,7 +30,7 @@
<div
class="legend button"
onclick="$('#{{ month.grouper|slugify }}').toggle();"
>{{ month.grouper }}</div>
>&gt; {{ month.grouper }}</div>
<ul class="custom list" id="{{ month.grouper|slugify }}"
{% if forloop.counter >= 3 %}style="display:none;"{% endif %}
>
......
......@@ -79,7 +79,7 @@
{% for month in month_list %}
<div class="monthGroup {% if forloop.counter|divisibleby:2 %}even{% else %}odd{% endif %}">
<div class="legend button" onclick="$('#{{ month.grouper|slugify }}').toggle();"
>{{ month.grouper }}</div>
>&gt; {{ month.grouper }}</div>
<ul class="custom list" id="{{ month.grouper|slugify }}"
>
{% for result in month.list %}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment