| | |
| | | .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> |
| | | </head> |
| | | <body> |
| | |
| | | </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> |
| | |
| | | </tbody> |
| | | </table> |
| | | --> |
| | | |
| | | <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> |