Merge remote-tracking branch 'origin/main'

This commit is contained in:
Artyom_Yashin 2023-11-07 14:05:31 +04:00
commit 73fdc92ab3
3 changed files with 276 additions and 276 deletions

View File

@ -1,213 +1,213 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="ru"> <html lang="ru">
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<title>Reviews</title> <title>Reviews</title>
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="stylesheet" href="myStyle.css"> <link rel="stylesheet" href="myStyle.css">
<!-- Bootstrap CSS --> <!-- Bootstrap CSS -->
<link rel="stylesheet" href="bootstrap/css/bootstrap.min.css" > <link rel="stylesheet" href="bootstrap/css/bootstrap.min.css" >
<link rel="stylesheet" href="MBD/css/mdb.min.css" /> <link rel="stylesheet" href="MBD/css/mdb.min.css" />
<!-- Bootstrap JS --> <!-- Bootstrap JS -->
<script defer src="bootstrap/js/bootstrap.js"></script> <script defer src="bootstrap/js/bootstrap.js"></script>
</head> </head>
<body class="bg-image overflow-visible pageBackground"> <body class="bg-image overflow-visible pageBackground">
<!--Шапка--> <!--Шапка-->
<nav class="navbar navbar-expand-lg navbar-light navbar-style"> <nav class="navbar navbar-expand-lg navbar-light navbar-style">
<div class="container-fluid"> <div class="container-fluid">
<a class="navbar-brand btn btn-outline-dark" href="index.html" > <a class="navbar-brand btn btn-outline-dark" href="index.html" >
<img src="img/lable.png" alt="Logo" height="60" class="align-text-top"> <img src="img/lable.png" alt="Logo" height="60" class="align-text-top">
</a> </a>
<button class="navbar-toggler " type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation"> <button class="navbar-toggler " type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<img src="img/togglerIcon.png" alt="Toggler" height="40"> <img src="img/togglerIcon.png" alt="Toggler" height="40">
</button> </button>
<div class="collapse navbar-collapse " id="navbarSupportedContent"> <div class="collapse navbar-collapse " id="navbarSupportedContent">
<ul class="navbar-nav"> <ul class="navbar-nav">
<li class="nav-item "> <li class="nav-item ">
<a class="nav-link me-3 ms-3 fs-4 fw-bold" aria-current="page" href="index.html">Главная</a> <a class="nav-link me-3 ms-3 fs-4 fw-bold" aria-current="page" href="index.html">Главная</a>
</li> </li>
<li class="nav-item "> <li class="nav-item ">
<a class="nav-link me-3 ms-3 fs-4 fw-bold" href="Galery.html" >Галерея</a> <a class="nav-link me-3 ms-3 fs-4 fw-bold" href="Galery.html" >Галерея</a>
</li> </li>
<li class="nav-item " > <li class="nav-item " >
<a class="nav-link me-3 ms-3 fs-4 fw-bold" href="Courses.html">Курсы</a> <a class="nav-link me-3 ms-3 fs-4 fw-bold" href="Courses.html">Курсы</a>
</li> </li>
<li class="nav-item " > <li class="nav-item " >
<a class="nav-link me-3 ms-3 fs-4 fw-bold" href="Contacts.html" >Контакты</a> <a class="nav-link me-3 ms-3 fs-4 fw-bold" href="Contacts.html" >Контакты</a>
</li> </li>
<li class="nav-item " > <li class="nav-item " >
<a class="nav-link me-3 ms-3 active fs-3 fw-bold" aria-current="page" href="Reviews.html" >Отзывы</a> <a class="nav-link me-3 ms-3 active fs-3 fw-bold" aria-current="page" href="Reviews.html" >Отзывы</a>
</li> </li>
</ul> </ul>
</div> </div>
</div> </div>
</nav> </nav>
<!--Шапка--> <!--Шапка-->
<!--Отзывы--> <!--Отзывы-->
<div class="container mx-auto my-5 p-2 rounded-8 fw-bold formStyle formStyle height-500"> <div class="container mx-auto my-5 p-2 rounded-8 fw-bold formStyle formStyle height-500">
<div class="row row-cols-2 text-dark float-md-end mx-auto fs-5 fw-medium rounded-7 light-grey" style="height: 100px; width: 290px;"> <div class="row row-cols-2 text-dark float-md-end mx-auto fs-5 fw-medium rounded-7 light-grey" style="height: 100px; width: 290px;">
<div class="col col-8 text-center my-auto lh-1"> <div class="col col-8 text-center my-auto lh-1">
<a type="button" class="text-decoration-underline" data-bs-toggle="modal" data-bs-target="#LogIn">Войдите</a> в аккаунт или <a type="button" class="text-decoration-underline" data-bs-toggle="modal" data-bs-target="#LogIn">Войдите</a> в аккаунт или
<a type="button" class="text-decoration-underline" data-bs-toggle="modal" data-bs-target="#Register">зарегистрируйтесь</a> <a type="button" class="text-decoration-underline" data-bs-toggle="modal" data-bs-target="#Register">зарегистрируйтесь</a>
</div> </div>
<div class="col col-4 mx-auto my-auto"> <div class="col col-4 mx-auto my-auto">
<img src="img/AccountIcon.png" alt="Icon" width="80"> <img src="img/AccountIcon.png" alt="Icon" width="80">
</div> </div>
</div> </div>
<div class="text-md-start text-center"> <div class="text-md-start text-center">
<button type="button" id="reviewBtn" class="btn rounded-pill btn-lg text-light my-2 mt-md-4 mb-md-5 ms-sm-3 fw-normal fs-6 purple" data-bs-toggle="modal" data-bs-target="#review"> <button type="button" id="reviewBtn" class="btn rounded-pill btn-lg text-light my-2 mt-md-4 mb-md-5 ms-sm-3 fw-normal fs-6 purple" data-bs-toggle="modal" data-bs-target="#review">
Написать отзыв Написать отзыв
</button> </button>
<button id="reset" class="btn rounded-pill">Сброс</button> <button id="reset" class="btn rounded-pill">Сброс</button>
<div class="container overflow-y-auto height-300" > <div class="container overflow-y-auto height-300" >
<div class="text-start p-2 rounded-7 my-2 light-grey hfitcon wfitcon"> <div class="text-start p-2 rounded-7 my-2 light-grey hfitcon wfitcon">
<h5 class="fw-normal text-dark">Михаил</h5> <h5 class="fw-normal text-dark">Михаил</h5>
<h6>Разбил аппарат, рекомендую</h6> <h6>Разбил аппарат, рекомендую</h6>
</div> </div>
<div class="text-start p-2 rounded-7 my-2 light-grey hfitcon wfitcon"> <div class="text-start p-2 rounded-7 my-2 light-grey hfitcon wfitcon">
<h5 class="fw-normal text-dark">Леша</h5> <h5 class="fw-normal text-dark">Леша</h5>
<h6>Марк 2 лучше</h6> <h6>Марк 2 лучше</h6>
</div> </div>
<div class="text-start p-2 rounded-7 my-2 light-grey hfitcon wfitcon"> <div class="text-start p-2 rounded-7 my-2 light-grey hfitcon wfitcon">
<h5 class="fw-normal text-dark">Женя</h5> <h5 class="fw-normal text-dark">Женя</h5>
<h6>Приехал с сыном на выходных покататься, а заодно и новому научиться, <h6>Приехал с сыном на выходных покататься, а заодно и новому научиться,
все таки дело полезное. Отлично провели время, инструктор объяснил что и как все таки дело полезное. Отлично провели время, инструктор объяснил что и как
теперь я действительно чувствую себя увереннее за рулем</h6> теперь я действительно чувствую себя увереннее за рулем</h6>
</div> </div>
<div class="text-start p-2 rounded-7 my-2 light-grey hfitcon wfitcon"> <div class="text-start p-2 rounded-7 my-2 light-grey hfitcon wfitcon">
<h5 class="fw-normal text-dark">Женя</h5> <h5 class="fw-normal text-dark">Женя</h5>
<h6>Приехал с сыном на выходных покататься, а заодно и новому научиться, <h6>Приехал с сыном на выходных покататься, а заодно и новому научиться,
все таки дело полезное. Отлично провели время, инструктор объяснил что и как все таки дело полезное. Отлично провели время, инструктор объяснил что и как
теперь я действительно чувствую себя увереннее за рулем</h6> теперь я действительно чувствую себя увереннее за рулем</h6>
</div> </div>
</div> </div>
</div> </div>
</div> </div>
<!--Отзывы--> <!--Отзывы-->
<!--Модальное окно отзыв--> <!--Модальное окно отзыв-->
<div class="modal fade" id="review" tabindex="-1" aria-labelledby="exampleModalLabel" aria-hidden="true"> <div class="modal fade" id="review" tabindex="-1" aria-labelledby="exampleModalLabel" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered"> <div class="modal-dialog modal-dialog-centered">
<div class="modal-content rounded-8 modalStyle"> <div class="modal-content rounded-8 modalStyle">
<div class="modal-header"> <div class="modal-header">
<h5 class="modal-title fw-bold fs-3 text-secondary-emphasis" id="reviewLabel">Новый отзыв</h5> <h5 class="modal-title fw-bold fs-3 text-secondary-emphasis" id="reviewLabel">Новый отзыв</h5>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Закрыть"></button> <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Закрыть"></button>
</div> </div>
<div class="modal-body"> <div class="modal-body">
<div class="h3 text-danger" id="logged"></div> <div class="h3 text-danger" id="logged"></div>
<form id="reviews-body"> <form id="reviews-body">
<div class="mb-3"> <div class="mb-3">
<label for="reviewText" class="col-form-label fw-bold fw-5 text-secondary-emphasis">Текст отзыва:</label> <label for="reviewText" class="col-form-label fw-bold fw-5 text-secondary-emphasis">Текст отзыва:</label>
<textarea class="form-control rounded-8 light-grey" rows="5" id="reviewText"></textarea> <textarea class="form-control rounded-8 light-grey" rows="5" id="reviewText"></textarea>
</div> </div>
</form> </form>
</div> </div>
<div class="modal-footer" id="reviews-footer"> <div class="modal-footer" id="reviews-footer">
<button class="btn rounded-pill btn-sm text-light fw-normal fs-6 purple" data-bs-toggle="modal"> <button class="btn rounded-pill btn-sm text-light fw-normal fs-6 purple" data-bs-toggle="modal">
Отправить Отправить
</button> </button>
</div> </div>
</div> </div>
</div> </div>
</div> </div>
<!--Модальное окно вход--> <!--Модальное окно вход-->
<div class="modal fade" id="LogIn" tabindex="-1" aria-labelledby="exampleModalLabel" aria-hidden="true"> <div class="modal fade" id="LogIn" tabindex="-1" aria-labelledby="exampleModalLabel" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered"> <div class="modal-dialog modal-dialog-centered">
<div class="modal-content rounded-8 modalStyle"> <div class="modal-content rounded-8 modalStyle">
<div class="modal-header"> <div class="modal-header">
<h5 class="modal-title fw-bold fs-3 text-secondary-emphasis" id="LogInLabel">Вход</h5> <h5 class="modal-title fw-bold fs-3 text-secondary-emphasis" id="LogInLabel">Вход</h5>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Закрыть"></button> <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Закрыть"></button>
</div> </div>
<div class="modal-body"> <div class="modal-body">
<form> <form>
<div class="mb-3"> <div class="mb-3">
<label for="nameLogIn" class="col-form-label fw-bold fw-5 text-secondary-emphasis">Имя:</label> <label for="nameLogIn" class="col-form-label fw-bold fw-5 text-secondary-emphasis">Имя:</label>
<input type="text" class="form-control rounded-8 light-grey" id="nameLogIn"> <input type="text" class="form-control rounded-8 light-grey" id="nameLogIn">
</div> </div>
<div class="mb-3"> <div class="mb-3">
<label for="passwordLogIn" class="col-form-label fw-bold fw-5 text-secondary-emphasis">Пароль:</label> <label for="passwordLogIn" class="col-form-label fw-bold fw-5 text-secondary-emphasis">Пароль:</label>
<input type="password" class="form-control rounded-8 light-grey" id="passwordLogIn"> <input type="password" class="form-control rounded-8 light-grey" id="passwordLogIn">
</div> </div>
</form> </form>
</div> </div>
<div class="modal-footer"> <div class="modal-footer">
<button class="btn rounded-pill btn-sm text-light fw-normal fs-6 purple" id="signIn" data-bs-toggle="modal"> <button class="btn rounded-pill btn-sm text-light fw-normal fs-6 purple" id="signIn" data-bs-toggle="modal">
Вход Вход
</button> </button>
</div> </div>
</div> </div>
</div> </div>
</div> </div>
<!--Модальное окно регистрация--> <!--Модальное окно регистрация-->
<div class="modal fade" id="Register" tabindex="-1" aria-labelledby="RegisterLabel" aria-hidden="true"> <div class="modal fade" id="Register" tabindex="-1" aria-labelledby="RegisterLabel" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered"> <div class="modal-dialog modal-dialog-centered">
<div class="modal-content rounded-8 modalStyle"> <div class="modal-content rounded-8 modalStyle">
<div class="modal-header"> <div class="modal-header">
<h5 class="modal-title fw-bold fs-3 text-secondary-emphasis" id="exampleModalLabel">Регистрация</h5> <h5 class="modal-title fw-bold fs-3 text-secondary-emphasis" id="exampleModalLabel">Регистрация</h5>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Закрыть"></button> <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Закрыть"></button>
</div> </div>
<div class="modal-body"> <div class="modal-body">
<form> <form>
<div class="mb-3"> <div class="mb-3">
<label for="nameRegister" class="col-form-label fw-bold fw-5 text-secondary-emphasis">Имя:</label> <label for="nameRegister" class="col-form-label fw-bold fw-5 text-secondary-emphasis">Имя:</label>
<input type="text" class="form-control rounded-8 light-grey" id="nameRegister"> <input type="text" class="form-control rounded-8 light-grey" id="nameRegister">
</div> </div>
<div class="mb-3"> <div class="mb-3">
<label for="mailRegister" class="col-form-label fw-bold fw-5 text-secondary-emphasis">Адрес электронной почты:</label> <label for="mailRegister" class="col-form-label fw-bold fw-5 text-secondary-emphasis">Адрес электронной почты:</label>
<input type="text" class="form-control rounded-8 light-grey"id="mailRegister"> <input type="text" class="form-control rounded-8 light-grey"id="mailRegister">
</div> </div>
<div class="mb-3"> <div class="mb-3">
<label for="passwordRegister" class="col-form-label fw-bold fw-5 text-secondary-emphasis">Пароль:</label> <label for="passwordRegister" class="col-form-label fw-bold fw-5 text-secondary-emphasis">Пароль:</label>
<input type="password" class="form-control rounded-8 light-grey" id="passwordRegister"> <input type="password" class="form-control rounded-8 light-grey" id="passwordRegister">
</div> </div>
</form> </form>
</div> </div>
<div class="modal-footer"> <div class="modal-footer">
<button class="btn rounded-pill btn-sm text-light fw-normal fs-6 purple" data-bs-toggle="modal" data-bs-target="#signUp"> <button class="btn rounded-pill btn-sm text-light fw-normal fs-6 purple" data-bs-toggle="modal" data-bs-target="#signUp">
Регистрация Регистрация
</button> </button>
</div> </div>
</div> </div>
</div> </div>
</div> </div>
<!--Подвал--> <!--Подвал-->
<footer class="position-sticky top-100 footer-style"> <footer class="position-sticky top-100 footer-style">
<div class="container"> <div class="container">
<div class="row"> <div class="row">
<div class="col-sm text-center text-sm-start text-light fw-bold fs-5"> <div class="col-sm text-center text-sm-start text-light fw-bold fs-5">
Техническая поддержка <br> Техническая поддержка <br>
8-800-555-3535 <br> 8-800-555-3535 <br>
valitzhoska73@gmail.com valitzhoska73@gmail.com
</div> </div>
<div class="col-sm text-center text-sm-end text-light fw-bold fs-5"> <div class="col-sm text-center text-sm-end text-light fw-bold fs-5">
Работаем без выходных с 8:00 до 21:30 Работаем без выходных с 8:00 до 21:30
</div> </div>
</div> </div>
</div> </div>
</footer> </footer>
<!--Подвал--> <!--Подвал-->
<script> <script>
var logged = false var logged = false
var buttonReset = document.getElementById('reset') var buttonReset = document.getElementById('reset')
buttonReset.addEventListener('click', function (){ buttonReset.addEventListener('click', function (){
logged = false; logged = false;
}); });
var buttonSignIn = document.getElementById('signIn') var buttonSignIn = document.getElementById('signIn')
buttonSignIn.addEventListener('click', function () { buttonSignIn.addEventListener('click', function () {
logged = true logged = true
}); });
var buttonReview = document.getElementById('reviewBtn') var buttonReview = document.getElementById('reviewBtn')
buttonReview.addEventListener('click', function (){ buttonReview.addEventListener('click', function (){
if(!logged) { if(!logged) {
document.getElementById('logged').innerText = "Войдите в аккаунт" document.getElementById('logged').innerText = "Войдите в аккаунт"
document.getElementById('reviews-footer').style.display = 'none' document.getElementById('reviews-footer').style.display = 'none'
document.getElementById('reviews-body').style.display = 'none' document.getElementById('reviews-body').style.display = 'none'
} else { } else {
document.getElementById('logged').innerText = "" document.getElementById('logged').innerText = ""
document.getElementById('reviews-footer').style.display = 'block' document.getElementById('reviews-footer').style.display = 'block'
document.getElementById('reviews-body').style.display = 'block' document.getElementById('reviews-body').style.display = 'block'
} }
}) })
</script> </script>
</body> </body>
</html> </html>

