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

Include extra stylesheets for quick launch

parent 60576ae5
No related branches found
No related tags found
1 merge request!31Biscuit merge. Closes #53.
...@@ -2,12 +2,14 @@ ...@@ -2,12 +2,14 @@
{% load i18n %} {% load i18n %}
<style type="text/css"> {# TODO: Have to be moved to head if there is a block header in core #} {% block extra_head %}
.btn-timetable-quicklaunch { <style type="text/css">
margin: 1%; .btn-timetable-quicklaunch {
width: 30%; margin: 1%;
} width: 30%;
</style> }
</style>
{% endblock %}
{% block page_title %}{% trans "All timetables" %}{% endblock %} {% block page_title %}{% trans "All timetables" %}{% endblock %}
...@@ -17,7 +19,7 @@ ...@@ -17,7 +19,7 @@
<h5>{% trans "Teachers" %}</h5> <h5>{% trans "Teachers" %}</h5>
{% for teacher in teachers %} {% for teacher in teachers %}
<a class="waves-effect waves-light btn btn-timetable-quicklaunch" <a class="waves-effect waves-light btn btn-timetable-quicklaunch primary"
href="{% url 'timetable' 'teacher' teacher.pk %}"> href="{% url 'timetable' 'teacher' teacher.pk %}">
{{ teacher.short_name }} {{ teacher.short_name }}
</a> </a>
...@@ -28,7 +30,7 @@ ...@@ -28,7 +30,7 @@
<h5>{% trans "Classes" %}</h5> <h5>{% trans "Classes" %}</h5>
{% for class in classes %} {% for class in classes %}
<a class="waves-effect waves-light btn btn-timetable-quicklaunch" <a class="waves-effect waves-light btn btn-timetable-quicklaunch primary"
href="{% url 'timetable' 'group' class.id %}"> href="{% url 'timetable' 'group' class.id %}">
{{ class.short_name }} {{ class.short_name }}
</a> </a>
...@@ -39,7 +41,7 @@ ...@@ -39,7 +41,7 @@
<h5>{% trans "Rooms" %}</h5> <h5>{% trans "Rooms" %}</h5>
{% for room in rooms %} {% for room in rooms %}
<a class="waves-effect waves-light btn btn-timetable-quicklaunch" <a class="waves-effect waves-light btn btn-timetable-quicklaunch primary"
href="{% url 'timetable' 'room' room.id %}"> href="{% url 'timetable' 'room' room.id %}">
{{ room.short_name }} {{ room.short_name }}
</a> </a>
......
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