diff --git a/templates/timetable.html b/templates/timetable.html index 4844d5c7459cc3e5960c8faa7fbb23eba66c01e1..c7ba24d7f644458e5e8fbd75ce2478a2c04009ae 100644 --- a/templates/timetable.html +++ b/templates/timetable.html @@ -14,7 +14,7 @@ </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 table-bordered col-xs-12" style="width: auto; min-width: 100%;"> - <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> + <tr><th style="width: 30px;"></th>{% for d in days if (d.index < 5) or (d.lectures|length) > 0 %}<th style="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 %}>