Initial commit
This commit is contained in:
commit
24f0a28a3c
25 changed files with 3190 additions and 0 deletions
35
views/gateway/index.hbs
Normal file
35
views/gateway/index.hbs
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
<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>
|
||||
Loading…
Add table
Add a link
Reference in a new issue