From f50bae766a5086ae5f9caf4668d2ec34fdb4d70c Mon Sep 17 00:00:00 2001 From: Jacek Kowalski <Jacek@jacekk.info> Date: Tue, 03 Jan 2017 21:20:18 +0000 Subject: [PATCH] Include stop name in page title --- index.html | 19 +++++++------------ 1 files changed, 7 insertions(+), 12 deletions(-) diff --git a/index.html b/index.html index 52958c1..2b4c5b3 100644 --- a/index.html +++ b/index.html @@ -1,7 +1,7 @@ <!DOCTYPE html> <html lang="en"> <head> - <title>TTSS Cracow</title> + <title>TTSS Kraków - Real-time tram departures</title> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> @@ -12,7 +12,7 @@ <nav class="navbar navbar-default"> <div class="container-fluid"> <div class="navbar-header"> - <a class="navbar-brand" href="#">TTSS KRK</a> + <a class="navbar-brand" href="#">TTSS Kraków</a> </div> <form class="navbar-form navbar-left"> <div class="input-group"> @@ -27,21 +27,12 @@ </div> </form> - <button type="button" class="btn btn-default navbar-btn pull-right" id="refresh" disabled="disabled"> - <span class="glyphicon glyphicon-refresh" aria-hidden="true"></span> - Refresh - </button> + <button type="button" class="btn btn-default navbar-btn pull-right" id="refresh" disabled="disabled">⟳ Refresh</button> <p class="navbar-text pull-right" id="refresh-text">Initializing...</p> </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> @@ -106,6 +97,10 @@ <span class="label bg-danger">Delayed 10′+</span> </p> + <p class="small"> + <span class="bigger" title="Bombardier NGT6, Bombardier NGT8, PESA 2014N Krakowiak, Newag Nevelo 126N">♿</span> - low-floor tram. <span class="bigger" title="Düwag/Man/MPK N8C-NF, Düwag/MPK GT8C, Bombardier-Rotax/MPK EU8N, Protram 405N-Kr">*♿</span> - partially low-floor tram. <span class="bigger" title="other tram types">‐</span> - high-floor tram. Hover the icon for more details. + </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> -- Gitblit v1.9.1