Compare commits

..

No commits in common. "786fcfd54f811d8c37219e31024070e47e85d223" and "4dce3155b91b2fed6efdc359bdce64b7db013dc7" have entirely different histories.

4 changed files with 9 additions and 20 deletions

2
.gitignore vendored
View File

@ -6,10 +6,8 @@
!.vscode/extensions.json
*.code-workspace
config.php
docker-compose.yml
./database
statistics/gemeinden.html
vendor

View File

@ -4,7 +4,7 @@ date_default_timezone_set('UTC');
$mapbox_token="write_mapbox_token_here";
$db_server = "dev-unfallkarte-db";
$db_server = "unfallkarte-db";
$db_user = "root";
$db_passwd = "geheim";

View File

@ -1,7 +1,7 @@
version: '3'
services:
dev-unfallkarte:
unfallkarte:
image: php81:v1
container_name: dev-unfallkarte
volumes:
@ -21,9 +21,9 @@ services:
- proxy
restart: always
dev-unfallkarte-db:
unfallkarte-db:
image: mariadb
container_name: dev-unfallkarte-db
container_name: unfallkarte-db
restart: unless-stopped
environment:
- MYSQL_ROOT_PASSWORD=geheim #SQL root Passwort eingeben

View File

@ -19,7 +19,6 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="js/jquery.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/leaflet.js"></script>
<script src="js/leaflet.ajax.js"></script>
<script src="js/leaflet.awesome-markers.js"></script>
@ -67,7 +66,7 @@
echo "<input type='hidden' name='d' value='$strDistrict'>";
?>
</form>
</ul>
<!-- District -->
<form method="GET" action="index.php">
<select name="d" style="float:left;margin-top:0.5em;margin-right:0.5em;" onchange="this.form.submit()">
@ -77,20 +76,12 @@
<?php endforeach; ?>
</select>
</form>
</ul>
<div>
<ul class="navbar-nav mr-auto right">
<li class="nav-item active dropdown">
<a class="nav-link dropdown-toggle" href="./" id="navbarDropdownMenuLink" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
Statistik
</a>
<div class="dropdown-menu" aria-labelledby="navbarDropdownMenuLink">
<a class="dropdown-item" href="statistics/index.php">Übersicht</a>
<a class="dropdown-item" href="statistics/nrw_details.php">NRW</a>
<a class="dropdown-item" href="statistics/kreise.php">Kreise</a>
<a class="dropdown-item" href="statistics/gemeinden.php">Gemeinden</a>
</div>
</li>
<li class="nav-item">
<a class="nav-link" href="statistics/">Statistik</a>
</li>
<li class="nav-item">
<a class="nav-link" href="impressum.php">Impressum</a>
</li>