Compare commits
4 Commits
8fe3f84be8
...
f2900ee8ad
Author | SHA1 | Date | |
---|---|---|---|
|
f2900ee8ad | ||
|
786fcfd54f | ||
|
cefd497ef5 | ||
|
4dce3155b9 |
8
.gitignore
vendored
8
.gitignore
vendored
@ -5,8 +5,12 @@
|
|||||||
!.vscode/launch.json
|
!.vscode/launch.json
|
||||||
!.vscode/extensions.json
|
!.vscode/extensions.json
|
||||||
*.code-workspace
|
*.code-workspace
|
||||||
|
|
||||||
|
|
||||||
config.php
|
config.php
|
||||||
|
docker-compose.yml
|
||||||
|
./docker-compose.yml
|
||||||
./database
|
./database
|
||||||
statistics/gemeinden.html
|
statistics/gemeinden.html
|
||||||
|
vendor
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@ date_default_timezone_set('UTC');
|
|||||||
|
|
||||||
$mapbox_token="write_mapbox_token_here";
|
$mapbox_token="write_mapbox_token_here";
|
||||||
|
|
||||||
$db_server = "unfallkarte-db";
|
$db_server = "dev-unfallkarte-db";
|
||||||
$db_user = "root";
|
$db_user = "root";
|
||||||
$db_passwd = "geheim";
|
$db_passwd = "geheim";
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
version: '3'
|
version: '3'
|
||||||
|
|
||||||
services:
|
services:
|
||||||
unfallkarte:
|
dev-unfallkarte:
|
||||||
image: php81:v1
|
image: php81:v1
|
||||||
container_name: dev-unfallkarte
|
container_name: dev-unfallkarte
|
||||||
volumes:
|
volumes:
|
||||||
@ -21,9 +21,9 @@ services:
|
|||||||
- proxy
|
- proxy
|
||||||
restart: always
|
restart: always
|
||||||
|
|
||||||
unfallkarte-db:
|
dev-unfallkarte-db:
|
||||||
image: mariadb
|
image: mariadb
|
||||||
container_name: unfallkarte-db
|
container_name: dev-unfallkarte-db
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
environment:
|
environment:
|
||||||
- MYSQL_ROOT_PASSWORD=geheim #SQL root Passwort eingeben
|
- MYSQL_ROOT_PASSWORD=geheim #SQL root Passwort eingeben
|
19
index.php
19
index.php
@ -19,6 +19,7 @@
|
|||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
|
||||||
<script src="js/jquery.min.js"></script>
|
<script src="js/jquery.min.js"></script>
|
||||||
|
<script src="js/bootstrap.min.js"></script>
|
||||||
<script src="js/leaflet.js"></script>
|
<script src="js/leaflet.js"></script>
|
||||||
<script src="js/leaflet.ajax.js"></script>
|
<script src="js/leaflet.ajax.js"></script>
|
||||||
<script src="js/leaflet.awesome-markers.js"></script>
|
<script src="js/leaflet.awesome-markers.js"></script>
|
||||||
@ -66,7 +67,7 @@
|
|||||||
echo "<input type='hidden' name='d' value='$strDistrict'>";
|
echo "<input type='hidden' name='d' value='$strDistrict'>";
|
||||||
?>
|
?>
|
||||||
</form>
|
</form>
|
||||||
|
</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()">
|
||||||
@ -76,12 +77,20 @@
|
|||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
</select>
|
</select>
|
||||||
</form>
|
</form>
|
||||||
</ul>
|
|
||||||
<div>
|
<div>
|
||||||
<ul class="navbar-nav mr-auto right">
|
<ul class="navbar-nav mr-auto right">
|
||||||
<li class="nav-item">
|
<li class="nav-item active dropdown">
|
||||||
<a class="nav-link" href="statistics/">Statistik</a>
|
<a class="nav-link dropdown-toggle" href="./" id="navbarDropdownMenuLink" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
||||||
</li>
|
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">
|
<li class="nav-item">
|
||||||
<a class="nav-link" href="impressum.php">Impressum</a>
|
<a class="nav-link" href="impressum.php">Impressum</a>
|
||||||
</li>
|
</li>
|
||||||
|
Loading…
Reference in New Issue
Block a user