From 1d4785db49bec07775166e47b91a6b89bc303e70 Mon Sep 17 00:00:00 2001 From: Jacek Kowalski <Jacek@jacekk.info> Date: Mon, 24 Apr 2017 23:23:53 +0000 Subject: [PATCH] Show tram route after selecting vehicle --- index.html | 9 ++++++++- 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/index.html b/index.html index a2f7763..f4e3a0e 100644 --- a/index.html +++ b/index.html @@ -7,6 +7,7 @@ <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"> <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"> @@ -63,7 +64,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> @@ -93,6 +98,8 @@ <h3 id="route-line"></h3> + <p id="route-vehicle"></p> + <table class="table table-condensed"> <thead> <tr> -- Gitblit v1.9.1