49 lines
1.2 KiB
PHP
Executable File
49 lines
1.2 KiB
PHP
Executable File
<?php
|
|
$thisPage="login";
|
|
$thissheet = "login";
|
|
include __DIR__ . "/../layout/header.php";
|
|
include __DIR__ . "./../../views/layout/css/navi.css";
|
|
include __DIR__ . "/../layout/navigation.php";
|
|
|
|
?>
|
|
<!--Blog/views/user/login.php-->
|
|
|
|
<div class="container">
|
|
<div class="starter-template">
|
|
<h1>Login</h1>
|
|
|
|
<?php if (!empty($error)): ?>
|
|
<p>
|
|
<?php echo "Die Kombination aus Benutzername und Passwort ist falsch"; // wird im LoginController gesetzt?>
|
|
</p>
|
|
<?php endif ?>
|
|
|
|
<form method="POST" method "login" class="form-horizontal">
|
|
<div class="form-group">
|
|
<label class="control-label col-md-3">
|
|
Benutzername:
|
|
</label>
|
|
<div class="col-md-9">
|
|
<input type="text" name="username" class="form-control" />
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label col-md-3">
|
|
Passwort:
|
|
</label>
|
|
<div class="col-md-9">
|
|
<input type="password" name="password" class="form-control" />
|
|
</div>
|
|
</div>
|
|
|
|
<input type="submit" value="Einloggen" class="btn btn-primary" />
|
|
</form>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
<?php
|
|
include __DIR__ . "./../layout/footer.php";
|
|
?>
|