navbar fix
This commit is contained in:
parent
2c82700fd5
commit
4022114a73
@ -20,8 +20,8 @@
|
|||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a class="nav-link" href="index.php">Karte</a>
|
<a class="nav-link" href="index.php">Karte</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<ul class="navbar-nav mr-auto right">
|
<ul class="navbar-nav mr-auto right">
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
|
21
index.php
21
index.php
@ -37,8 +37,11 @@
|
|||||||
<!-- Navbar ######################## -->
|
<!-- Navbar ######################## -->
|
||||||
|
|
||||||
<nav class="navbar navbar-expand-md navbar-dark bg-dark fixed-top">
|
<nav class="navbar navbar-expand-md navbar-dark bg-dark fixed-top">
|
||||||
|
<div class="collapse navbar-collapse" id="navbars">
|
||||||
<a class="navbar-brand" href="#"><?= $strTitle ?></a>
|
<a class="navbar-brand" href="#"><?= $strTitle ?></a>
|
||||||
|
|
||||||
|
<ul class="navbar-nav mr-auto">
|
||||||
|
|
||||||
<form method="GET" action="index.php">
|
<form method="GET" action="index.php">
|
||||||
<select name="year" style="float:left;margin-top:0.5em;margin-right:0.5em;" onchange="this.form.submit()">
|
<select name="year" style="float:left;margin-top:0.5em;margin-right:0.5em;" onchange="this.form.submit()">
|
||||||
<?php
|
<?php
|
||||||
@ -64,21 +67,7 @@
|
|||||||
?>
|
?>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
<div class="collapse navbar-collapse" id="navbars">
|
|
||||||
<!--
|
|
||||||
<ul class="navbar-nav mr-auto">
|
|
||||||
<?php foreach ($arrVehicles as $key => $strVehicle):
|
|
||||||
$strActive = ($numVehicle==$key) ? "active" : ""
|
|
||||||
?>
|
|
||||||
<li class="nav-item <?=$strActive?>">
|
|
||||||
<a class="nav-link" href="index.php?v=<?=$key?>&year=<?=$numYear?>&d=<?=$strDistrict?>"><?=$strVehicle?>
|
|
||||||
<span class="sr-only">(current)</span> </a>
|
|
||||||
<?php endforeach; ?>
|
|
||||||
|
|
||||||
</ul>
|
|
||||||
-->
|
|
||||||
<!-- District -->
|
<!-- District -->
|
||||||
|
|
||||||
<form method="GET" action="index.php">
|
<form method="GET" action="index.php">
|
||||||
<select name="d" style="float:left;margin-top:0.5em;margin-right:0.5em;" onchange="this.form.submit()">
|
<select name="d" style="float:left;margin-top:0.5em;margin-right:0.5em;" onchange="this.form.submit()">
|
||||||
<?php foreach ($arrDistrict as $key => $strTitle):
|
<?php foreach ($arrDistrict as $key => $strTitle):
|
||||||
@ -87,6 +76,8 @@
|
|||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
</select>
|
</select>
|
||||||
</form>
|
</form>
|
||||||
|
</ul>
|
||||||
|
<div>
|
||||||
<ul class="navbar-nav mr-auto right">
|
<ul class="navbar-nav mr-auto right">
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a class="nav-link" href="statistics/">Statistik</a>
|
<a class="nav-link" href="statistics/">Statistik</a>
|
||||||
@ -106,7 +97,7 @@
|
|||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
<!-- Ende Navbar ############# -->
|
<!-- Ende Navbar ############# -->
|
||||||
|
|
||||||
<div class="container-fluid" style="margin-top: 4em;">
|
<div class="container-fluid" style="margin-top: 4em;">
|
||||||
|
@ -19,9 +19,7 @@
|
|||||||
<link rel="stylesheet" href="../css/style.css" />
|
<link rel="stylesheet" href="../css/style.css" />
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
<?php include("./navbar.php"); ?>
|
<?php include("./navbar.php"); ?>
|
||||||
|
|
||||||
<div class="container main">
|
<div class="container main">
|
||||||
<p> </p>
|
<p> </p>
|
||||||
<div class="card">
|
<div class="card">
|
||||||
@ -41,14 +39,17 @@
|
|||||||
<a href="https://www.govdata.de/dl-de/by-2-0" target="_blanc">Datenlizenz Deutschland – Namensnennung – Version 2.0</a></p>
|
<a href="https://www.govdata.de/dl-de/by-2-0" target="_blanc">Datenlizenz Deutschland – Namensnennung – Version 2.0</a></p>
|
||||||
<p> </p>
|
<p> </p>
|
||||||
|
|
||||||
<ul class="list-group">
|
<ul class="list-group" style="width:40em;">
|
||||||
<li class="list-group-item"><a href="nrw_details.php"><strong>Landeswerte NRW</strong></a></li>
|
<li class="list-group-item"><a href="nrw_details.php"><strong>Landeswerte NRW</strong></a></li>
|
||||||
<li class="list-group-item"><a href="kreise.php"><strong>Fahrradunfälle nach Kreisen und kreisfreien Städten</strong></a></li>
|
<li class="list-group-item"><a href="kreise.php"><strong>Fahrradunfälle nach Kreisen und kreisfreien Städten</strong></a></li>
|
||||||
<li class="list-group-item"><a href="<?=$gemeinde_page?>"><strong>Fahrradunfälle nach Gemeinden</strong></a></li>
|
<li class="list-group-item"><a href="<?=$gemeinde_page?>"><strong>Fahrradunfälle nach Gemeinden</strong></a></li>
|
||||||
</ul>
|
</ul>
|
||||||
<p> </p>
|
<p> </p>
|
||||||
<p>Eine ausführliche <a targe="_blank" href="https://www.destatis.de/DE/Themen/Gesellschaft-Umwelt/Verkehrsunfaelle/Methoden/verkehrsunfaelle-grundbegriffe.pdf?__blob=publicationFile">Beschreibung der Unfalldaten</a> liefert das Statistische Bundesamt</p>
|
<p>Eine ausführliche
|
||||||
<p>Weiter Informationen zu den Unfalltypen gibt es in dieser <a href="https://recht.nrw.de/lmi/owa/br_vbl_show_pdf?p_id=12225">Kurzbeschreibung.
|
<a targe="_blank" href="https://www.destatis.de/DE/Themen/Gesellschaft-Umwelt/Verkehrsunfaelle/Methoden/verkehrsunfaelle-grundbegriffe.pdf?__blob=publicationFile">Beschreibung der Unfalldaten</a>
|
||||||
|
liefert das Statistische Bundesamt.</p>
|
||||||
|
<p>Weiter Informationen zu den Unfalltypen gibt es in dieser
|
||||||
|
<a href="https://recht.nrw.de/lmi/owa/br_vbl_show_pdf?p_id=12225">Kurzbeschreibung.
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
Loading…
Reference in New Issue
Block a user