From a03a801704417cf4b0bb2bb00151586b5eaf38e3 Mon Sep 17 00:00:00 2001
From: Jacek Kowalski <Jacek@jacekk.info>
Date: Tue, 06 Dec 2016 21:46:54 +0000
Subject: [PATCH] Add legend

---
 index.html |   20 +++++++++++++++++++-
 1 files changed, 19 insertions(+), 1 deletions(-)

diff --git a/index.html b/index.html
index c7be53f..d26beb1 100644
--- a/index.html
+++ b/index.html
@@ -31,6 +31,14 @@
 			.status-delayed {
 				font-weight: bold;
 			}
+			.bg-active {
+				background-color: #eee;
+			}
+			.label.bg-success, .label.bg-warning, .label.bg-danger, .label.bg-active {
+				color: black;
+				font-weight: normal;
+				font-size: inherit;
+			}
 		</style>
 	</head>
 	<body>
@@ -116,7 +124,17 @@
 					</table>
 					-->
 					
-					<p>&copy; 2016 Jacek Kowalski - <a href="https://github.com/jacekkow/mpk-ttss">Source</a> - <a href="https://raw.githubusercontent.com/jacekkow/mpk-ttss/master/LICENSE">License</a></p>
+					<p class="small">
+						Legend:
+						<span class="label bg-success">At stop</span>
+						<span class="label bg-warning">Slightly delayed</span>
+						<span class="label bg-danger">Heavily delayed</span>
+						<span class="label bg-active">Departed</span>
+					</p>
+					
+					<p class="small">Relative times (eg. 3 min) are real-time arrivals based on tram location data. Absolute times (eg. 8:01) are scheduled departures, shown when the tram cannot be located. "?" means unknown delay.</p>
+					
+					<p class="small">&copy; 2016 Jacek Kowalski - <a href="https://github.com/jacekkow/mpk-ttss">Source</a> - <a href="https://raw.githubusercontent.com/jacekkow/mpk-ttss/master/LICENSE">License</a></p>
 				</div>
 			</div>
 		</div>

--
Gitblit v1.9.1