
- CSS-Klassen und Benennungen überall einheitlich gemacht (news-card, login-success usw.) - Unnötige CSS-Regeln rausgeschmissen, Code jetzt viel schlanker - Cards sehen jetzt überall gleich aus, egal wie viel Text drinsteht - „Mehr lesen“-Link besser sichtbar gemacht - Bugfix: Langer News-Text läuft nicht mehr aus der Card raus - Generell: Viel code aufgeräumt, damit alles schicker und übersichtlicher ist!
24 lines
1.2 KiB
PHTML
24 lines
1.2 KiB
PHTML
<div class="inhalt">
|
|
<div class="form-container">
|
|
<h1>Anmelden</h1>
|
|
<?php if (!empty($errors['login'])): ?>
|
|
<div class="error-box"><?=htmlspecialchars($errors['login'])?></div>
|
|
<?php endif; ?>
|
|
<form class="form-horizontal" action="index.php" method="post">
|
|
<input type="hidden" name="controller" value="Auth">
|
|
<input type="hidden" name="do" value="login">
|
|
<label for="email">E-Mail</label>
|
|
<input class="input-email" type="email" name="email" id="email" placeholder="E-Mail" required>
|
|
<label for="password">Passwort</label>
|
|
<input class="input-passwort" type="password" name="password" id="password" placeholder="Passwort" required>
|
|
<button class="button-login" type="submit">Login</button>
|
|
</form>
|
|
<div style="text-align:center; margin-top: 1.5em;">
|
|
<a class="link-passwort-vergessen" href="?controller=Auth&do=showForgotPasswordForm">Passwort vergessen?</a>
|
|
<br>
|
|
<a class="link-konto-erstellen" href="?controller=Auth&do=showRegistrationForm">Konto erstellen</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|