diff --git a/templates/timetable.html b/templates/timetable.html index b9cb648d60e5002da01f90f570477c7d14f8de20..1f9fd294b3080602052860747b327d2a2dd67e48 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 %}>