35 lines
No EOL
1.8 KiB
Handlebars
35 lines
No EOL
1.8 KiB
Handlebars
<main class="align-items-center container d-flex flex-row h-screen justify-content-center">
|
|
<div class="flex-grow-1 h-fit-content">
|
|
<h2>Вход</h2>
|
|
<form action="/gateway/login" method="POST">
|
|
<div class="mb-3">
|
|
<label for="login" class="form-label">Логин</label>
|
|
<input type="text" id="login" name="login" class="form-control" required>
|
|
</div>
|
|
<div class="mb-3">
|
|
<label for="password" class="form-label">Пароль</label>
|
|
<input type="password" id="password" name="password" class="form-control" required>
|
|
</div>
|
|
<button type="submit" class="btn btn-primary">Войти</button>
|
|
</form>
|
|
</div>
|
|
<div class="flex-grow-0 p-4 h-fit-content">или</div>
|
|
<div class="flex-grow-1 h-fit-content">
|
|
<h2>Регистрация</h2>
|
|
<form action="/gateway/register" method="POST">
|
|
<div class="mb-3">
|
|
<label for="full-name-reg" class="form-label">Как вас зовут</label>
|
|
<input type="text" id="full-name-reg" name="full_name" class="form-control" required>
|
|
</div>
|
|
<div class="mb-3">
|
|
<label for="login-reg" class="form-label">Логин</label>
|
|
<input type="text" id="login-reg" name="login" class="form-control" required>
|
|
</div>
|
|
<div class="mb-3">
|
|
<label for="password-reg" class="form-label">Пароль</label>
|
|
<input type="password" id="password-reg" name="password" class="form-control" required>
|
|
</div>
|
|
<button type="submit" class="btn btn-primary">Зарегистрироваться</button>
|
|
</form>
|
|
</div>
|
|
</main> |