26 lines
851 B
PHP
26 lines
851 B
PHP
<div class="login">
|
|
<a href="/" class="u-block u-mb40">
|
|
<img src="/images/logo.svg" alt="<?= htmlentities($_SESSION["APP_NAME"]) ?>" width="100" height="120">
|
|
</a>
|
|
<form id="form_login" method="post" action="/login/">
|
|
<input type="hidden" name="token" value="<?= $_SESSION["token"] ?>">
|
|
<h1 class="login-title">
|
|
<?= sprintf(_("Welcome to %s"), htmlentities($_SESSION["APP_NAME"])) ?>
|
|
</h1>
|
|
<?php if (!empty($error)) { ?>
|
|
<p class="error"><?= $error ?></p>
|
|
<?php } ?>
|
|
<div class="u-mb20">
|
|
<label for="username" class="form-label"><?= _("Username") ?></label>
|
|
<input type="text" class="form-control" name="user" id="username" autocomplete="username" required autofocus>
|
|
</div>
|
|
<button type="submit" class="button">
|
|
<i class="fas fa-right-to-bracket"></i><?= _("Next") ?>
|
|
</button>
|
|
</form>
|
|
</div>
|
|
|
|
</body>
|
|
|
|
</html>
|