From 4d882e6d16036c99055cfb8df0bf8c25bcbb8d8c Mon Sep 17 00:00:00 2001 From: Jacek Kowalski <Jacek@jacekk.info> Date: Sun, 14 May 2017 22:21:25 +0000 Subject: [PATCH] Change alert view and add top menu --- index.html | 15 ++++++++++++--- 1 files changed, 12 insertions(+), 3 deletions(-) diff --git a/index.html b/index.html index b6bc991..c83764b 100644 --- a/index.html +++ b/index.html @@ -5,8 +5,10 @@ <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="manifest" href="index.manifest" /> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous"> <link rel="stylesheet" type="text/css" href="index.css"> + <style type="text/css" id="vehicle-data-style"></style> </head> <body> <nav class="navbar navbar-default"> @@ -32,12 +34,12 @@ <form class="navbar-form navbar-left"> <div class="input-group"> <span class="input-group-btn"> - <input type="text" class="form-control form-round-left" id="stop-name" placeholder="Stop name" autofocus="autofocus" /> + <input type="text" class="form-control form-round-left" id="stop-name" placeholder="Nazwa przystanku" autofocus="autofocus" /> </span> <select class="form-control" id="stop-name-autocomplete"> </select> <span class="input-group-btn"> - <button type="submit" class="btn btn-default" data-translate="go_button">Go</button> + <button type="submit" class="btn btn-default" data-translate="go_button">Dalej</button> </span> </div> </form> @@ -63,7 +65,11 @@ <thead> <tr> <th data-translate="header_line">Linia</th> - <th data-translate="header_direction">Kierunek</th> + <th> + <span data-translate="header_direction">Kierunek</span> + <a id="vehicle-data" data-translate="header_vehicle">Pojazd</span> + </th> + <th data-translate="header_vehicle" class="vehicleData">Pojazd</th> <th data-translate="header_time">Czas</th> <th data-translate="header_delay">Opóźn.</th> </tr> @@ -92,6 +98,8 @@ <p data-translate="help_click_for_schedule">Kliknij na wpis w tabeli odjazdów by zobaczyć rozkład jazdy danego tramwaju.</p> <h3 id="route-line"></h3> + + <p id="route-vehicle"></p> <table class="table table-condensed"> <thead> @@ -130,5 +138,6 @@ <script tyle="text/javascript" src="lang_pl.js" id="lang_script"></script> <script tyle="text/javascript" src="common.js"></script> <script type="text/javascript" src="index.js"></script> + <script tyle="text/javascript" src="serviceworker-install.js"></script> </body> </html> -- Gitblit v1.9.1