153 lines
7.6 KiB
HTML
153 lines
7.6 KiB
HTML
|
<!DOCTYPE html>
|
|||
|
<html>
|
|||
|
<head>
|
|||
|
<meta charset="UTF-8">
|
|||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|||
|
<script type="module" src="./node_modules/bootstrap/dist/js/bootstrap.min.js"></script>
|
|||
|
<link href="./node_modules/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet" />
|
|||
|
<link href="./node_modules/@fortawesome/fontawesome-free/css/all.min.css" rel="stylesheet" />
|
|||
|
<link rel="stylesheet" href="css/edit_reg_style.css">
|
|||
|
<link rel="stylesheet" href="css/style.css">
|
|||
|
<script src="./node_modules/bootstrap/dist/js/bootstrap.bundle.js" ></script>
|
|||
|
<title>ProstoFilms</title>
|
|||
|
</head>
|
|||
|
<header>
|
|||
|
<nav class="navbar navbar-expand-md navbar-dark bg-black">
|
|||
|
<div class="container"> <a class="navbar-brand" href="index.html">PF</a>
|
|||
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarContent" aria-controls="navbarContent" aria-expanded="false" aria-label="Toggle navigation">
|
|||
|
<span class="navbar-toggler-icon"></span>
|
|||
|
</button>
|
|||
|
<div class="collapse navbar-collapse" id="navbarContent">
|
|||
|
<ul class="navbar-nav mr-auto mb-2 mb-lg-0">
|
|||
|
<li class="nav-item">
|
|||
|
<a class="nav-link" href="index.html" >Главная</a>
|
|||
|
</li>
|
|||
|
<li class="nav-item">
|
|||
|
<a class="nav-link" href="films.html" >Фильмы</a>
|
|||
|
</li>
|
|||
|
<li class="nav-item">
|
|||
|
<a class="nav-link" href="serials.html" >Сериалы</a>
|
|||
|
</li>
|
|||
|
<li class="nav-item">
|
|||
|
<a class="nav-link" href="profile.html" >Профиль</a>
|
|||
|
</li>
|
|||
|
<li class="nav-item">
|
|||
|
<a class="nav-link" href="reg.html" >Регистрация</a>
|
|||
|
</li>
|
|||
|
</ul>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</nav>
|
|||
|
</header>
|
|||
|
<body class="bg-image">
|
|||
|
<main>
|
|||
|
<div class="p-4">
|
|||
|
<div class="container">
|
|||
|
<form class="row row-cols-1 g-3 needs-validation mt-3" novalidate>
|
|||
|
<div class="col md-6 justify-content-center">
|
|||
|
<label for="validationCustom01" class="form-label text-light">Имя</label>
|
|||
|
<input type="text" class="form-control" id="validationCustom01" value="" required>
|
|||
|
<div class="valid-feedback">
|
|||
|
Отлично!
|
|||
|
</div>
|
|||
|
<div class="invalid-feedback">
|
|||
|
Укажите ваше имя.
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
<div class="col md-6">
|
|||
|
<label for="validationCustom02" class="form-label text-light">Фамилия</label>
|
|||
|
<input type="text" class="form-control" id="validationCustom02" value="" required>
|
|||
|
<div class="valid-feedback">
|
|||
|
Отлично!
|
|||
|
</div>
|
|||
|
<div class="invalid-feedback">
|
|||
|
Укажите вашу фамилию.
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
<div class="col md-6">
|
|||
|
<label for="validationCustomUsername" class="form-label text-light">Имя пользователя</label>
|
|||
|
<div class="input-group has-validation">
|
|||
|
<span class="input-group-text" id="inputGroupPrepend">@</span>
|
|||
|
<input type="text" class="form-control" id="validationCustomUsername"
|
|||
|
aria-describedby="inputGroupPrepend" required>
|
|||
|
<div class="valid-feedback">
|
|||
|
Отлично!
|
|||
|
</div>
|
|||
|
<div class="invalid-feedback">
|
|||
|
Выберите имя пользователя.
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
<div class="col md-6">
|
|||
|
<label for="validationCustom03" class="form-label text-light">Город</label>
|
|||
|
<input type="text" class="form-control" id="validationCustom03" required>
|
|||
|
<div class="valid-feedback">
|
|||
|
Отлично!
|
|||
|
</div>
|
|||
|
<div class="invalid-feedback">
|
|||
|
Укажите город.
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
<div class="col md-6">
|
|||
|
<label for="validationCustom04" class="form-label text-light">Пол</label>
|
|||
|
<select class="form-select" id="validationCustom04" required>
|
|||
|
<option selected disabled value="">Выберите...</option>
|
|||
|
<option>Мужской</option>
|
|||
|
<option>Женский</option>
|
|||
|
</select>
|
|||
|
<div class="valid-feedback">
|
|||
|
Отлично!
|
|||
|
</div>
|
|||
|
<div class="invalid-feedback">
|
|||
|
Укажите пол.
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
<div class="col 12">
|
|||
|
<div class="form-check">
|
|||
|
<input class="form-check-input" type="checkbox" value="" id="invalidCheck" required>
|
|||
|
<label class="form-check-label text-light" for="invalidCheck">
|
|||
|
Вы ознакомлены и согласны с пользовательским соглашением.
|
|||
|
</label>
|
|||
|
<div class="valid-feedback">
|
|||
|
Отлично!
|
|||
|
</div>
|
|||
|
<div class="invalid-feedback">
|
|||
|
Вы должны согласиться с пользовательским соглашением.
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
<div class="col 12">
|
|||
|
<button class="btn btn-secondary" type="submit">Подтвердить заявку</button>
|
|||
|
</div>
|
|||
|
</form>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</main>
|
|||
|
<script>
|
|||
|
'use strict'
|
|||
|
// Fetch all the forms we want to apply custom Bootstrap validation styles to
|
|||
|
const forms = document.querySelectorAll('.needs-validation');
|
|||
|
// Loop over them and prevent submission
|
|||
|
for (let i = 0; i < forms.length; i++) {
|
|||
|
const form = forms[i];
|
|||
|
form.addEventListener('submit', function(event) {
|
|||
|
if (!form.checkValidity()) {
|
|||
|
event.preventDefault();
|
|||
|
event.stopPropagation();
|
|||
|
}
|
|||
|
form.classList.add('was-validated');
|
|||
|
}, false);
|
|||
|
}
|
|||
|
</script>
|
|||
|
|
|||
|
</body>
|
|||
|
<div class="footer">
|
|||
|
<div class="container-fluid fixed-bottom bg-black">
|
|||
|
<footer class="py-3">
|
|||
|
<div class="col-md-4">
|
|||
|
<span class=" ms-4 mb-3 mb-md-0 text-muted">© 2023 ProstoFilms, Inc</span>
|
|||
|
</div>
|
|||
|
</footer>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</html>
|