blob: 4f7dc8ff5f272588ebe13ba1c86ad5f7bc3f1b8a [file] [log] [blame]
avm9996399bb77c2020-01-27 03:15:08 +01001<?php
2require_once("core.php");
avm9996399bb77c2020-01-27 03:15:08 +01003?>
4<!DOCTYPE html>
5<html>
6 <head>
7 <meta charset="utf-8">
8 <title>Panell d'informació</title>
9 <meta name="viewport" content="width=device-width, initial-scale=1">
10 <link rel="stylesheet" href="css/index.css">
11 </head>
12 <body>
13 <form action="info.php" method="GET">
14 <p>
15 <label for="station">Estació:</label>
16 <select name="station" id="station" required disabled></select>
17 </p>
18 <p>
19 <label for="view">Vista:</label>
20 <select name="view" id="view" required>
21 <?php
22 foreach (views::$views as $view) {
23 echo '<option value="'.(int)$view.'">'.security::htmlsafe(views::$viewsNames[$view] ?? "undefined").'</option>';
24 }
25 ?>
26 </select>
27 </p>
28 <p>
29 <button>Mostrar</button>
30 </p>
31 </form>
32
Adrià Vilanova Martíneza3494a82021-09-12 18:43:03 +020033 <p class="disclaimer">Font: <a href="https://developer.tmb.cat/">TMB</a>. Dades actualitzades cada setmana.</p>
34
avm9996399bb77c2020-01-27 03:15:08 +010035 <script src="js/index.js"></script>
36 </body>
37</html>