Lab2
8
.idea/.gitignore
vendored
Normal file
@ -0,0 +1,8 @@
|
||||
# Default ignored files
|
||||
/shelf/
|
||||
/workspace.xml
|
||||
# Editor-based HTTP Client requests
|
||||
/httpRequests/
|
||||
# Datasource local storage ignored files
|
||||
/dataSources/
|
||||
/dataSources.local.xml
|
9
.idea/Lab2.iml
Normal file
@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module type="JAVA_MODULE" version="4">
|
||||
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
||||
<exclude-output />
|
||||
<content url="file://$MODULE_DIR$" />
|
||||
<orderEntry type="inheritedJdk" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
</component>
|
||||
</module>
|
6
.idea/misc.xml
Normal file
@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ProjectRootManager">
|
||||
<output url="file://$PROJECT_DIR$/out" />
|
||||
</component>
|
||||
</project>
|
8
.idea/modules.xml
Normal file
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ProjectModuleManager">
|
||||
<modules>
|
||||
<module fileurl="file://$PROJECT_DIR$/.idea/Lab2.iml" filepath="$PROJECT_DIR$/.idea/Lab2.iml" />
|
||||
</modules>
|
||||
</component>
|
||||
</project>
|
6
.idea/vcs.xml
Normal file
@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="VcsDirectoryMappings">
|
||||
<mapping directory="" vcs="Git" />
|
||||
</component>
|
||||
</project>
|
8
Lab2/.idea/.gitignore
vendored
Normal file
@ -0,0 +1,8 @@
|
||||
# Default ignored files
|
||||
/shelf/
|
||||
/workspace.xml
|
||||
# Editor-based HTTP Client requests
|
||||
/httpRequests/
|
||||
# Datasource local storage ignored files
|
||||
/dataSources/
|
||||
/dataSources.local.xml
|
8
Lab2/.idea/modules.xml
Normal file
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ProjectModuleManager">
|
||||
<modules>
|
||||
<module fileurl="file://$PROJECT_DIR$/.idea/Сайт1.iml" filepath="$PROJECT_DIR$/.idea/Сайт1.iml" />
|
||||
</modules>
|
||||
</component>
|
||||
</project>
|
9
Lab2/.idea/Сайт1.iml
Normal file
@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module type="JAVA_MODULE" version="4">
|
||||
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
||||
<exclude-output />
|
||||
<content url="file://$MODULE_DIR$" />
|
||||
<orderEntry type="inheritedJdk" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
</component>
|
||||
</module>
|
BIN
Lab2/img/1.jpg
Normal file
After Width: | Height: | Size: 102 KiB |
BIN
Lab2/img/2.jpg
Normal file
After Width: | Height: | Size: 89 KiB |
BIN
Lab2/img/3.jpg
Normal file
After Width: | Height: | Size: 115 KiB |
BIN
Lab2/img/4.jpg
Normal file
After Width: | Height: | Size: 115 KiB |
BIN
Lab2/img/5.jpg
Normal file
After Width: | Height: | Size: 116 KiB |
BIN
Lab2/img/AccountIcon.jpg
Normal file
After Width: | Height: | Size: 5.3 KiB |
BIN
Lab2/img/Label.jpg
Normal file
After Width: | Height: | Size: 84 KiB |
BIN
Lab2/img/Main1.jpg
Normal file
After Width: | Height: | Size: 3.2 MiB |
BIN
Lab2/img/TogglerIcon.jpg
Normal file
After Width: | Height: | Size: 7.6 KiB |
94
Lab2/index.html
Normal file
@ -0,0 +1,94 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="ru">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>MainPage</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||
<!-- Bootstrap CSS -->
|
||||
<link rel="stylesheet" href="main.css">
|
||||
<link rel="stylesheet" href="node_modules/bootstrap/dist/css/bootstrap.min.css" />
|
||||
<!-- Bootstrap JS -->
|
||||
<script defer src="node_modules/bootstrap/dist/js/bootstrap.min.js"></script>
|
||||
</head>
|
||||
<body class="bg-image overflow-visible pageBackground">
|
||||
<header class>
|
||||
<!--Шапка-->
|
||||
<nav class="navbar navbar-expand-lg navbar-light navbar-style back">
|
||||
<div class="container-fluid">
|
||||
<a class="navbar-brand" href="index.html" >
|
||||
<img src="img/Label.jpg" alt="Logo" height="150" class="align-text-top">
|
||||
</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">
|
||||
<img src="img/TogglerIcon.jpg" alt="Toggler" height="40">
|
||||
</button>
|
||||
<div class="collapse navbar-collapse " id="navbarSupportedContent">
|
||||
<ul class="navbar-nav">
|
||||
<li class="nav-item ">
|
||||
<a class="nav-link me-3 ms-3 fs-2 fw-bold Navbar" href="index.html" >Главная</a>
|
||||
</li>
|
||||
<li class="nav-item ">
|
||||
<a class="nav-link me-3 ms-3 fs-4 fw-bold Navbar" href="page2.html" >Адреса</a>
|
||||
</li>
|
||||
<li class="nav-item ">
|
||||
<a class="nav-link me-3 ms-3 fs-4 fw-bold Navbar" href="page3.html" >Прейскурант</a>
|
||||
</li>
|
||||
<li class="nav-item " >
|
||||
<a class="nav-link me-3 ms-3 fs-4 fw-bold Navbar" href="page4.html" >Отзывы</a>
|
||||
</li>
|
||||
<li class="nav-item " >
|
||||
<a class="nav-link me-3 ms-3 fs-4 fw-bold Navbar" href="page5.html" >Галерея</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</header>
|
||||
<!--Шапка-->
|
||||
<div class="text-light mx-auto mt-5 mb-5 fw-bold rounded-8 p-4 razdel1" >
|
||||
<h3>Car Wash! – это чистый результат и экономия средств. DS - Detailing Service, удовольствие от самостоятельного ухода за автомобилем, сервис в деталях.</h3>
|
||||
<h4 class="mt-4">Мы рады обеспечивать автомобилистам полный комплекс технологий и средств для качественного самостоятельного ухода за автомобилем.
|
||||
<br> </h4>
|
||||
<h4 class="mt-4">Мы гарантируем доступные цены на программы основного ухода: химию для мойки кузова и дисков, защитный воск и осмос ополаскивание, уборку салона пылесосом.
|
||||
Предоставляем средства для дополнительного ухода: чернитель резины, полироль пластика, очиститель битумных пятен.
|
||||
|
||||
</h4>
|
||||
</div>
|
||||
|
||||
<footer class="footer-style">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-sm text-center text-sm-start text-light fw-bold fs-6">
|
||||
Контакты: <br>
|
||||
8-800-535-3535 <br>
|
||||
avtomoyka73@mail.ru<br>
|
||||
<f >Авторское право <f type="button" data-bs-toggle="modal" data-bs-target="#Admin">©</f> 2020 Нияз Юнусов. Все права защищены.</f>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
<!--Модальное окно вход-->
|
||||
<div class="modal fade" id="Admin" tabindex="-1" aria-labelledby="exampleModalLabel" aria-hidden="true">
|
||||
<div class="modal-dialog">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title" id="LogInLabel">Администратор</h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Закрыть"></button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<form>
|
||||
<div class="mb-3">
|
||||
<label for="passwordLogIn" class="col-form-label">Пароль</label>
|
||||
<input type="password" class="form-control" id="passwordLogIn">
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-primary">Войти</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--Главныей раздел-->
|
||||
</body>
|
||||
</html>
|
7
Lab2/js/bootstrap.min.js
vendored
Normal file
113
Lab2/main.css
Normal file
@ -0,0 +1,113 @@
|
||||
.pageBackground{
|
||||
background-image: url('img/Main1.jpg');
|
||||
background-attachment: fixed;
|
||||
height: auto;
|
||||
}
|
||||
body {
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
margin-top: 70px;
|
||||
}
|
||||
.back{
|
||||
background-color: #eff0f2
|
||||
}
|
||||
.razdel1{
|
||||
width: 45%; min-width: 320px ;height: fit-content; background-color: rgba(236,247,230,0.8); padding:2%; border-radius: 20px;
|
||||
}
|
||||
.razdel2{
|
||||
width: 30%; min-width: 320px ;height: fit-content; background-color: rgba(236,247,230,0.8); padding:2%; border-radius: 20px;
|
||||
}
|
||||
.razdel3{
|
||||
width: 70%; min-width: 320px ;height: fit-content; background-color: rgba(236,247,230,0.8); padding:2%; border-radius: 20px;
|
||||
}
|
||||
.razdel4contain{width: 70%; min-width: 320px; height: 500px; background-color: rgba(236,247,230,0.8); border-radius: 20px;}
|
||||
.razdel4reviews{height: fit-content; width: fit-content; background-color: #d9d9d9; border-radius: 20px;}
|
||||
h3{
|
||||
font-weight: bolder !important;
|
||||
font-size: 20px !important;
|
||||
color: #000000 !important;
|
||||
}
|
||||
h1{
|
||||
font-weight: 600 !important;
|
||||
font-size: 18px !important;
|
||||
color: #000000 !important;
|
||||
}
|
||||
h7{
|
||||
font-weight: 600 !important;
|
||||
font-size: 22px !important;
|
||||
color: #000000 !important;
|
||||
}
|
||||
h2,h4,h5,h6 {
|
||||
font-weight: 600 !important;
|
||||
font-size: 20px !important;
|
||||
color: #000000 !important;
|
||||
}
|
||||
|
||||
p{
|
||||
font-size: 14px !important;
|
||||
line-height: 28px;
|
||||
margin-bottom: 25px;
|
||||
word-spacing: 10px;
|
||||
}
|
||||
|
||||
.centered{
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
a:hover, a:focus{
|
||||
color: #7b7b7b;
|
||||
text-decoration: none;
|
||||
outline: 0;
|
||||
}
|
||||
|
||||
hr{
|
||||
display: block;
|
||||
height: 1px;
|
||||
border: 0;
|
||||
border-top: 1px solid #ccc;
|
||||
margin: 1em 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.navbar{
|
||||
font-weight: 800;
|
||||
font-size: 14px;
|
||||
padding-top: 15px;
|
||||
padding-bottom: 15px;
|
||||
}
|
||||
|
||||
.navbar-inverse{
|
||||
background: #2d2d2d;
|
||||
border-color: #2d2d2d;
|
||||
}
|
||||
|
||||
.navbar-inverse .navbar-nav > .active > a{
|
||||
background-color: #ff7878;
|
||||
}
|
||||
|
||||
.navbar-inverse .navbar-brand{
|
||||
color: #999;
|
||||
font-weight: bolder;
|
||||
font-size: 22px;
|
||||
letter-spacing: 1px;
|
||||
}
|
||||
|
||||
.Navbar{
|
||||
color: #184fbd !important;
|
||||
}
|
||||
|
||||
.footer-style{
|
||||
position: sticky !important;
|
||||
top: 100px !important;
|
||||
background-color: #184fbd !important;
|
||||
}
|
||||
|
||||
f{
|
||||
font-size: 8px;
|
||||
color: #ffffff;
|
||||
}
|
||||
.map{
|
||||
display: flex !important;
|
||||
align-items: center !important;
|
||||
justify-content: center !important;
|
||||
}
|
3684
Lab2/package-lock.json
generated
Normal file
20
Lab2/package.json
Normal file
@ -0,0 +1,20 @@
|
||||
{
|
||||
"name": "int-prog",
|
||||
"version": "1.0.0",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"start": "vite",
|
||||
"serve": "http-server -p 3000 ./dist/",
|
||||
"build": "vite build",
|
||||
"prod": "npm-run-all build serve"
|
||||
},
|
||||
"dependencies": {
|
||||
"bootstrap": "5.3.2",
|
||||
"@fortawesome/fontawesome-free": "6.4.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"http-server": "14.1.1",
|
||||
"vite": "4.4.9",
|
||||
"npm-run-all": "4.1.5"
|
||||
}
|
||||
}
|
98
Lab2/page2.html
Normal file
@ -0,0 +1,98 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="ru">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>MainPage</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||
<!-- Bootstrap CSS -->
|
||||
<link rel="stylesheet" href="main.css">
|
||||
<link rel="stylesheet" href="node_modules/bootstrap/dist/css/bootstrap.min.css" />
|
||||
<!-- Bootstrap JS -->
|
||||
<script defer src="node_modules/bootstrap/dist/js/bootstrap.min.js"></script>
|
||||
</head>
|
||||
<body class="bg-image overflow-visible pageBackground">
|
||||
<header class>
|
||||
<!--Шапка-->
|
||||
<nav class="navbar navbar-expand-lg navbar-light navbar-style back">
|
||||
<div class="container-fluid">
|
||||
<a class="navbar-brand" href="index.html" >
|
||||
<img src="img/Label.jpg" alt="Logo" height="150" class="align-text-top">
|
||||
</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">
|
||||
<img src="img/TogglerIcon.jpg" alt="Toggler" height="40">
|
||||
</button>
|
||||
<div class="collapse navbar-collapse " id="navbarSupportedContent">
|
||||
<ul class="navbar-nav">
|
||||
<li class="nav-item ">
|
||||
<a class="nav-link me-3 ms-3 fs-4 fw-bold Navbar" href="index.html" >Главная</a>
|
||||
</li>
|
||||
<li class="nav-item ">
|
||||
<a class="nav-link me-3 ms-3 fs-2 fw-bold Navbar" href="page2.html" >Адреса</a>
|
||||
</li>
|
||||
<li class="nav-item ">
|
||||
<a class="nav-link me-3 ms-3 fs-4 fw-bold Navbar" href="page3.html" >Прейскурант</a>
|
||||
</li>
|
||||
<li class="nav-item " >
|
||||
<a class="nav-link me-3 ms-3 fs-4 fw-bold Navbar" href="page4.html" >Отзывы</a>
|
||||
</li>
|
||||
<li class="nav-item " >
|
||||
<a class="nav-link me-3 ms-3 fs-4 fw-bold Navbar" href="page5.html" >Галерея</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</header>
|
||||
<!--Шапка-->
|
||||
<!--Раздел-->
|
||||
<div class="text-light text-center mx-auto mt-5 mb-5 fw-bold rounded-8 p-4 razdel2" >
|
||||
<h1>
|
||||
Адреса:
|
||||
</h1>
|
||||
<h1>
|
||||
г. Ульяновск, Дзержинского, 6
|
||||
<br>г. Ульяновск, Карла Маркса, 61
|
||||
<br>г. Ульяновск, Пожарный пер., 5
|
||||
<br>г. Ульяновск, Металлистов, 1
|
||||
</h1>
|
||||
<div>
|
||||
<script type="text/javascript" charset="utf-8" async src="https://api-maps.yandex.ru/services/constructor/1.0/js/?um=constructor:d4268b79cf3574d3242f323e36a81321f2c0f4cfabf2e388928c1c51ce9c6c2a&height=400&lang=ru_RU&scroll=true"></script>
|
||||
</div>
|
||||
</div>
|
||||
<footer class="footer-style">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-sm text-center text-sm-start text-light fw-bold fs-6">
|
||||
Контакты: <br>
|
||||
8-800-535-3535 <br>
|
||||
avtomoyka73@mail.ru<br>
|
||||
<f >Авторское право <f type="button" data-bs-toggle="modal" data-bs-target="#Admin">©</f> 2020 Нияз Юнусов. Все права защищены.</f>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
<!--Модальное окно вход-->
|
||||
<div class="modal fade" id="Admin" tabindex="-1" aria-labelledby="exampleModalLabel" aria-hidden="true">
|
||||
<div class="modal-dialog">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title" id="LogInLabel">Вход для админа</h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Закрыть"></button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<form>
|
||||
<div class="mb-3">
|
||||
<label for="passwordLogIn" class="col-form-label">Пароль</label>
|
||||
<input type="password" class="form-control" id="passwordLogIn">
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-primary">Войти</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
94
Lab2/page3.html
Normal file
@ -0,0 +1,94 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="ru">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>MainPage</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||
<!-- Bootstrap CSS -->
|
||||
<link rel="stylesheet" href="main.css">
|
||||
<link rel="stylesheet" href="node_modules/bootstrap/dist/css/bootstrap.min.css" />
|
||||
<!-- Bootstrap JS -->
|
||||
<script defer src="node_modules/bootstrap/dist/js/bootstrap.min.js"></script>
|
||||
</head>
|
||||
<body class="bg-image overflow-visible pageBackground">
|
||||
<header class>
|
||||
<!--Шапка-->
|
||||
<nav class="navbar navbar-expand-lg navbar-light navbar-style back">
|
||||
<div class="container-fluid">
|
||||
<a class="navbar-brand" href="index.html" >
|
||||
<img src="img/Label.jpg" alt="Logo" height="150" class="align-text-top">
|
||||
</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">
|
||||
<img src="img/TogglerIcon.jpg" alt="Toggler" height="40">
|
||||
</button>
|
||||
<div class="collapse navbar-collapse " id="navbarSupportedContent">
|
||||
<ul class="navbar-nav">
|
||||
<li class="nav-item ">
|
||||
<a class="nav-link me-3 ms-3 fs-4 fw-bold Navbar" href="index.html" >Главная</a>
|
||||
</li>
|
||||
<li class="nav-item ">
|
||||
<a class="nav-link me-3 ms-3 fs-4 fw-bold Navbar" href="page2.html" >Адреса</a>
|
||||
</li>
|
||||
<li class="nav-item ">
|
||||
<a class="nav-link me-3 ms-3 fs-2 fw-bold Navbar" href="page3.html" >Прейскурант</a>
|
||||
</li>
|
||||
<li class="nav-item " >
|
||||
<a class="nav-link me-3 ms-3 fs-4 fw-bold Navbar" href="page4.html" >Отзывы</a>
|
||||
</li>
|
||||
<li class="nav-item " >
|
||||
<a class="nav-link me-3 ms-3 fs-4 fw-bold Navbar" href="page5.html" >Галерея</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</header>
|
||||
<!--Шапка-->
|
||||
<div class="text-light mx-auto mt-5 mb-5 fw-bold rounded-8 p-4 razdel3">
|
||||
<h2>
|
||||
Уборка салона пылесосом <p> от 200₽ *цена зависит от степения загрязнения</p>
|
||||
Детейлинг мойка <p> 800₽</p>
|
||||
Влажная уборка салона <p> от 200₽ *цена зависит от степения загрязнения</p>
|
||||
Самообслуживание <p> от 200₽</p>
|
||||
Химчистка салона <p> 12000₽</p>
|
||||
</h2>
|
||||
</div>
|
||||
|
||||
|
||||
<footer class="footer-style">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-sm text-center text-sm-start text-light fw-bold fs-6">
|
||||
Контакты: <br>
|
||||
8-800-535-3535 <br>
|
||||
avtomoyka73@mail.ru<br>
|
||||
<f >Авторское право <f type="button" data-bs-toggle="modal" data-bs-target="#Admin">©</f> 2020 Нияз Юнусов. Все права защищены.</f>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
<!--Модальное окно вход-->
|
||||
<div class="modal fade" id="Admin" tabindex="-1" aria-labelledby="exampleModalLabel" aria-hidden="true">
|
||||
<div class="modal-dialog">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title" id="LogInLabel">Вход для админа</h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Закрыть"></button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<form>
|
||||
<div class="mb-3">
|
||||
<label for="passwordLogIn" class="col-form-label">Пароль</label>
|
||||
<input type="password" class="form-control" id="passwordLogIn">
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-primary">Войти</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
202
Lab2/page4.html
Normal file
@ -0,0 +1,202 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="ru">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>MainPage</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||
<!-- Bootstrap CSS -->
|
||||
<link rel="stylesheet" href="main.css">
|
||||
<link rel="stylesheet" href="node_modules/bootstrap/dist/css/bootstrap.min.css" />
|
||||
<!-- Bootstrap JS -->
|
||||
<script defer src="node_modules/bootstrap/dist/js/bootstrap.min.js"></script>
|
||||
</head>
|
||||
<body class="bg-image overflow-visible pageBackground">
|
||||
<header class>
|
||||
<!--Шапка-->
|
||||
<nav class="navbar navbar-expand-lg navbar-light navbar-style back">
|
||||
<div class="container-fluid">
|
||||
<a class="navbar-brand" href="index.html" >
|
||||
<img src="img/Label.jpg" alt="Logo" height="150" class="align-text-top">
|
||||
</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">
|
||||
<img src="img/TogglerIcon.jpg" alt="Toggler" height="40">
|
||||
</button>
|
||||
<div class="collapse navbar-collapse " id="navbarSupportedContent">
|
||||
<ul class="navbar-nav">
|
||||
<li class="nav-item ">
|
||||
<a class="nav-link me-3 ms-3 fs-4 fw-bold Navbar" href="index.html" >Главная</a>
|
||||
</li>
|
||||
<li class="nav-item ">
|
||||
<a class="nav-link me-3 ms-3 fs-4 fw-bold Navbar" href="page2.html" >Адреса</a>
|
||||
</li>
|
||||
<li class="nav-item ">
|
||||
<a class="nav-link me-3 ms-3 fs-4 fw-bold Navbar" href="page3.html" >Прейскурант</a>
|
||||
</li>
|
||||
<li class="nav-item " >
|
||||
<a class="nav-link me-3 ms-3 fs-2 fw-bold Navbar" href="page4.html" >Отзывы</a>
|
||||
</li>
|
||||
<li class="nav-item " >
|
||||
<a class="nav-link me-3 ms-3 fs-4 fw-bold Navbar" href="page5.html" >Галерея</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</header>
|
||||
<!--Шапка-->
|
||||
<!--Отзывы-->
|
||||
<div class="container mx-auto my-5 p-2 rounded-8 fw-bold razdel4contain">
|
||||
<div class="row row-cols-2 text-dark float-md-end mx-auto fs-5 fw-medium rounded-7" style="height: 100px; width: 290px; background-color: #d9d9d9; border-radius: 20px;">
|
||||
<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="#Register">зарегистрируйтесь</a>
|
||||
</div>
|
||||
<div class="col col-4 mx-CarWash my-auto">
|
||||
<img src="img/AccountIcon.jpg" alt="Icon" width="80">
|
||||
</div>
|
||||
</div>
|
||||
<div class="text-md-start text-center">
|
||||
<button type="button" class="btn rounded-pill btn-lg text-light my-2 mt-md-4 mb-md-5 fw-normal fs-6" data-bs-toggle="modal" data-bs-target="#review" style="background-color: #184fbd; ">
|
||||
Написать отзыв
|
||||
</button>
|
||||
<div class="container overflow-y-auto" style="height: 300px">
|
||||
<div class="text-start p-2 rounded-7 my-2 razdel4reviews">
|
||||
<h5 class="fw-normal text-dark">Михаил</h5>
|
||||
<h6>Мойка отличная, пистолеты работают, цены по карману) Много машинного места, но и там бывают очереди в целом терпимо</h6>
|
||||
</div>
|
||||
<div class="text-start p-2 rounded-7 my-2 razdel4reviews">
|
||||
<h5 class="fw-normal text-dark">Леша</h5>
|
||||
<h6>Всё понравилось. Очень удобно, всё предусмотрено, очень недорогого. Сам помоешь качественнее. Расположение удобное на въезде в Ульяновск</h6>
|
||||
</div>
|
||||
<div class="text-start p-2 rounded-7 my-2razdel4reviews">
|
||||
<h5 class="fw-normal text-dark">Женя</h5>
|
||||
<h6>Минусов: В боксе нельзя оплатить банковской картой! Только наличкой или купить карту мойки. Или идти к оператору, оплатить у него картой и он пойдёт зачислит в боксе.</h6>
|
||||
</div>
|
||||
<div class="text-start p-2 rounded-7 my-2 razdel4reviews">
|
||||
<h5 class="fw-normal text-dark">Веня</h5>
|
||||
<h6>Обычная мойка самообслуживания, чисто, все работает. Цены как везде, удобно</h6>
|
||||
</div>
|
||||
<div class="text-start p-2 rounded-7 my-2 razdel4reviews">
|
||||
<h5 class="fw-normal text-dark">Артур Джан</h5>
|
||||
<h6>Вая как моет. Очень круто машину помыл и сам за одно помылся. Следующий раз семью сюда привезу, вместо баньки</h6>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--Отзывы-->
|
||||
<!--Модальное окно отзыв-->
|
||||
<div class="modal fade" id="review" tabindex="-1" aria-labelledby="exampleModalLabel" aria-hidden="true">
|
||||
<div class="modal-dialog">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title" id="reviewLabel">Новый отзыв</h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Закрыть"></button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<form>
|
||||
<div class="mb-3">
|
||||
<label for="reviewText" class="col-form-label">Текст отзыва:</label>
|
||||
<textarea class="form-control" rows="5" id="reviewText"></textarea>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-primary">Отправить</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--Модальное окно вход-->
|
||||
<div class="modal fade" id="LogIn" tabindex="-1" aria-labelledby="exampleModalLabel" aria-hidden="true">
|
||||
<div class="modal-dialog">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title" id="LogInLabel">Вход</h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Закрыть"></button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<form>
|
||||
<div class="mb-3">
|
||||
<label for="nameLogIn" class="col-form-label">Имя</label>
|
||||
<input type="text" class="form-control" id="nameLogIn">
|
||||
</div>
|
||||
<div class="mb-3">
|
||||
<label for="passwordLogIn" class="col-form-label">Пароль</label>
|
||||
<input type="password" class="form-control" id="passwordLogIn">
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-primary">Войти</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--Модальное окно регистрация-->
|
||||
<div class="modal fade" id="Register" tabindex="-1" aria-labelledby="RegisterLabel" aria-hidden="true">
|
||||
<div class="modal-dialog">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title" id="exampleModalLabel">Регистрация</h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Закрыть"></button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<form>
|
||||
<div class="mb-3">
|
||||
<label for="nameRegister" class="col-form-label">Имя</label>
|
||||
<input type="text" class="form-control" id="nameRegister">
|
||||
</div>
|
||||
<div class="mb-3">
|
||||
<label for="mailRegister" class="col-form-label">Адрес электронной почты</label>
|
||||
<input type="text" class="form-control" id="mailRegister">
|
||||
</div>
|
||||
<div class="mb-3">
|
||||
<label for="passwordRegister" class="col-form-label">Пароль</label>
|
||||
<input type="password" class="form-control" id="passwordRegister">
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-primary">Зарегистрироваться</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<footer class="footer-style">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-sm text-center text-sm-start text-light fw-bold fs-6">
|
||||
Контакты: <br>
|
||||
8-800-535-3535 <br>
|
||||
avtomoyka73@mail.ru<br>
|
||||
<f >Авторское право <f type="button" data-bs-toggle="modal" data-bs-target="#Admin">©</f> 2020 Нияз Юнусов. Все права защищены.</f>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
<!--Модальное окно вход-->
|
||||
<div class="modal fade" id="Admin" tabindex="-1" aria-labelledby="exampleModalLabel" aria-hidden="true">
|
||||
<div class="modal-dialog">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title" id="LogInLabelAdmin">Вход для админа</h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Закрыть"></button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<form>
|
||||
<div class="mb-3">
|
||||
<label for="passwordLogIn" class="col-form-label">Пароль</label>
|
||||
<input type="password" class="form-control" id="passwordAdmin">
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-primary">Войти</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
116
Lab2/page5.html
Normal file
@ -0,0 +1,116 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="ru">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>MainPage</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||
<!-- Bootstrap CSS -->
|
||||
<link rel="stylesheet" href="main.css">
|
||||
<link rel="stylesheet" href="node_modules/bootstrap/dist/css/bootstrap.min.css" />
|
||||
<!-- Bootstrap JS -->
|
||||
<script defer src="node_modules/bootstrap/dist/js/bootstrap.min.js"></script>
|
||||
</head>
|
||||
<body class="bg-image overflow-visible pageBackground">
|
||||
<header class>
|
||||
<!--Шапка-->
|
||||
<nav class="navbar navbar-expand-lg navbar-light navbar-style back">
|
||||
<div class="container-fluid">
|
||||
<a class="navbar-brand" href="index.html" >
|
||||
<img src="img/Label.jpg" alt="Logo" height="150" class="align-text-top">
|
||||
</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">
|
||||
<img src="img/TogglerIcon.jpg" alt="Toggler" height="40">
|
||||
</button>
|
||||
<div class="collapse navbar-collapse " id="navbarSupportedContent">
|
||||
<ul class="navbar-nav">
|
||||
<li class="nav-item ">
|
||||
<a class="nav-link me-3 ms-3 fs-4 fw-bold Navbar" href="index.html" >Главная</a>
|
||||
</li>
|
||||
<li class="nav-item ">
|
||||
<a class="nav-link me-3 ms-3 fs-4 fw-bold Navbar" href="page2.html" >Адреса</a>
|
||||
</li>
|
||||
<li class="nav-item ">
|
||||
<a class="nav-link me-3 ms-3 fs-4 fw-bold Navbar" href="page3.html" >Прейскурант</a>
|
||||
</li>
|
||||
<li class="nav-item " >
|
||||
<a class="nav-link me-3 ms-3 fs-4 fw-bold Navbar" href="page4.html" >Отзывы</a>
|
||||
</li>
|
||||
<li class="nav-item " >
|
||||
<a class="nav-link me-3 ms-3 fs-2 fw-bold Navbar" href="page5.html" >Галерея</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</header>
|
||||
<!--Галерея-->
|
||||
<div class="container mx-auto my-5 p-2 rounded-8 fw-bold" style="width: 70%; min-width: 320px ;height: fit-content; min-height: 80%; background-color: rgba(155,155,155,0.8); border: 7px solid #424242">
|
||||
<div class="row row-cols-1 row-cols-lg-2 row-cols-xxl-3 pb-3 text-center">
|
||||
<button class="btn col-xxl-4 col-lg-6 col-12 mx-auto my-2 my-sm-4 bg-image rounded-8" data-bs-toggle="modal" data-bs-target="#exampleModal" data-img="img/1.png" style=" background-image: url('img/1.jpg'); height: 200px; width: 300px"></button>
|
||||
<button class="btn col-xxl-4 col-lg-6 col-12 mx-auto my-2 my-sm-4 bg-image rounded-8" data-bs-toggle="modal" data-bs-target="#exampleModal" data-img="img/2.png" style=" background-image: url('img/2.jpg'); height: 200px; width: 300px"></button>
|
||||
<button class="btn col-xxl-4 col-lg-6 col-12 mx-auto my-2 my-sm-4 bg-image rounded-8" data-bs-toggle="modal" data-bs-target="#exampleModal" data-img="img/3.png" style=" background-image: url('img/3.jpg'); height: 200px; width: 300px"></button>
|
||||
<button class="btn col-xxl-4 col-lg-6 col-12 mx-auto my-2 my-sm-4 bg-image rounded-8" data-bs-toggle="modal" data-bs-target="#exampleModal" data-img="img/4.png" style=" background-image: url('img/4.jpg'); height: 200px; width: 300px"></button>
|
||||
<button class="btn col-xxl-4 col-lg-6 col-12 mx-auto my-2 my-sm-4 bg-image rounded-8" data-bs-toggle="modal" data-bs-target="#exampleModal" data-img="img/5.png" style=" background-image: url('img/5.jpg'); height: 200px; width: 300px"></button>
|
||||
<button onclick="file.click()" type="button" class="btn btn-dark col-xxl-4 col-lg-6 col-12 mx-auto my-4 rounded-8 fw-bold fs-1" style="height: 200px; width: 300px">
|
||||
+
|
||||
</button>
|
||||
<input id="file" type="file" hidden />
|
||||
</div>
|
||||
</div>
|
||||
<!--Галерея-->
|
||||
<!-- Модальное окно -->
|
||||
<div class="modal fade" id="exampleModal" tabindex="-1" aria-labelledby="exampleModalLabel">
|
||||
<div class="modal-dialog modal-dialog-centered modal-fullscreen mx-auto " style="height: fit-content; width: 80%">
|
||||
<div class="modal-content" style="height: fit-content; width: 100%">
|
||||
<div class="modal-body text-center">
|
||||
<button type="button" class="btn-close position-absolute top-0 end-0" data-bs-dismiss="modal" aria-label="Закрыть"></button>
|
||||
<img id="image" class="mx-auto" src="" alt="image" style="width: 100% ">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<script>
|
||||
var exampleModal = document.getElementById('exampleModal')
|
||||
exampleModal.addEventListener('show.bs.modal', function (event){
|
||||
var button = event.relatedTarget
|
||||
var recipient = button.getAttribute('data-img')
|
||||
document.getElementById('image').setAttribute("src", recipient.toString())
|
||||
});
|
||||
</script>
|
||||
<footer class="footer-style">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-sm text-center text-sm-start text-light fw-bold fs-6">
|
||||
Контакты: <br>
|
||||
8-800-535-3535 <br>
|
||||
avtomoyka73@mail.ru<br>
|
||||
<f >Авторское право <f type="button" data-bs-toggle="modal" data-bs-target="#Admin">©</f> 2020 Нияз Юнусов. Все права защищены.</f>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
<!--Модальное окно вход-->
|
||||
<div class="modal fade" id="Admin" tabindex="-1" aria-labelledby="exampleModalLabel" aria-hidden="true">
|
||||
<div class="modal-dialog">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title" id="LogInLabel">Вход для админа</h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Закрыть"></button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<form>
|
||||
<div class="mb-3">
|
||||
<label for="passwordLogIn" class="col-form-label">Пароль</label>
|
||||
<input type="password" class="form-control" id="passwordLogIn">
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-primary">Войти</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
5
Lab2/readme.md
Normal file
@ -0,0 +1,5 @@
|
||||
npm install
|
||||
|
||||
npm start
|
||||
|
||||
npm run prod
|
16
Lab2/vite.config.js
Normal file
@ -0,0 +1,16 @@
|
||||
import { resolve } from 'path'
|
||||
import { defineConfig } from 'vite'
|
||||
|
||||
export default defineConfig({
|
||||
build: {
|
||||
rollupOptions: {
|
||||
input: {
|
||||
main: resolve(__dirname, 'index.html'),
|
||||
page2: resolve(__dirname, 'page2.html'),
|
||||
page3: resolve(__dirname, 'page3.html'),
|
||||
page4: resolve(__dirname, 'page4.html'),
|
||||
page5: resolve(__dirname, 'page5.html'),
|
||||
},
|
||||
},
|
||||
},
|
||||
})
|