View File

@ -1,65 +1,65 @@
.pageBackground{ .pageBackground{
background-image: url('img/MainBackGround.jpg'); background-image: url('img/MainBackGround.jpg');
background-attachment: fixed; background-attachment: fixed;
height: auto; min-height: 100vh height: auto; min-height: 100vh
} }
.navbar-style{ .navbar-style{
background-color: rgba(249,134,23,0.8); background-color: rgba(249,134,23,0.8);
border-bottom: 7px solid #7c2d00; border-bottom: 7px solid #7c2d00;
} }
.footer-style{ .footer-style{
background-color: rgba(249,134,23,0.8); background-color: rgba(249,134,23,0.8);
border-top: 7px solid #7c2d00; border-top: 7px solid #7c2d00;
} }
.mainPageInf{ .mainPageInf{
width: 70%; width: 70%;
min-width: 320px; min-width: 320px;
height: fit-content; height: fit-content;
background-color: rgba(66,66,66,0.8); background-color: rgba(66,66,66,0.8);
padding:2%; padding:2%;
border-radius: 20px; border-radius: 20px;
} }
.modal-dialog-style{ .modal-dialog-style{
height: fit-content !important; height: fit-content !important;
width: 80% !important; width: 80% !important;
} }
.PictureButton{ .PictureButton{
height: 200px; height: 200px;
width: 300px; width: 300px;
} }
.purple{ .purple{
background-color: #8c00e2 !important; background-color: #8c00e2 !important;
} }
.light-grey{ .light-grey{
background-color: #d9d9d9 !important; background-color: #d9d9d9 !important;
} }
.modalStyle{ .modalStyle{
background-color: #9b9b9b !important; background-color: #9b9b9b !important;
border: 7px solid #424242 !important border: 7px solid #424242 !important
} }
.formStyle{ .formStyle{
background-color: rgba(155,155,155,0.8) !important; background-color: rgba(155,155,155,0.8) !important;
border: 7px solid #424242 !important border: 7px solid #424242 !important
} }
.formSizeStyle{ .formSizeStyle{
width: 70% !important; width: 70% !important;
min-width: 320px!important; min-width: 320px!important;
} }
.wfitcon{ .wfitcon{
width: fit-content !important; width: fit-content !important;
} }
.hfitcon{ .hfitcon{
height: fit-content !important; height: fit-content !important;
} }
.minH-500{ .minH-500{
min-height: 500px !important; min-height: 500px !important;
} }
.width-100{ .width-100{
width: 100% !important; width: 100% !important;
} }
.height-300{ .height-300{
height: 300px !important; height: 300px !important;
} }
.height-500{ .height-500{
height: 500px !important; height: 500px !important;
} }

Binary file not shown.