From 5dd112453445da6ae7a04c1423b02ef33d65e652 Mon Sep 17 00:00:00 2001
From: Jacek Kowalski <Jacek@jacekk.info>
Date: Tue, 13 Dec 2016 22:46:22 +0000
Subject: [PATCH] Move CSS to separate file
---
index.html | 37 +++++++++++++++++++------------------
1 files changed, 19 insertions(+), 18 deletions(-)
diff --git a/index.html b/index.html
index 57e0c62..52958c1 100644
--- a/index.html
+++ b/index.html
@@ -6,23 +6,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
- <style type="text/css">
- tr.active {
- color: gray;
- }
- .form-round-left {
- border-top-left-radius: 4px !important;
- border-bottom-left-radius: 4px !important;
- border-right: 0;
- }
- .navbar-text {
- margin-right: 15px;
- margin-left: 15px;
- }
- .input-group-btn:first-child {
- width: 50%;
- }
- </style>
+ <link rel="stylesheet" type="text/css" href="index.css">
</head>
<body>
<nav class="navbar navbar-default">
@@ -52,6 +36,12 @@
</div>
</nav>
<div class="container-fluid">
+ <div id="progress" class="progress" style="display: none;">
+ <div id="progress-bar" class="progress-bar progress-bar-striped active" style="width: 100%">
+ <span id="progress-text" class="sr-only">Refreshing data...</span>
+ </div>
+ </div>
+
<div id="alert" class="alert alert-danger alert-dismissible" style="display:none">
<a href="#" class="close" id="alert-close" aria-label="close">×</a>
<strong>Error occured!</strong> <span id="alert-text"></span>
@@ -107,7 +97,18 @@
</table>
-->
- <p>© 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-active">Departed</span>
+ <span class="label bg-success">At stop</span>
+ <span class="label bg-default">En route</span>
+ <span class="label bg-warning">Delayed 4′+</span>
+ <span class="label bg-danger">Delayed 10′+</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">© 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.10.0