From 026fdd7becb5a63471f33b15707b91693016f070 Mon Sep 17 00:00:00 2001
From: Dominik George <dominik.george@teckids.org>
Date: Mon, 22 Jul 2019 13:17:01 +0200
Subject: [PATCH] Add stylesheet.

---
 biscuit/apps/chronos/static/css/chronos/timetable.css | 3 +++
 biscuit/apps/chronos/templates/chronos/tt_week.html   | 7 ++++++-
 2 files changed, 9 insertions(+), 1 deletion(-)
 create mode 100644 biscuit/apps/chronos/static/css/chronos/timetable.css

diff --git a/biscuit/apps/chronos/static/css/chronos/timetable.css b/biscuit/apps/chronos/static/css/chronos/timetable.css
new file mode 100644
index 00000000..6b692ce6
--- /dev/null
+++ b/biscuit/apps/chronos/static/css/chronos/timetable.css
@@ -0,0 +1,3 @@
+.chronos-lesson {
+    height: 6em;
+}
diff --git a/biscuit/apps/chronos/templates/chronos/tt_week.html b/biscuit/apps/chronos/templates/chronos/tt_week.html
index ffde471a..7293aa68 100644
--- a/biscuit/apps/chronos/templates/chronos/tt_week.html
+++ b/biscuit/apps/chronos/templates/chronos/tt_week.html
@@ -1,6 +1,11 @@
 {# -*- engine:django -*- #}
 {% extends "core/base.html" %}
-{% load bootstrap4 data_helpers i18n %}
+{% load bootstrap4 data_helpers i18n staticfiles %}
+
+{% block bootstrap4_extra_head %}
+ {{ block.super }}
+ <link rel="stylesheet" href="{% static 'css/chronos/timetable.css' %}" />
+{% endblock %}
 
 {% block page_title %}Timetable{% endblock %}
 
-- 
GitLab