From cc45cfcb16c309e158cd60719fe2aaa8a009d60c Mon Sep 17 00:00:00 2001 From: Andreas <andreasv@fsmpi.rwth-aachen.de> Date: Fri, 21 Apr 2017 00:39:39 +0200 Subject: [PATCH] closes #254 --- templates/timetable.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/timetable.html b/templates/timetable.html index b9cb648..1f9fd29 100644 --- a/templates/timetable.html +++ b/templates/timetable.html @@ -13,8 +13,8 @@ </div> </div> <div class="panel-body row table-responsive" style="margin-left: 0px; margin-right: 0px; padding-left: 0px; padding-right: 0px"> - <table id="timetable" class="table-bordered col-xs-12"> - <tr><th style="width: 30px;"></th>{% for d in days if (d.index < 5) or (d.lectures|length) > 0 %}<th style="width: {{ 100/(days|length) }}%" colspan="{{d.maxcol}}">{{ d.date.strftime("%A (%d.%m.%Y)") }}</th>{% endfor %}</tr> + <table id="timetable" class="table table-bordered col-xs-12" style="width: auto;"> + <tr><th style="width: 30px;"></th>{% for d in days if (d.index < 5) or (d.lectures|length) > 0 %}<th style="width: {{ 100/(days|length -1) }}%; min-width: 10em;" colspan="{{d.maxcol}}">{{ d.date.strftime("%A (%d.%m.%Y)") }}</th>{% endfor %}</tr> {% for t in times %} {% set time_loop = loop %} <tr height="12px" {% if t.strftime("%M") == "00" %} class="hourlytime" {% endif %}> -- GitLab