Skip to content
Snippets Groups Projects
Verified Commit f3655095 authored by Jonathan Weth's avatar Jonathan Weth :keyboard:
Browse files

Reformat templates

parent 23a4be92
No related branches found
No related tags found
No related merge requests found
...@@ -7,24 +7,24 @@ ...@@ -7,24 +7,24 @@
{% endif %} {% endif %}
<div class="col s2 no-padding"> <div class="col s2 no-padding">
<a class="waves-effect waves-teal btn-flat btn-flat-medium left" href="{{ url_prev }}"> <a class="waves-effect waves-teal btn-flat btn-flat-medium left" href="{{ url_prev }}">
<i class="material-icons center">navigate_before</i> <i class="material-icons center">navigate_before</i>
</a> </a>
</div> </div>
{% if display_date_only %} {% if display_date_only %}
<div class="col s8"> <div class="col s8">
<span class="card-title center-block" id="date"> <span class="card-title center-block" id="date">
{{ day|date:"l" }}, {{ day }} {{ day|date:"l" }}, {{ day }}
</span> </span>
</div> </div>
{% else %} {% else %}
<div class="col s8 no-padding"> <div class="col s8 no-padding">
<input type="text" class="datepicker center-align" id="date"> <input type="text" class="datepicker center-align" id="date">
</div> </div>
{% endif %} {% endif %}
<div class="col s2 no-padding"> <div class="col s2 no-padding">
<a class="waves-effect waves-teal btn-flat btn-flat-medium right" href="{{ url_next }}"> <a class="waves-effect waves-teal btn-flat btn-flat-medium right" href="{{ url_next }}">
<i class="material-icons center">navigate_next</i> <i class="material-icons center">navigate_next</i>
</a> </a>
</div> </div>
...@@ -11,7 +11,8 @@ ...@@ -11,7 +11,8 @@
<select id="calendar-week-1"> <select id="calendar-week-1">
{% for week in weeks %} {% for week in weeks %}
<option value="{{ week.week }}" {% if week == wanted_week %} <option value="{{ week.week }}" {% if week == wanted_week %}
selected {% endif %}>{% trans "CW" %} {{ week.week }} ({{ week.0|date:"SHORT_DATE_FORMAT" }}–{{ week.6|date:"SHORT_DATE_FORMAT" }}) selected {% endif %}>{% trans "CW" %} {{ week.week }}
({{ week.0|date:"SHORT_DATE_FORMAT" }}–{{ week.6|date:"SHORT_DATE_FORMAT" }})
</option> </option>
{% endfor %} {% endfor %}
</select> </select>
...@@ -21,7 +22,8 @@ ...@@ -21,7 +22,8 @@
<select id="calendar-week-2"> <select id="calendar-week-2">
{% for week in weeks %} {% for week in weeks %}
<option value="{{ week.week }}" {% if week == wanted_week %} <option value="{{ week.week }}" {% if week == wanted_week %}
selected {% endif %}>{% trans "CW" %} {{ week.week }} ({{ week.0|date:"j.n." }}–{{ week.6|date:"SHORT_DATE_FORMAT" }}) selected {% endif %}>{% trans "CW" %} {{ week.week }}
({{ week.0|date:"j.n." }}–{{ week.6|date:"SHORT_DATE_FORMAT" }})
</option> </option>
{% endfor %} {% endfor %}
</select> </select>
......
...@@ -64,7 +64,7 @@ ...@@ -64,7 +64,7 @@
{% include "chronos/partials/subs/groups.html" with type=item.type el=item.el %} {% include "chronos/partials/subs/groups.html" with type=item.type el=item.el %}
</td> </td>
<td> <td>
{% include "chronos/partials/subs/period.html" with type=item.type el=item.el %} {% include "chronos/partials/subs/period.html" with type=item.type el=item.el %}
</td> </td>
<td> <td>
{% include "chronos/partials/subs/teachers.html" with type=item.type el=item.el %} {% include "chronos/partials/subs/teachers.html" with type=item.type el=item.el %}
......
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