First Push

This commit is contained in:
Christian Kagerbauer 2023-07-19 13:06:55 +02:00
parent fd55fd90d6
commit e195bce60e
4 changed files with 17 additions and 10 deletions

View file

@ -1,6 +1,8 @@
<?php <?php
echo '<p class="text-small">Copyright by Web-Work24 e.K.</p>'; echo '<p class="text-small">Copyright by Web-Work24 e.K.</p>';
?> ?>
</div>
</body> </body>
</html> </html>

View file

@ -1,5 +1,9 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="de-DE" itemscope="itemscope" itemtype="https://schema.org/WebPage">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-9ndCyUaIbzAi2FUVXJi0CjmCapSmO7SnpJef0486qhLnuZ2cdeRhO02iuK6FUUVM" crossorigin="anonymous"> <head>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js" integrity="sha384-geWF76RCwLtnZ8qwWowPQNguL3RmwHVBC9FhGdlKrxdiJJigb/j/68SIy3Te4Bkz" crossorigin="anonymous"></script> <meta name="viewport" content="width=device-width, initial-scale=1">
<body class="container"> <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-9ndCyUaIbzAi2FUVXJi0CjmCapSmO7SnpJef0486qhLnuZ2cdeRhO02iuK6FUUVM" crossorigin="anonymous">
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js" integrity="sha384-geWF76RCwLtnZ8qwWowPQNguL3RmwHVBC9FhGdlKrxdiJJigb/j/68SIy3Te4Bkz" crossorigin="anonymous"></script>
</head>
<body class="container">

View file

@ -5,7 +5,7 @@ require_once 'vendor/autoload.php';
$modus = isset($_GET['modus']) ? $_GET['modus'] : ""; $modus = isset($_GET['modus']) ? $_GET['modus'] : "";
$form = new Formr\Formr('bootstrap5'); $form = new Formr\Formr('bootstrap');
$form->required = '*'; $form->required = '*';
if ($form->submitted()) if ($form->submitted())
@ -23,6 +23,7 @@ if ($form->submitted())
switch ($modus){ switch ($modus){
case "Stunden": case "Stunden":
echo "<h1>Stunden erfassen!</h1>";
$form->messages(); $form->messages();
$form->create_form('Kunde, Wohnanlage, Arbeit, Stunden, Stundenlohn, Comments|textarea'); $form->create_form('Kunde, Wohnanlage, Arbeit, Stunden, Stundenlohn, Comments|textarea');
break; break;

View file

@ -1,6 +1,5 @@
<?php <?php
?> ?>
<nav class="navbar navbar-expand-lg bg-body-tertiary"> <nav class="navbar navbar-expand-lg bg-body-tertiary">
<div class="container-fluid"> <div class="container-fluid">
<a class="navbar-brand" href="#">MK Haustechnik</a> <a class="navbar-brand" href="#">MK Haustechnik</a>
@ -26,15 +25,16 @@
</li> </li>
<li class="nav-item dropdown"> <li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" role="button" data-bs-toggle="dropdown" aria-expanded="false"> <a class="nav-link dropdown-toggle" href="#" role="button" data-bs-toggle="dropdown" aria-expanded="false">
Dropdown link Impressum
</a> </a>
<ul class="dropdown-menu"> <ul class="dropdown-menu">
<li><a class="dropdown-item" href="#">Action</a></li> <li><a class="dropdown-item" href="#">Datenschutz</a></li>
<li><a class="dropdown-item" href="#">Another action</a></li> <li><a class="dropdown-item" href="#">AGB</a></li>
<li><a class="dropdown-item" href="#">Something else here</a></li> <li><a class="dropdown-item" href="#">Widerruf</a></li>
</ul> </ul>
</li> </li>
</ul> </ul>
</div> </div>
</div> </div>
</nav> </nav>
<div class="container-fluid">