From f9f70d78e8186b123126ecfbde9bed3545278415 Mon Sep 17 00:00:00 2001
From: Martin Mares <mj@ucw.cz>
Date: Mon, 15 Jun 2020 11:39:11 +0200
Subject: [PATCH] App: Warning about Z6 to Z10

---
 app/static/mffzoom.css  | 5 +++++
 app/templates/main.html | 5 ++++-
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/app/static/mffzoom.css b/app/static/mffzoom.css
index e957ae1..405a4b1 100644
--- a/app/static/mffzoom.css
+++ b/app/static/mffzoom.css
@@ -12,6 +12,11 @@ body {
 	height: 2.5ex;
 }
 
+.warning {
+	color: #cc0000;
+	font-weight: bold;
+}
+
 #schedule {
 	position: relative;
 }
diff --git a/app/templates/main.html b/app/templates/main.html
index f57157b..79e1d9c 100644
--- a/app/templates/main.html
+++ b/app/templates/main.html
@@ -2,7 +2,7 @@
 <html>
 <head>
 	<title>MFF Zoom Schedule</title>
-	<link rel=stylesheet href="{{ url_for('static', filename='mffzoom.css') }}?v=1" type='text/css' media=all>
+	<link rel=stylesheet href="{{ url_for('static', filename='mffzoom.css') }}?v=2" type='text/css' media=all>
 </head>
 <body>
 	<h1>MFF Zoom</h1>
@@ -32,6 +32,9 @@
 	</form>
 
 	<h2>Schedule for {{ g.dow }} {{ g.date }}</h2>
+{% if g.rooms == "i" %}
+	<p class=warning>Warning: Do not plan new meetings in Z6 to Z10, they will become unlicensed on 2020-06-22.
+{% endif %}
 
 	<div id=heading>
 {% for r in g.room_boxes %}
-- 
GitLab