diff options
-rw-r--r-- | public/css/sublab.calendar.css | 9 | ||||
-rw-r--r-- | public/js/calendar.js | 2 | ||||
-rw-r--r-- | template/tabcalendar.j2 | 2 |
3 files changed, 11 insertions, 2 deletions
diff --git a/public/css/sublab.calendar.css b/public/css/sublab.calendar.css index 68ef616..6393490 100644 --- a/public/css/sublab.calendar.css +++ b/public/css/sublab.calendar.css @@ -51,3 +51,12 @@ .tabcal-day { text-align: right; } + +.tabcal-cell>p { + font-size: 1.3em; +} + +.tabcal-cell>ul { + padding-left: 10px; + margin-bottom: 0px; +} diff --git a/public/js/calendar.js b/public/js/calendar.js index 2f402ae..41b35d6 100644 --- a/public/js/calendar.js +++ b/public/js/calendar.js @@ -1,5 +1,5 @@ $(function() { - $('.calendar-listing>p').click(function() { + $('.calendar-listing:not(expanded)>p').click(function() { $(this).next().toggle('fast'); return false; }).next().hide(); diff --git a/template/tabcalendar.j2 b/template/tabcalendar.j2 index 095ba85..ef84bfd 100644 --- a/template/tabcalendar.j2 +++ b/template/tabcalendar.j2 @@ -1,6 +1,6 @@ <div class="calendar-table"> {%- for month in months %} -<p>{{ month.date.strftime('%B %Y').decode('utf-8') }}</p> +<h2>{{ month.date.strftime('%B %Y').decode('utf-8') }}</h2> <table class="table table-striped"> <tr> <th>Montag</th> |