hamburger menu

This commit is contained in:
Walter Hupfeld 2024-03-16 13:18:09 +01:00
parent c0b38c1ef2
commit d392254fda
7 changed files with 64 additions and 31 deletions

View File

@ -18,6 +18,11 @@
<title>Datenschutzerklärung</title>
<link rel="stylesheet" href="css/bootstrap.min.css" />
<link rel="stylesheet" href="css/style.css" />
<script src="js/jquery.slim.min.js"></script>
<script src="js/popper.min.js"></script>
<script src="js/bootstrap.min.js"></script>
</head>
<body>
@ -50,7 +55,7 @@
<a class="nav-link" href="datenschutz.php">Datenschutzerklärung <span class="sr-only">(current)</span></a>
</li>
<li class="nav-item">
<a class="nav-link" href="admin/login.php">Login</a>
<a class="nav-link" href="login.php">Login</a>
</li>
</ul>
</div>

View File

@ -16,6 +16,11 @@
<title>Impressum</title>
<link rel="stylesheet" href="css/bootstrap.min.css" />
<link rel="stylesheet" href="css/style.css" />
<script src="js/jquery.slim.min.js"></script>
<script src="js/popper.min.js"></script>
<script src="js/bootstrap.min.js"></script>
</head>
<body>
@ -48,7 +53,7 @@
<a class="nav-link" href="datenschutz.php">Datenschutzerklärung</a>
</li>
<li class="nav-item">
<a class="nav-link" href="admin/login.php">Login</a>
<a class="nav-link" href="login.php">Login</a>
</li>
</ul>
</div>
@ -72,7 +77,7 @@
Anfragen bitte an <a href="mailto:<?=$contactEmail?>"><?=$contactEmail?></a></p>
<!-- Bitte nicht entfernen -->
<p style="height:5em;">&nbsp;</p>
<p class="small">Entwicklung: W. Hupfeld, Hamm<br>info@hupfeld-software.de</p>
<p class="small">Entwicklung: W. Hupfeld, Hamm<br>walter.hupfeld@adfc-hamm.de</p>
<!-- --- -->
<a class="btn btn-primary text-white" href="index.php?ref=1">zurück</a>
</div>

View File

@ -67,13 +67,6 @@
<meta name="author" content="Walter Hupfeld, info@hupfeld-software.de">
<meta name="description" content="Georeferenzieter Ideenmelder">
<script src="js/jquery.min.js"></script>
<script src="js/leaflet.js"></script>
<script src="js/leaflet.ajax.js"></script>
<script src="js/leaflet.awesome-markers.js"></script>
<script src="js/leaflet.snogylop.js"></script>
<script src="js/jquery.fancybox.min.js"></script>
<link rel="stylesheet" href="css/font-awesome.min.css">
<link rel="stylesheet" href="css/bootstrap.min.css" />
<link rel="stylesheet" href="css/leaflet.css" />
@ -81,6 +74,16 @@
<link rel="stylesheet" href="css/style.css" />
<link rel="stylesheet" href="css/jquery.fancybox.min.css" />
<script src="js/jquery.min.js"></script>
<script src="js/leaflet.js"></script>
<script src="js/leaflet.ajax.js"></script>
<script src="js/leaflet.awesome-markers.js"></script>
<script src="js/leaflet.snogylop.js"></script>
<script src="js/jquery.fancybox.min.js"></script>
<script src="js/jquery.slim.min.js"></script>
<script src="js/popper.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<title><?=$strTitle?></title>
</head>
@ -124,7 +127,7 @@
<a class="nav-link" href="datenschutz.php">Datenschutzerklärung</a>
</li>
<li class="nav-item">
<a class="nav-link" href="admin/login.php">Login</a>
<a class="nav-link" href="login.php">Login</a>
</li>
</ul>
</div>

2
js/jquery.slim.min.js vendored Normal file

File diff suppressed because one or more lines are too long

5
js/popper.min.js vendored Normal file

File diff suppressed because one or more lines are too long

