Skip to content
Snippets Groups Projects
Commit ef88ba7f authored by Hangzhi Yu's avatar Hangzhi Yu
Browse files

further small fixes for timetable

parent 8008ab40
No related branches found
No related tags found
1 merge request!86Merge school-apps
......@@ -93,7 +93,7 @@
{% endfor %}
</select>
</div>
<div class="input-field col s8 no-margin hide-on-small-and-down">
<div class="input-field col s8 no-margin hide-on-med-and-down">
<select id="calendar-week">
{% for week in weeks %}
<option value="{{ week.calendar_week }}" {% if week.calendar_week == selected_week %}
......@@ -102,6 +102,15 @@
{% endfor %}
</select>
</div>
<div class="input-field col s8 no-margin hide-on-small-and-down hide-on-large-only">
<select id="calendar-week">
{% for week in weeks %}
<option value="{{ week.calendar_week }}" {% if week.calendar_week == selected_week %}
selected {% endif %}> KW {{ week.calendar_week }} ({{ week.first_day|date:"j.n" }}–{{ week.last_day|date:"j.n.Y" }})
</option>
{% endfor %}
</select>
</div>
<div class="col s2 no-print">
<a class="waves-effect waves-teal btn-flat btn-flat-medium left" id="week-next">
<i class="material-icons center">navigate_next</i>
......@@ -182,6 +191,7 @@
</div>
{% endfor %}
</div>
{# show 5 seperate ones on mobiles #}
<div class="timetable-plan hide-on-med-and-up">
{% for long_week_day in long_week_days %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment