Improved www.ttss.krakow.pl
Jacek Kowalski
2016-12-26 0d4b30edd4072d13bf74e29124fac3c0dc023340
index.html
@@ -1,54 +1,18 @@
<!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">
      <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%;
         }
         @keyframes blink {
            50% { color: transparent; }
         }
         .status-boarding {
            animation: blink 1s linear infinite;
         }
         .status-delayed {
            font-weight: bold;
         }
         .bg-active {
            background-color: #eee;
         }
         .bg-default {
            border: 1px solid #eee;
         }
         .label.bg-success, .label.bg-warning, .label.bg-danger, .label.bg-active, .label.bg-default {
            color: black;
            font-weight: normal;
            font-size: inherit;
         }
      </style>
      <link rel="stylesheet" type="text/css" href="index.css">
   </head>
   <body>
      <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">
@@ -63,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">&#x27f3; 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">&times;</a>
            <strong>Error occured!</strong> <span id="alert-text"></span>