View File

@ -41,6 +41,10 @@
<script src="vendor/DataTables/DataTables-2.0.2/js/dataTables.min.js"></script>
<script src="vendor/DataTables/DataTables-2.0.2/js/dataTables.bootstrap4.min.js"></script>
<script src="js/jquery.fancybox.min.js"></script>
<script src="js/jquery.slim.min.js"></script>
<script src="js/popper.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<style>
#whmap { display:none; position:absolute; top:150px; left:400px; }
@ -89,7 +93,7 @@
<a class="nav-link" href="datenschutz.php">Datenschutzerklärung</a>
</li>
<li class="nav-item">
<a class="nav-link" href="admin/login.php">Login</a>
<a class="nav-link" href="login.php">Login</a>
</li>
</ul>
</div>
@ -123,6 +127,7 @@
ORDER BY created_at DESC";
$result = $db->query($strSQL);
$numCounter=1;
$arrPoint = array();
while ($row = $result->fetch(PDO::FETCH_ASSOC)) {
$numDatum= strtotime($row['created_at']);
$id=$row['id'];

View File

@ -17,7 +17,7 @@ if (isset($_SESSION['district'])) {
else {
$strDistrict="";
}
require_once("../config.php");
require_once("config.php");
$boolLogin=true;
@ -38,7 +38,7 @@ $boolLogin=true;
$stmt = $db->prepare($strSQL);
$stmt->bindValue(':user',$strUser);
$stmt->execute();
header ("Location: index.php");
header ("Location: admin/index.php");
} else {
$boolLogin=false;
}
@ -55,41 +55,49 @@ $boolLogin=true;
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Login</title>
<link rel="stylesheet" href="../css/bootstrap.min.css" />
<link rel="stylesheet" href="../css/style.css" />
<link rel="stylesheet" href="css/bootstrap.min.css" />
<link rel="stylesheet" href="css/style.css" />
<script src="js/jquery.slim.min.js"></script>
<script src="js/popper.min.js"></script>
<script src="js/bootstrap.min.js"></script>
</head>
<body>
<!-- Navbar -->
<nav class="navbar navbar-expand-md navbar-dark bg-dark fixed-top">
<?php if (!$boolSidebar): ?>
<a href="start.php"><img class="logo_navbar" src="../<?=$strLogo?>" alt="Logo"></a>
<a href="start.php"><img class="logo_navbar" src="<?=$strLogo?>" alt="Logo"></a>
<?php endif; ?>
<a class="navbar-brand" href="#"><?=$strTitle?> <?=$strDistrictTitle?></a>
<a class="navbar-brand" href="#"><?=$strTitle?> &raquo; <?=$strDistrictTitle?></a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbars" aria-controls="navbars" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbars">
<ul class="navbar-nav mr-auto">
<li class="nav-item">
<a class="nav-link" href="../index.php?ref=1">Karte</a>
<a class="nav-link" href="index.php?ref=1">Karte</a>
</li>
<li class="nav-item">
<a class="nav-link" href="../liste.php">Liste</a>
<a class="nav-link" href="liste.php">Liste</a>
</li>
</ul>
<div>
<ul class="navbar-nav mr-auto right">
<li class="nav-item">
<a class="nav-link" href="impressum.php">Impressum <span class="sr-only">(current)</span></a>
</li>
<li class="nav-item">
<a class="nav-link" href="datenschutz.php">Datenschutzerklärung</a>
</li>
<li class="nav-item active">
<a class="nav-link" href="login.php">Login</a>
</li>
</ul>
</div>
<ul class="navbar-nav mr-auto right">
<li class="nav-item">
<a class="nav-link" href="../impressum.php">Impressum</a>
</li>
<li class="nav-item">
<a class="nav-link" href="../datenschutz.php">Datenschutzerklärung</a>
</li>
<li class="nav-item active">
<a class="nav-link" href="login.php">Login <span class="sr-only">(current)</span></a>
</li>
</ul>
</nav>
<!-- Ende Navbar -->