PIbd-22_Shabunov_O.A._Inter.../login.html
2023-12-08 00:57:11 +04:00

174 lines
9.3 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Вход в аккаунт</title>
<script src="node_modules/bootstrap/dist/js/bootstrap.min.js"></script>
<link href="node_modules/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.2/font/bootstrap-icons.min.css">
<link href="style.css" rel="stylesheet">
</head>
<body class="d-flex flex-column min-vh-100">
<header>
<nav class="navbar fixed-top navbar-expand-lg navbar-dark bg-dark">
<div class="container-md">
<a href="index.html" class="navbar-brand">
<i class="bi bi-film"></i>
<span class="fw-bold text-uppercase ms-2">СигмаТеатр</span>
</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#main-nav">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse justify-content-end align-center" id="main-nav">
<ul class="navbar-nav">
<li class="nav-item me-3">
<a href="index.html#movies" class="nav-link">Фильмы</a>
</li>
<li class="nav-item me-3">
<a href="index.html#series" class="nav-link">Сериалы</a>
</li>
<li class="nav-item me-3">
<a href="about_us.html" class="nav-link">Справка</a>
</li>
<li class="nav-item me-3">
<a href="login.html" class="nav-link">Вход в аккаунт</a>
</li>
<li class="nav-item d-lg-none">
<a href="pricing.html" class="nav-link text-light">Купить подписку</a>
</li>
<li class="nav-item d-none d-lg-inline">
<a href="pricing.html" class="btn btn-light">Купить подписку</a>
</li>
</ul>
</div>
</div>
</nav>
</header>
<main>
<!-- Login -->
<section id="login">
<div class="container-sm py-4">
<div class="text-center">
<h2>Вход в аккаунт</h2>
<p class="lead text-muted">Войдите в ваш аккаунт чтобы воспользоваться подпиской и иметь возможность отмечать желаемые фильмы</p>
</div>
<div class="row justify-content-center mt-5">
<div class="col-lg-4">
<div class="card">
<div class="card-body">
<div class="d-flex flex-row justify-content-center">
<i class="bi bi-person-circle login-icon text-primary"></i>
<p class="lead my-auto ms-3 text-primary">Вход</p>
</div>
<form action="" class="my-3">
<label for="email" class="form-label">Электронная почта</label>
<div class="input-group mb-3">
<span class="input-group-text"><i class="bi bi-envelope-fill"></i></span>
<input type="email" class="form-control" id="email" placeholder="myemail@mail.com">
</div>
<label for="password" class="form-label">Пароль</label>
<div class="input-group mb-3">
<span class="input-group-text"><i class="bi bi-lock-fill"></i></span>
<input type="password" class="form-control" id="password">
<div class="input-group-text" id="hidePassword">
<a href=""><i class="bi bi-eye-fill"></i></a>
</div>
</div>
<div class="input-group mt-4 d-flex justify-content-between">
<div class="form-check">
<input type="checkbox" class="form-check-input" id="formCheck">
<label for="formCheck" class="form-check-label text-secondary"><small>Запомнить на этом компьютере</small></label>
</div>
<div class="forgot">
<button class="btn btn-sm text-primary" data-bs-toggle="modal" data-bs-target="#forgot-modal" id="forgotPassword">Забыли пароль?</button>
</div>
</div>
<div class="text-center mt-5">
<button class="btn btn-primary">Войти</button>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
</section>
</main>
<footer class="py-2 bg-dark text-light mt-auto">
<div class="container-md py-2">
<div class="d-flex flex-wrap justify-content-between align-items-center">
<div>
<div class="download-buttons-container justify-content-start">
<a href="https://play.google.com/store/games?hl=ru&gl=US"><img src="assets/footer/download-buttons/GooglePlay.svg" class="download-button" alt=""></a>
<a href="https://www.huawei.ru/appgallery/"><img src="assets/footer/download-buttons/AppGallery.svg" class="download-button" alt=""></a>
<a href="https://www.apple.com/app-store/"><img src="assets/footer/download-buttons/AppStore.svg" class="download-button" alt=""></a>
</div>
<h6 class="text-secondary mt-3">&copy; 2023 СигмаТеатр</h6>
</div>
<div class="download-buttons-container">
<a href="index.html" class="text-secondary text-decoration-none footer-navigation-button">Главная</a>
<a href="#" class="text-secondary text-decoration-none footer-navigation-button">Политика конфиденциальности</a>
<a href="about_us.html" class="text-secondary text-decoration-none footer-navigation-button">О нас</a>
<a href="admin_panel.html" class="text-secondary text-decoration-none footer-navigation-button">Страница администратора</a>
</div>
</div>
</div>
</footer>
<!-- modal itself -->
<div class="modal fade" id="forgot-modal" tabindex="-1">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="modal-title">Восстановление пароля</h5>
<button type="button" class="btn-close" data-bs-dismiss="modal"></button>
</div>
<div class="modal-body">
<p>В поле ниже напишите адрес электроннной почты, с которой была совершена регистрация. На этот адрес придёт письмо с дальнейшеми указаниями.</p>
<label for="modal-email" class="form-label mt-3">Адрес электронной почты:</label>
<input type="text" class="form-control" id="modal-email" placeholder="myemail@mail.com">
</div>
<div class="modal-footer">
<button type="button" class="btn btn-primary">Отправить</button>
</div>
</div>
</div>
</div>
<script>
document.addEventListener('DOMContentLoaded', () => {
document.querySelector('#hidePassword').addEventListener('click', (e) => {
e.preventDefault();
const inputField = document.querySelector('#password');
if (inputField.getAttribute('type') === 'password') {
inputField.setAttribute('type', 'text');
} else {
inputField.setAttribute('type', 'password');
}
});
document.querySelector('#forgotPassword').addEventListener('click', (e) => {
e.preventDefault();
e.stopPropagation();
})
})
</script>
</body>
</html>