update login and register form

This commit is contained in:
Билай Станислав 2024-12-04 13:00:12 +03:00
parent 60f8797173
commit 0a76920800
2 changed files with 19 additions and 2 deletions

View File

@ -24,6 +24,9 @@
</div> </div>
<div class="col-lg-8"> <div class="col-lg-8">
<div class="card-body py-5 px-md-5"> <div class="card-body py-5 px-md-5">
<div class="row md-4 text-md-center">
<h1>Авторизация</h1>
</div>
<form action="/admin/auth" method="post"> <form action="/admin/auth" method="post">
<!-- Email input --> <!-- Email input -->

View File

@ -25,6 +25,10 @@
<div class="col-lg-8"> <div class="col-lg-8">
<div class="card-body py-5 px-md-5"> <div class="card-body py-5 px-md-5">
<div class="row md-4 text-md-center">
<h1>Регистрация</h1>
</div>
<form action="/admin/registration" method="post"> <form action="/admin/registration" method="post">
<!--Username input --> <!--Username input -->
<div data-mdb-input-init class="form-outline mb-4"> <div data-mdb-input-init class="form-outline mb-4">
@ -44,8 +48,18 @@
<label class="form-label" for="form2Example2">Пароль</label> <label class="form-label" for="form2Example2">Пароль</label>
</div> </div>
<!-- Submit button --> <div class="row mb-4">
<button type="submit" data-mdb-button-init data-mdb-ripple-init class="btn btn-primary btn-block mb-4">Регистрация</button> <div class="col-4">
<!-- Submit button -->
<button type="submit" data-mdb-button-init data-mdb-ripple-init class="btn btn-primary btn-block mb-4">Регистрация</button>
</div>
<div class="col-4">
<!-- Simple link -->
<a href="/admin/login">Войти в существующий аккаунт</a>
</div>
</div>
</form> </form>