This commit is contained in:
Alexey Berezhok
2024-03-19 22:05:27 +03:00
commit 346a50856b
1572 changed files with 182163 additions and 0 deletions

View File

@@ -0,0 +1,34 @@
<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">
<?= _("Welcome") ?> <?= htmlspecialchars($_SESSION["login"]["username"]) ?>!
</h1>
<div class="u-mb20">
<label for="password" class="form-label u-side-by-side">
<?= _("Password") ?>
<?php if ($_SESSION["POLICY_SYSTEM_PASSWORD_RESET"] !== "no") { ?>
<a class="login-form-link" href="/reset/">
<?= _("Forgot Password") ?>
</a>
<?php } ?>
</label>
<input type="password" class="form-control" name="password" id="password" autocomplete="current-password" required autofocus>
</div>
<div class="u-side-by-side">
<button type="submit" class="button">
<i class="fas fa-right-to-bracket"></i><?= _("Login") ?>
</button>
<a href="/login/?logout=true" class="button button-secondary">
<?= _("Back") ?>
</a>
</div>
</form>
</div>
</body>
</html>