Готовая Лабораторная 2 с отчётом

This commit is contained in:
Никита Белянин 2023-10-30 17:10:05 +04:00
parent a7deb923a8
commit 934338c462
52 changed files with 5647 additions and 0 deletions

8
Lab2/Lab2/.idea/.gitignore vendored Normal file
View 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

6
Lab2/Lab2/.idea/misc.xml Normal file
View 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>

View 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>

107
Lab2/Lab2/Admin.html Normal file
View File

@ -0,0 +1,107 @@
<html lang="ru">
<head>
<meta charset="utf-8">
<title>Моя страница</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<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="./style.css">
</head>
<body>
<header>
<nav class="navbar navbar-expand-md navbar-dark">
<div class="container-fluid">
<a class="navbar-brand" href="/">
<img class="logo" src="./assets/Image1.png" alt="logo">
<a class="Name" href="./index.html">UlRent</a>
</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav"
aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="navbar-collapse collapse justify-content-end" id="navbarNav">
<div class="navbar-nav pe-5">
<a class="nav-link" href="./index.html">Главная</a>
<a class="nav-link" href="./page-help.html">Помощь</a>
</div>
</div>
</div>
</nav>
</header>
<main class="container-fluid p-1 wrapper">
<article>
<div class="w-100 mx-auto">
<div class="row">
<div class="col w-100 mx-auto">
<form action="" method="get" style="width: 100%;">
<div class="form-item">
<label for="lastname">Обращение</label>
<input id="lastname" name="lastname" class="form-control" type="text" required="">
</div>
<div class="form-item">
<label for="firstname"> Название объявления </label>
<input id="firstname" name="firstname" class="form-control" type="text" required="">
</div>
<div class="form-item">
<label for="email">E-mail</label>
<input id="email" name="email" class="form-control" type="email" placeholder="name@example.ru" required="">
</div>
<div class="form-item">
<label for="firstname"> Город и район </label>
<input id="firstname" name="firstname" class="form-control" type="text" required="">
</div>
<div class="form-item">
<label for="firstname"> Номер телефона </label>
<input id="firstname" name="firstname" class="form-control" type="text" required="">
</div>
<div class="form-item">
<label for="aboutme"> Цена </label>
<input id="aboutme" name="aboutme" class="form-control" placeholder="5000 ₽" type="text" required="">
</div>
<div class="form-item">
<label for="Category"> Тип аренды </label>
<input id="aboutme" name="aboutme" class="form-control" type="text" required="">
</div>
</form>
</div>
<div class="col mt-3 w-100 mx-auto" style="margin-left: 15px;">
<div class="ms-3">
<img src="./assets/Image8.png" alt="im1" class="img-thumbnail">
</div>
<label for="aboutme"> Описание </label>
<div class="ms-3" style="margin-right: 30px;">
<input id="aboutme" class="form-label" name="aboutme" type="text" required="" style="width: 100%; height: 100px;">
</div>
<div class="p-4" style="margin-bottom: 50px;">
<button type="button" class="btn btn-primary btnsend" data-bs-toggle="modal" data-bs-target="#exampleModal" style="margin-left: 40px;">Добавить объявление</button>
</div>
</div>
</div>
</div>
</article>
</main>
<footer class="footer mx-auto">
&copy; 2023 UlRent Белянин Никита ПИбд-21 | Все права защищены ;)
</footer>
</body>
</html>

82
Lab2/Lab2/LogIn.html Normal file
View File

@ -0,0 +1,82 @@
<html lang="ru">
<head>
<meta charset="utf-8">
<title>Моя страница</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<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="./style.css">
</head>
<body>
<header>
<nav class="navbar navbar-expand-md navbar-dark">
<div class="container-fluid">
<a class="navbar-brand" href="/">
<img class="logo" src="./assets/Image1.png" alt="logo">
<a class="Name" href="./index.html">UlRent</a>
</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav"
aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="navbar-collapse collapse justify-content-end" id="navbarNav">
<div class="navbar-nav pe-5">
<a class="nav-link" href="./index.html">Главная</a>
<a class="nav-link" href="./page-help.html">Помощь</a>
</div>
</div>
</div>
</nav>
</header>
<main class="container-fluid p-1 wrapper">
<div class="" style="text-align: center; color: white; font-size: 42px;">
<p>Войти в профиль</p>
</div>
<div class="row">
<div class="col-7">
<div class="row justify-content-center">
<form class="col-md-6 m-0" action="./page3.html" method="get">
<div class="mb-2 ps-4">
<label class="form-label" for="firstname">Ваш логин</label>
<input id="firstname" name="firstname" class="form-control" type="text" placeholder="Электронная почта" required>
</div>
<div class="mb-2 ps-4">
<label class="form-label" for="password">Пароль</label>
<input id="password" name="password" class="form-control" type="password" placeholder="от 6 до 16 символов" required>
</div>
<div class="d-grid gap-2 col-8 ps-4 pt-5 mx-auto w-100" style="padding-top: 35px;">
<button type="button" class="btn btn-light mx-auto" style="width: 10rem; color: red;" >
<a class="flex w-100" href="bulletinBoard.html" style="color:red">Войти</a>
</button>
</div>
</form>
</div>
</div>
<div class="col">
<div class="col-md-10 offset">
<img src="./assets/Image12.png" alt="im1" class="imgg1">
</div>
</div>
</div>
</main>
<footer class="footer mt-auto">
&copy; 2023 UlRent Белянин Никита ПИбд-21 | Все права защищены ;)
</footer>
</body>
</html>

View File

@ -0,0 +1,101 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Главная</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG1MXxSR1GAsXEV/Dwwykc2MPK8M2HN" crossorigin="anonymous">
<link rel="stylesheet" href="style.css">
</head>
<body>
<header>
<nav class="navbar navbar-explad-lg" style="background-color: #85DADA;">
<div class="d-flex flex-column mb-3">
<div class="p-2"><a href="index.html"><img src="assets/Image1.png" width="100px" height="80px" alt="logo"></a></div>
</div>
<div class="d-flex justify-content-around">
<div class="p-2"><a id="sslk" href="index.html" style="font-size: 32px; color: white;">UlRent</a></div>
<div class="p-2"><a id="sslk" href="MyBulletinBoard.html" style="font-size: 28px; color: white; padding: 25px;">Мои объявления</a></div>
</div>
<div class="d-flex justify-content-end pe-5">
<button type="button" class="btn btn-primary"> Выход </button>
</div>
</nav>
</header>
<article style="background-color: #85DADA; padding-top: 50px;">
<div class="" style="text-align: center; color: white; font-size: 42px;">
<p>Мои объявления</p>
</div>
<div class="container mb-5">
<div class="row">
<div class="col pb-4">
<div class="card mx-auto" style="width: 18rem;">
<a href="page7.html"><img src="./assets/Image9.jpg" class="card-img-top" width="450px" height="200px" alt="dom"></a>
<div class="card-body">
<h5 class="card-title"> <a href="page7.html" style="color: black; text-decoration: none;"> Студия </a></h5>
<p class="card-text">Центр города ул. Зелёная, д43, кв.77 Красивый вид на площадь города, рядом расположены ТЦ и парк атракционов</p>
<a href="page7.html" class="btn btn-primary">4 249₽</a>
</div>
</div>
</div>
<div class="col pb-4">
<div class="card mx-auto" style="width: 18rem;">
<a href="#"><img src="./assets/Image10.jpg" class="card-img-top" width="450px" height="200px" alt="dom"></a>
<div class="card-body">
<h5 class="card-title">Апартаменты</h5>
<p class="card-text">Север города ул. Победы, д. 87 кв.182 Удобная развязка, рядом находится деловой центр и аквапарк
</p>
<a href="#" class="btn btn-primary">2 799 ₽</a>
</div>
</div>
</div>
<div class="col pb-4">
<div class="card mx-auto" style="width: 18rem;">
<a href="#"><img src="./assets/Image13.jpg" class="card-img-top" width="450px" height="200px" alt="dom"></a>
<div class="card-body">
<h5 class="card-title">Таунхауз</h5>
<p class="card-text">Южная часть города ул. Южная д.87 Возможно проживание двумя семьями, на территории располагается парковка</p>
<a href="#" class="btn btn-primary">3 069₽</a>
</div>
</div>
</div>
<div class="col pb-4">
<div class="card mx-auto" style="width: 18rem;">
<a href="#"><img src="./assets/Image8.png" class="card-img-top" width="450px" height="200px" alt="dom"></a>
<div class="card-body">
<h5 class="card-title">Пентхауз</h5>
<p class="card-text">Центр города ул. Ёжиков д.23, кв.100 Современная, удобная квартира на крыше дома, с двумя этажами</p>
<a href="#" class="btn btn-primary">5 199 ₽</a>
</div>
</div>
</div>
</div>
</div>
<div class="d-grid gap-2 col-4 mx-auto">
<button type="button" class="btn btn-light w-100" style="width: 30rem; color: red;" >
<a class="" href="page4.html" style="color:red">Добавить объявление</a>
</button>
</div>
</article>
<div class="push"> </div>
<footer class="footer mt-auto">
<div class="copywriter">
&copy; 2023 UlRent Белянин Никита ПИбд-21 | Все права защищены ;)
</div>
</footer>
<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.11.8/dist/umd/popper.min.js"
integrity="sha384-I7E8VVD/ismYTF4hNIPjVp/Zjvgyol6VFvRkX/vR+Vc4jQkC+hVqc2pM8ODewa9r" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.min.js"
integrity="sha384-BBtl+eGJRgqQAUMxJ7pMwbEyER4l1g+O15P+16Ep7Q9Q+zqX6gSbd85u4mG4QzX+" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js"
integrity="sha384-C6RzsynM9kWDrMNeT87bh95OGNyZPhcTNXj1NW7RuBCsyN/o0jlpcV8Qyq46cDfL" crossorigin="anonymous"></script>
</body>
</html>

88
Lab2/Lab2/SignIn.html Normal file
View File

@ -0,0 +1,88 @@
<html lang="ru">
<head>
<meta charset="utf-8">
<title>Моя страница</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<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="./style.css">
</head>
<body>
<header>
<nav class="navbar navbar-expand-md navbar-dark">
<div class="container-fluid">
<a class="navbar-brand" href="">
<img class="logo" src="./assets/Image1.png" alt="logo">
<a class="Name" href="index.html">UlRent</a>
</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav"
aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="navbar-collapse collapse justify-content-end" id="navbarNav">
<div class="navbar-nav pe-5">
<a class="nav-link" href="./index.html">Главная</a>
<a class="nav-link" href="./page-help.html">Помощь</a>
</div>
</div>
</div>
</nav>
</header>
<main class="container-fluid p-1 wrapper">
<div class="row">
<div class="col-7">
<div class="row justify-content-end">
<form class="col-md-6 m-0" style="width: 600px;" action="./SignIn.html" method="get">
<div class="mb-2 ps-4">
<label class="form-label" for="lastname">Как пользователям к вам обращаться</label>
<input id="lastname" name="lastname" class="form-control" type="text" placeholder="Ваше Имя" required>
</div>
<div class="mb-2 ps-4">
<label class="form-label" for="firstname">Ваш логин</label>
<input id="firstname" name="firstname" class="form-control" type="text" placeholder="Электронная почта" required>
</div>
<div class="mb-2 ps-4">
<label class="form-label" for="email">Только мобильный телефон</label>
<input id="email" name="email" class="form-control" type="email" placeholder="Номер телефона" required>
</div>
<div class="mb-2 ps-4">
<label class="form-label" for="password">Пароль</label>
<input id="password" name="password" class="form-control" type="password" placeholder="от 6 до 16 символов" required>
</div>
<div class="bt2">
<div class="d-grid col-8 w-100 mx-auto" style="padding-top: 15px;">
<button type="button" class="btn btn-light mx-auto" style="width: 12rem; color: red;" >
<a class="" href="bulletinBoard.html" style="color:red">Зарегестрироваться</a>
</button>
</div>
</div>
</div>
</div>
<div class="col">
<div class="coll1">
<div class="col-md-8 offset-md-3">
<img src="./assets/Image5.png" alt="im1" class="img">
</div>
</div>
</div>
</div>
</main>
<footer class="footer mt-auto">
&copy; 2023 UlRent Белянин Никита ПИбд-21 | Все права защищены ;)
</footer>
</body>
</html>

84
Lab2/Lab2/aboutus.html Normal file
View File

@ -0,0 +1,84 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<!-- <script type="module" src="./node_modules/bootstrap/dist/js/bootstrap.min.js"></script> -->
<script src="https://kit.fontawesome.com/49529c639a.js" crossorigin="anonymous"></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"/>
<script
src="https://kit.fontawesome.com/49529c639a.js"
crossorigin="anonymous"
></script>
<link rel="stylesheet" href="style.css" />
<title>Мой сайт</title>
</head>
<body>
<header class>
<nav class="navbar navbar-expand-md navbar-dark">
<div class="container-fluid">
<a class="navbar-brand" href="/">
<img class="logo" src="./assets/Image1.png" alt="logo">
<div class="mx-auto">
<a class="Name" href="index.html"> UlRent </a>
</div>
</a>
<div class=" mx-auto">
<a class="goback" href="index.html"> Вернуться назад </a>
</div>
</div>
</nav>
</header>
<main class="container-fluid p-4 wrapper flex-shrink-0 p-0">
<div class="container">
<div class="textus" style="color: white; font-size: 40px">
<p> <u> О портале</u></p>
</div>
<div class="textus" style="color: white; font-size: 32px">
<p>Позвольте нам сэкономить ваше время и деньги</p>
</div>
<div class="textus" style="color: white; font-size: 28px">
<p>Нужна квартира в Ульяновске? Не хотите перепачивать? Именно на нашем сайте UlRent мы
поможем вам найти необходимое жильё. На нашем портале аренды недвижимости. Место, в котором
можно снять квартиру посуточно или на долгий срок с максимальной экономией. Почему портал
назван "независимым"? Потому что мы не связаны ни с одним агенством недвижимости Ульяновска,
И предлагаем только честные цены на квартиры от реальных собственников. Почему портав назван
"выгодным и экономным"? Статистика показывает, что клиенты, работащие с посредниками переплатили
бы на 20%-30%
</p>
</div>
<div class="textus" style="color: white; font-size: 32px">
<p>Для собственников</p>
</div>
<div class="textus" style="color: white; font-size: 28px">
<p>Если вы являетесь собственником уютной, удобной и комфортной квартиры, то вы можете разместить
своё личное объявление об аренде вашего жилья. Посуточно или на определённый продолжительный срок -
выбор за вами. Для вас в качестве арендодателя представляется возможность определять цену и размещать
свои контактные данные
</p>
</div>
</div>
</main>
<footer class="footer mt-auto fixed bottom-0 w-100">
<div class="copywriter">
&copy; 2023 UlRent Белянин Никита ПИбд-21 | Все права защищены ;)
</div>
</footer>
</div>
</body>
</html>

BIN
Lab2/Lab2/assets/Image1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 452 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 655 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 377 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 84 KiB

BIN
Lab2/Lab2/assets/Image2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 363 KiB

BIN
Lab2/Lab2/assets/Image3.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 72 KiB

BIN
Lab2/Lab2/assets/Image4.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 76 KiB

BIN
Lab2/Lab2/assets/Image5.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 82 KiB

BIN
Lab2/Lab2/assets/Image6.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 179 KiB

BIN
Lab2/Lab2/assets/Image7.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 156 KiB

BIN
Lab2/Lab2/assets/Image8.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

BIN
Lab2/Lab2/assets/Image9.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 248 KiB

View File

@ -0,0 +1,116 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Главная</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG1MXxSR1GAsXEV/Dwwykc2MPK8M2HN" crossorigin="anonymous">
<link rel="stylesheet" href="style.css">
</head>
<body class="h-100">
<header>
<nav class="navbar navbar-explad-lg" style="background-color: #85DADA;">
<div class="d-flex flex-column mb-3">
<div class="p-2">
<a href="index.html"><img class="logo5" src="assets/Image1.png" width="100px" height="80px" alt="logo">
</a></div>
</div>
<div class="d-flex justify-content-around">
<div class="p-2">
<a class="header-text1" href="index.html" style="color: white;">UlRent</a>
</div>
<div class="p-2">
<a class="header-text2" href="MyBulletinBoard.html" style="color: white; padding: 25px;">Мои объявления</a>
</div>
</div>
<div class="d-flex justify-content-end pe-5">
<div class="flex-column">
<button type="button" class="btn btn-primary"> Выход </button>
</div>
</div>
</nav>
</header>
<main class="container-fluid flex-shrink-0 p-0">
<article style="background-color: #85DADA; padding-top: 50px;">
<div class="container mb-5 wrapper">
<div class="row">
<div class="col pb-4">
<div class="card mx-auto" style="width: 18rem;">
<a href="page7.html"><img src="./assets/Image9.jpg" class="card-img-top" width="450px" height="200px" alt="dom"></a>
<div class="card-body">
<h5 class="card-title"> <a href="page7.html" style="color: black; text-decoration: none;"> Студия 1 </a></h5>
<p class="card-text">Центр города ул. Зелёная, д43, кв.77 Красивый вид на площадь города, рядом расположены ТЦ и парк атракционов</p>
<a href="page7.html" class="btn btn-primary">4 249₽</a>
</div>
</div>
</div>
<div class="col pb-4">
<div class="card mx-auto" style="width: 18rem;">
<a href="#"><img src="./assets/Image10.jpg" class="card-img-top" width="450px" height="200px" alt="dom"></a>
<div class="card-body">
<h5 class="card-title">Студия 2</h5>
<p class="card-text">Север города ул. Победы, д. 87 кв.182 Удобная развязка, рядом находится деловой центр и аквапарк
</p>
<a href="#" class="btn btn-primary">2 799 ₽</a>
</div>
</div>
</div>
<div class="col pb-4">
<div class="card mx-auto" style="width: 18rem;">
<a href="#"><img src="./assets/Image13.jpg" class="card-img-top" width="450px" height="200px" alt="dom"></a>
<div class="card-body">
<h5 class="card-title">Таунхауз</h5>
<p class="card-text">Южная часть города ул. Южная д.87 Возможно проживание двумя семьями, на территории располагается парковка</p>
<a href="#" class="btn btn-primary">3 069₽</a>
</div>
</div>
</div>
<div class="col pb-4">
<div class="card mx-auto" style="width: 18rem;">
<a href="#"><img src="./assets/Image8.png" class="card-img-top" width="450px" height="200px" alt="dom"></a>
<div class="card-body">
<h5 class="card-title">Пентхауз</h5>
<p class="card-text">Центр города ул. Ёжиков д.23, кв.100 Современная, удобная квартира на крыше дома, с двумя этажами</p>
<a href="#" class="btn btn-primary">5 199 ₽</a>
</div>
</div>
</div>
</div>
</div>
<div class="btn1">
<div class="col mx-auto">
<div class="flex-column col-md-8 mx-auto" style="width: 20rem;">
<button type="button" class="btn btn-light w-100" style="width: 20rem; color: red;" >
<a class="" href="page4.html" style="color:red">Добавить объявление</a>
</button>
</div>
</div>
</div>
</article>
</main>
<div class="push"></div>
<footer class="footer mt-auto fixed bottom-0 w-100">
<div class="copywriter">
&copy; 2023 UlRent Белянин Никита ПИбд-21 | Все права защищены ;)
</div>
</footer>
<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.11.8/dist/umd/popper.min.js"
integrity="sha384-I7E8VVD/ismYTF4hNIPjVp/Zjvgyol6VFvRkX/vR+Vc4jQkC+hVqc2pM8ODewa9r" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.min.js"
integrity="sha384-BBtl+eGJRgqQAUMxJ7pMwbEyER4l1g+O15P+16Ep7Q9Q+zqX6gSbd85u4mG4QzX+" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js"
integrity="sha384-C6RzsynM9kWDrMNeT87bh95OGNyZPhcTNXj1NW7RuBCsyN/o0jlpcV8Qyq46cDfL" crossorigin="anonymous"></script>
</body>
</html>

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 377 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 363 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 72 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 76 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 82 KiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

97
Lab2/Lab2/dist/index.html vendored Normal file
View File

@ -0,0 +1,97 @@
<html lang="ru">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<script src="https://kit.fontawesome.com/49529c639a.js" crossorigin="anonymous"></script>
<title>Мой сайт</title>
<script type="module" crossorigin src="/assets/style-39711fc9.js"></script>
<link rel="stylesheet" href="/assets/style-a334bb9a.css">
</head>
<body>
<header>
<nav class="navbar navbar-expand-md navbar-dark">
<div class="container-fluid">
<a class="navbar-brand" href="/">
<img class="logo" src="/assets/Image1-880aeccf.png" alt="logo">
<a class="Name" href="index.html"> UlRent </a>
</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav"
aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="navbar-collapse collapse justify-content-end" id="navbarNav">
<div class="navbar-nav pe-5">
<a class="nav-link" href="../bulletin%20board.html" style="color: white">Обзор</a>
<a class="nav-link" href="page-help.html" style="color: white">Помощь</a>
<a class="nav-link" href="page2.html" style="color: white">О нас</a>
<a class="nav-link" href="page3.html" style="color: white">Контакты</a>
</div>
</div>
</div>
</nav>
</header>
<main class="container-fluid p-4 wrapper">
<div class="container">
<div class="row">
<div class="col-8">
<div class="row">
<div class="col">
<img src="/assets/Image3-eba55b61.png" alt="im1" class="img1">
</div>
<div class="col">
<img src="/assets/Image4-b5cacf51.png" alt="im1" class="img1">
<div class="pt-5">
</div>
</div>
<div class="col">
<img src="/assets/Image5-00b6cf09.png" alt="im1" class="img1">
</div>
</div>
<div class="flex-column w-100 mx-auto">
<div class="pb-4 pe-4" style="padding-right: 0px;">
<button type="button" class="btn btn-default btn-lg active w-100" style="background-color: white; color: red; padding-bottom: 25px;">
<a href="page3.html" style="color:red">Войти в профиль </a>
</button>
</div>
<div class="pb-4 pe-4" style="padding-right: 0px;">
<button type="button" class="btn btn-default btn-lg active w-100" style="background-color: white; color: red; padding-bottom: 25px;">
<a href="page2.html" style="color: red"> Регистрация </a>
</button>
</div>
</div>
</div>
<div class="col">
<img src="/assets/Image2-b947f977.png" alt="im1" class="img22" style="border-radius: 0px 120px;">
</div>
</div>
</div>
</main>
<div class="push"></div>
<footer class="footer">
<div class="copywriter p-2">
&copy; 2023 UlRent Белянин Никита ПИбд-21 | Все права защищены ;)
</div>
</footer>
</body>
</html>

88
Lab2/Lab2/dist/page2.html vendored Normal file
View File

@ -0,0 +1,88 @@
<html lang="ru">
<head>
<meta charset="utf-8">
<title>Моя страница</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<script type="module" crossorigin src="/assets/style-39711fc9.js"></script>
<link rel="stylesheet" href="/assets/style-a334bb9a.css">
</head>
<body>
<header>
<nav class="navbar navbar-expand-md navbar-dark">
<div class="container-fluid">
<a class="navbar-brand" href="">
<img class="logo" src="/assets/Image1-880aeccf.png" alt="logo">
<a class="Name" href="index.html">UlRent</a>
</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav"
aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="navbar-collapse collapse justify-content-end" id="navbarNav">
<div class="navbar-nav pe-5">
<a class="nav-link" href="./index.html">Главная</a>
<a class="nav-link" href="./page-help.html">Помощь</a>
</div>
</div>
</div>
</nav>
</header>
<main class="container-fluid p-1 wrapper">
<div class="row">
<div class="col-7">
<div class="row justify-content-center">
<form class="col-md-6 m-0" action="./page3.html" method="get">
<div class="mb-2">
<label class="form-label" for="lastname">Как пользователям к вам обращаться</label>
<input id="lastname" name="lastname" class="form-control" type="text" placeholder="Ваше Имя" required>
</div>
<div class="mb-2">
<label class="form-label" for="firstname">Ваш логин</label>
<input id="firstname" name="firstname" class="form-control" type="text" placeholder="Электронная почта" required>
</div>
<div class="mb-2">
<label class="form-label" for="email">Только мобильный телефон</label>
<input id="email" name="email" class="form-control" type="email" placeholder="Номер телефона" required>
</div>
<div class="mb-2">
<label class="form-label" for="password">Пароль</label>
<input id="password" name="password" class="form-control" type="password" placeholder="от 6 до 16 символов" required>
</div>
<div class="d-grid gap-2 col-8 mx-auto">
<button type="button" class="btn btn-light" style="width: 14rem; color: red; padding: 15px;" >
<a class="" href="./page5.html" style="color:red">Зарегестрироваться</a>
</button>
</div>
</div>
</div>
<div class="col">
<div class="col-md-8 offset-md-3">
<img src="/assets/Image5-00b6cf09.png" alt="im1" class="img-thumbnail">
</div>
</div>
</div>
</main>
<footer class="footer mt-auto">
&copy; 2023 UlRent Белянин Никита ПИбд-21 | Все права защищены ;)
</footer>
</body>
</html>

85
Lab2/Lab2/dist/page3.html vendored Normal file
View File

@ -0,0 +1,85 @@
<html lang="ru">
<head>
<meta charset="utf-8">
<title>Моя страница</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<script type="module" crossorigin src="/assets/style-39711fc9.js"></script>
<link rel="stylesheet" href="/assets/style-a334bb9a.css">
</head>
<body>
<header>
<nav class="navbar navbar-expand-md navbar-dark">
<div class="container-fluid">
<a class="navbar-brand" href="/">
<img class="logo" src="/assets/Image1-880aeccf.png" alt="logo">
<a class="Name" href="./index.html">UlRent</a>
</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav"
aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="navbar-collapse collapse justify-content-end" id="navbarNav">
<div class="navbar-nav pe-5">
<a class="nav-link" href="./index.html">Главная</a>
<a class="nav-link" href="./page-help.html">Помощь</a>
</div>
</div>
</div>
</nav>
</header>
<main class="container-fluid p-1 wrapper">
<div class="" style="text-align: center; color: white; font-size: 42px;">
<p>Войти в профиль</p>
</div>
<div class="row">
<div class="col-7">
<div class="row justify-content-center">
<form class="col-md-6 m-0" action="./page3.html" method="get">
<div class="mb-2">
<label class="form-label" for="firstname">Ваш логин</label>
<input id="firstname" name="firstname" class="form-control" type="text" placeholder="Электронная почта" required>
</div>
<div class="mb-2">
<label class="form-label" for="password">Пароль</label>
<input id="password" name="password" class="form-control" type="password" placeholder="от 6 до 16 символов" required>
</div>
<div class="d-grid gap-2 col-8 mx-auto w-100">
<button type="button" class="btn btn-light" style="width: 14rem; color: red; padding: 15px;" >
<a class="flex w-100" href="./page5.html" style="color:red">Войти</a>
</button>
</div>
</div>
</div>
<div class="col">
<div class="col-md-8 offset-md-3">
<img src="/assets/Image12-e0cfb575.png" alt="im1" class="img-thumbnail">
</div>
</div>
</div>
</main>
<footer class="footer mt-auto">
&copy; 2023 UlRent Белянин Никита ПИбд-21 | Все права защищены ;)
</footer>
</body>
</html>

95
Lab2/Lab2/index.html Normal file
View File

@ -0,0 +1,95 @@
<html lang="ru" >
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<script type="module" src="./node_modules/bootstrap/dist/js/bootstrap.min.js"></script>
<script src="https://kit.fontawesome.com/49529c639a.js" crossorigin="anonymous"></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="./style.css">
<title>Мой сайт</title>
</head>
<body class="h-100">
<header>
<nav class="navbar navbar-expand-md navbar-dark">
<div class="container-fluid">
<a class="navbar-brand" href="/">
<img class="logo" src="./assets/Image1.png" alt="logo">
<a class="Name" href="index.html"> UlRent </a>
</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav"
aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="navbar-collapse collapse justify-content-end" id="navbarNav">
<div class="navbar-nav pe-5">
<a class="nav-link" href="bulletinBoard.html" style="color: white">Обзор</a>
<a class="nav-link" href="page-help.html" style="color: white">Помощь</a>
<a class="nav-link" href="aboutus.html" style="color: white">О нас</a>
<a class="nav-link" href="page-contact.html" style="color: white">Контакты</a>
</div>
</div>
</div>
</nav>
</header>
<main class="container-fluid p-4 wrapper flex-shrink-0 p-0">
<div class="container">
<div class="row">
<div class="col-8">
<div class="row">
<div class="col">
<img src="./assets/Image3.png" alt="im1" class="img1">
</div>
<div class="col">
<img src="./assets/Image4.png" alt="im1" class="img1">
<div class="pt-5">
</div>
</div>
<div class="col">
<img src="./assets/Image5.png" alt="im1" class="img1">
</div>
</div>
<div class="flex-column w-100 mx-auto">
<div class="pb-4 pe-4" style="padding-right: 0px;">
<button type="button" class="btn btn-default btn-lg active w-100" style="background-color: white; color: red; padding-bottom: 25px;">
<a href="LogIn.html" style="color:red">Войти в профиль </a>
</button>
</div>
<div class="pb-4 pe-4" style="padding-right: 0px;">
<button type="button" class="btn btn-default btn-lg active w-100" style="background-color: white; color: red; padding-bottom: 25px;">
<a href="SignIn.html" style="color: red"> Регистрация </a>
</button>
</div>
</div>
</div>
<div class="col">
<img src="./assets/Image2.png" alt="im1" class="img22" style="border-radius: 0px 120px;">
</div>
</div>
</div>
</main>
<div class="push"></div>
<footer class="footer mt-auto fixed bottom-0 w-100">
<div class="copywriter p-2">
&copy; 2023 UlRent Белянин Никита ПИбд-21 | Все права защищены ;)
</div>
</footer>
</body>
</html>

3684
Lab2/Lab2/package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

20
Lab2/Lab2/package.json Normal file
View 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"
}
}

View File

@ -0,0 +1,79 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<!-- <script type="module" src="./node_modules/bootstrap/dist/js/bootstrap.min.js"></script> -->
<script src="https://kit.fontawesome.com/49529c639a.js" crossorigin="anonymous"></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"/>
<script
src="https://kit.fontawesome.com/49529c639a.js"
crossorigin="anonymous"
></script>
<link rel="stylesheet" href="style.css" />
<title>Мой сайт</title>
</head>
<body>
<header class="stiky-top">
<nav class="navbar navbar-expand-md navbar-dark">
<div class="container-fluid">
<a class="navbar-brand" href="/">
<img class="logo" src="./assets/Image1.png" alt="logo">
<div class="mx-auto">
<a class="Name" href="index.html"> UlRent </a>
</div>
</a>
<div class=" mx-auto">
<a class="goback" href="index.html"> Вернуться назад </a>
</div>
</div>
</nav>
</header>
<main class="container-fluid p-4 wrapper">
<div class="container">
<div>
<a href="car1.html"><img src="./assets/Image9.jpg" class="card-img-top" width="450px" height="200px" alt="car"></a>
</div>
<div class="textus" style="color: white; font-size: 36px">
<p> <i> Контактные данные </i></p>
</div>
<div class="textus" style="color: white; font-size: 32px">
<p> +7(909)-985-87-54</p>
<p> +7(909)-657-82-94</p>
<p> +7(909)-247-47-11</p>
</div>
<div class="textus" style="color: white; font-size: 36px">
<p> <i> E-mail </i> </p>
</div>
<div class="textus" style="color: white; font-size: 32px">
<p> Ulrent@mail.ru</p>
<p> Ulrent73@yandex.</p>
<p> RussianRent@mail.ru</p>
</div>
</div>
</main>
<div class="push"></div>
<footer class="footer mx-auto fixed bottom-0 w-100">
<div class="copywriter">
&copy; 2023 UlRent Белянин Никита ПИбд-21 | Все права защищены ;)
</div>
</footer>
</div>
</body>
</html>

101
Lab2/Lab2/page-help.html Normal file
View File

@ -0,0 +1,101 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<!-- <script type="module" src="./node_modules/bootstrap/dist/js/bootstrap.min.js"></script> -->
<script src="https://kit.fontawesome.com/49529c639a.js" crossorigin="anonymous"></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"/>
<script
src="https://kit.fontawesome.com/49529c639a.js"
crossorigin="anonymous"
></script>
<link rel="stylesheet" href="style_help.css" />
<title>Мой сайт</title>
</head>
<body>
<div class="adaptive">
<header class="header">
<div class="logo">
<a href="/" class="header_logolink">
<img src="./assets/Image1.png" alt="UlRent" class="header_logo-pic">
</a>
</div>
<div class="mn">
<div class="Mainmenu">
<a href= index.html > UlRent </a>
</div>
</div>
<div class=" mx-auto">
<a class="goback" href="index.html" style="margin-right: 45px;"> Вернуться назад </a>
</div>
</header>
<main class="container-fluid wrapper">
<div class="posts">
<div class="" style="color: white">
<p>Добро пожаловать на наш сайт аренды жилья. На данном сайте вы можете размещать
свои объявления, а также оставлять заявки на бронирование </p>
<div class="row" style="padding-top: 20px;">
<div class="col pb-4">
<img src="./assets/Image5.png" alt="im2">
</div>
<div class="col pb-4">
<img class="im6" src="./assets/Image6.jpg" alt="im2">
</div>
<div class="col pb-4">
<img class="im7" src="./assets/Image7.jpg" alt="im3">
</div>
</div>
<div class="row" style="padding-top: 50px;">
<div class="col pb-4">
<img src="./assets/Image8.png" alt="im2">
</div>
<div class="col pb-4">
<img class="im6" src="./assets/Image9.jpg" alt="im2">
</div>
<div class="col pb-4">
<img class="im7" src="./assets/Image11.jpg" alt="im3">
</div>
</div>
</div>
</div>
</main>
<div class="sidebar">
<div class="sidebal__title">
<p>Хотите узнать больше? Или остались вопросы?</p>
<p>Ответим прямо на вашу почту</p>
</div>
<div class="subscribe">
<input type="text" placeholder="Email" />
<button type="button" style="background-color: aqua;">Отправить</button>
<div class="input-group">
<span class="input-group-text"></span>
<textarea class="form-control" style="height: 40px;" aria-label="With textarea"></textarea>
</div>
</div>
</div>
<footer class="footer">
<div class="copywriter">
&copy; 2023 UlRent Белянин Никита ПИбд-21 | Все права защищены ;)
</div>
</footer>
</div>
</body>
</html>

127
Lab2/Lab2/page4.html Normal file
View File

@ -0,0 +1,127 @@
<html lang="ru">
<head>
<meta charset="utf-8">
<title>Моя страница</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<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="./style.css">
</head>
<body>
<header>
<nav class="navbar navbar-expand-md navbar-dark">
<div class="container-fluid">
<a class="navbar-brand" href="/">
<img class="logo" src="./assets/Image1.png" alt="logo">
<a class="Name" href="./index.html">UlRent</a>
</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav"
aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="navbar-collapse collapse justify-content-end" id="navbarNav">
<div class="navbar-nav pe-5">
<a class="nav-link" style="color: white;" href="./Admin.html">Администратор</a>
<a class="nav-link" style="color: white;" href="./index.html">Главная</a>
<a class="nav-link" style="color: white;" href="./page-help.html">Помощь</a>
</div>
</div>
</div>
</nav>
</header>
<main class="container-fluid p-1 wrapper">
<article>
<div class="w-100 mx-auto">
<div class="row">
<div class="col w-100 mx-auto">
<form action="page3.html" method="get" style="width: 100%;">
<div class="form-item">
<label for="lastname">Как к вам обращаться?</label>
<input id="lastname" name="lastname" class="form-control" type="text" required="">
</div>
<div class="form-item">
<label for="firstname">Название объявления</label>
<input id="firstname" name="firstname" class="form-control" type="text" required="">
</div>
<div class="form-item">
<label for="email">E-mail</label>
<input id="email" name="email" class="form-control" type="email" placeholder="name@example.ru" required="">
</div>
<div class="form-item">
<label for="firstname"> Город </label>
<input id="firstname" name="firstname" class="form-control" type="text" required="">
</div>
<div class="form-item">
<label for="Category"> Район </label>
<select class="form-select" name="selected" required="">
<option value="" selected="">Выберите значение</option>
<option value="1">Ленинский</option>
<option value="2">Железнодорожный</option>
<option value="2">Засвияжьский</option>
<option value="2">Новый город</option>
</select>
</div>
<div class="form-item">
<label for="firstname"> Номер телефона </label>
<input id="firstname" name="firstname" class="form-control" type="text" required="">
</div>
<div class="form-item">
<label for="aboutme">Цена</label>
<input id="aboutme" name="aboutme" class="form-control" placeholder="5000 ₽" type="text" required="">
</div>
<div class="form-item">
<label for="Category"> Категория </label>
<select class="form-select" name="selected" required="">
<option value="" selected="">Выберите значение</option>
<option value="1">Посуточно</option>
<option value="2">На длительный срок</option>
</select>
</div>
</form>
</div>
<div class="col w-100 pt-3 ms-3 mx-auto">
<img src="./assets/Image8.png" alt="im1" class="img-thumbnail">
<label class="form-label pt-3 ms-3" for="image">Изображение</label>
<input id="image" type="file" name="image" accept="image/*">
<div class="p-2 ms-3">
<button type="submit" class="btn btn-light">Сохранить</button>
</div>
<div style="margin-right: 30px;">
<input id="aboutme" class="form-label" name="aboutme" type="text" required="" style="width: 380px; height: 100px;">
</div>
<div class="p-4" style="margin-bottom: 50px;">
<button type="button" class="btn btn-primary btnsend" data-bs-toggle="modal" data-bs-target="#exampleModal" style="margin-left: 40px;">Отправить</button>
</div>
</div>
</div>
</div>
</article>
</main>
<footer class="footer mt-auto">
&copy; 2023 UlRent Белянин Никита ПИбд-21 | Все права защищены ;)
</footer>
</body>
</html>

100
Lab2/Lab2/page7.html Normal file
View File

@ -0,0 +1,100 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Главная</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG1MXxSR1GAsXEV/Dwwykc2MPK8M2HN" crossorigin="anonymous">
<link rel="stylesheet" href="style.css">
</head>
<body>
<header>
<nav class="navbar navbar-expand-md navbar-dark">
<div class="container-fluid">
<a class="navbar-brand" href="/">
<img class="logo" src="./assets/Image1.png" alt="logo">
<a class="Name" href="./index.html">UlRent</a>
</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav"
aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="navbar-collapse collapse justify-content-end" id="navbarNav">
<div class="navbar-nav pe-5">
<a class="nav-link" href="./index.html">Главная</a>
<a class="nav-link" href="./page-help.html">Помощь</a>
</div>
</div>
</div>
</nav>
</header>
<article>
<div class="row mx-auto">
<div class="col pt-4 ps-4 pe-4" style="margin-left: 20px;">
<img src="assets/Image7.jpg" alt="...">
<div class="text-us" style="color: white; font-size: 28px">
<p> Адрес: Улица Ёжиков, д.45, кв-7 </p>
<p> Номер телефона: +7(900)-785-84-56 </p>
</div>
</div>
<div class="col ps-4 pe-4">
<div class="textus mx-auto" style="color: white; font-size: 28px">
<p> Цена: 4500 рублей </p>
<p> Описание </p>
<p> Уютная квартира в центре города с красивым видом на Волгу, современный ремонт, удобная парковка.
Квартира оснащена бытовой техникой: стиралка, телевизор, холодильник, плита. Есть WI-FI роутер
4 спальных места (двуспальная кровать и два раскладывающихся дивана. Расчётный час - 12 часов дня.</p>
</div>
</div>
</div>
<div class="row margo p-4 ps-4 pe-4">
<div id="carouselExample" class="carousel slide">
<div class="carousel-inner">
<div class="carousel-item active">
<img src="assets/Image7.jpg" class="d-block" style="margin-left: auto; margin-right: auto;" alt="...">
</div>
<div class="carousel-item">
<img src="assets/Image11.jpg" class="d-block" style="margin-left: auto; margin-right: auto;" alt="...">
</div>
<div class="carousel-item">
<img src="assets/Image13.jpg" class="d-block" style="margin-left: auto; margin-right: auto;" alt="...">
</div>
</div>
<button class="carousel-control-prev" type="button" data-bs-target="#carouselExample" data-bs-slide="prev">
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
<span class="visually-hidden">Previous</span>
</button>
<button class="carousel-control-next" type="button" data-bs-target="#carouselExample" data-bs-slide="next">
<span class="carousel-control-next-icon" aria-hidden="true"></span>
<span class="visually-hidden">Next</span>
</button>
</div>
</div>
</article>
<footer class="footer mx-auto fixed bottom-0 w-100">
<div class="copywriter">
&copy; 2023 UlRent Белянин Никита ПИбд-21 | Все права защищены ;)
</div>
</footer>
<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.11.8/dist/umd/popper.min.js"
integrity="sha384-I7E8VVD/ismYTF4hNIPjVp/Zjvgyol6VFvRkX/vR+Vc4jQkC+hVqc2pM8ODewa9r" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.min.js"
integrity="sha384-BBtl+eGJRgqQAUMxJ7pMwbEyER4l1g+O15P+16Ep7Q9Q+zqX6gSbd85u4mG4QzX+" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js"
integrity="sha384-C6RzsynM9kWDrMNeT87bh95OGNyZPhcTNXj1NW7RuBCsyN/o0jlpcV8Qyq46cDfL" crossorigin="anonymous"></script>
</body>
</html>

5
Lab2/Lab2/readme.md Normal file
View File

@ -0,0 +1,5 @@
npm install
npm start
npm run prod

226
Lab2/Lab2/style.css Normal file
View File

@ -0,0 +1,226 @@
body{
background-color: #85DADA;
}
header{
}
header nav {
background-color: #85DADA;
}
main{
background-color: #85DADA;
}
header nav a:hover {
text-decoration: underline;
}
footer {
background-color: #636363;
padding-top: 15px;
height: 64px;
color: #ffffff;
}
.wrapper {
min-height: 100%;
/* Равно высоте подвала, */
/* но с учётом margin-bottom у последнего дочернего элемента */
margin-bottom: -64px;
}
.push {
height: 64px;
}
img {
display: block;
height: auto;
max-width: 100%;
}
.logo{
width: 60px;
height: 60px;;
}
.Name{
color: #ffffff;
font-size: 32px;
}
.goback{
color: #ffffff;
font-size: 20px;
}
.nav-link{
font-size: 24px;
}
.header-text1{
font-size: 32px;
}
.header-text2{
font-size: 28px;
}
.form-item{
margin-left: 20px;
}
.img222{
display: none;
}
@media (max-width: 550px) {
.form-item{
margin-right: 20px;
}
form{
display: inline;
}
.imgg1{
display: none;
}
}
@media (max-width: 360px){
.img22{
display: none;
}
}
@media (max-width: 270px){
.img22{
display: table; /*Отмена display: none*/
}
.copywriter{
font-size: 14px;
}
}
@media (min-width: 768px) {
header nav {
height: 64px;
}
/* .btn{
width: 70%;
max-width: 200px;
} */
}
@media (max-width: 420px) {
.header-text1{
font-size: 16px;
}
.header-text2{
font-size: 14px;
}
.bt2{
padding-left: 15px;
}
.coll1{
display: none;
}
/* .btn{
width: 70%;
max-width: 200px;
} */
.header{
margin-left: auto;
margin-right: auto;
font-size: 18px;
}
.btn1{
margin-left: 15px;
margin-right: auto;
}
.btn btn-light{
width: 2rem;
}
.col-8{
width: 200px;
}
/* .row{
display: inline;
} */
}
@media (max-width: 765px){
.card{
margin-left: auto;
margin-right: auto;
}
.header-text1{
font-size: 24px;
}
.header-text2{
font-size: 20px;
}
}
@media (max-width: 600px) {
.header-text1{
font-size: 18px;
}
.header-text2{
font-size: 16px;
}
.img1{
display: none;
}
.img22{
width: 100px;
height:180px;
}
.logo5{
width: 80px;
height: 60px;
}
.card{
margin-left: auto;
margin-right: auto;
}
.img22{
width: 160px;
height: 210px;
}
}

312
Lab2/Lab2/style_help.css Normal file
View File

@ -0,0 +1,312 @@
:root {
--bg_gradient: linear-gradient(to bottom right, #00c6ff, #0072ff);
--bg: #02a4fd;
--primary: #white;
--secondary: #fff9;
--invert_bg: white;
--invert_primary: white;
--invert_secondary: #3335;
--link_hover_color: #2efff8;
--text_color: white;
--radius: 5px;
--button_radius: 2px;
}
* {
margin: 0;
box-sizing: border-box;
}
a {
text-decoration: none;
/* color: var(--primary); */
color: var(--text_color);
}
a:hover {
color: var(--link_hover_color);
}
body {
text-align: center;
font-family: 'Rubik', sans-serif;
padding: 10px;
display: grid;
grid-template-rows: auto 1fr;
min-height: 100vh;
}
.Mainmenu{
font-family: 'Rubik', sans-serif;
color: white;
font-size: 28px;
}
.goback{
font-size: 20px;
}
/* Layout */
.adaptive {
width: 1480px;
height: 100%;
margin: auto;
display: grid;
grid-template-columns: 1fr 350px;
grid-template-rows: 100px 1fr;
grid-auto-rows: 50px;
gap: 10px;
}
.adaptive > * {
padding: 10px;
color: var(--primary);
/* background: var(--bg_gradient); */
background-color: #85DADA;
}
/* Header */
.header {
display: flex;
gap: 15px;
align-items: center;
justify-content: space-between;
font-size: 14px;
grid-column: span 2;
}
.header .logo {
padding: 6px 20px;
text-transform: uppercase;
font-weight: 500;
border-radius: var(--button_radius);
background: var(--primary);
color: var(--bg);
}
.header_logo-pic{
height: 100px;
width: 120px;
/* margin-left: 0px; */
float: left;
padding: 10px 10px 10px 0px;
}
.header .menu {
display: flex;
align-items: center;
gap: 50px;
font-size: 24px;
font-weight: 300;
margin-right: 50px;
}
.header .mobile-menu {
display: none;
font-size: 30px;
}
.im6{
width: 273px;
height: 173px;
}
.im7{
width: 273px;
height: 173px;
}
/* Sidebar */
.sidebal__title {
font-size: 18px;
font-weight: 500;
margin-bottom: 5px;
text-align: left;
}
.subscribe {
display: grid;
grid-template-columns: 1.5fr 1fr;
grid-auto-rows: 40px;
gap: 5px;
}
.subscribe input,
.subscribe button {
padding: 5px;
font-size: 16px;
width: 100%;
border: none;
border-radius: 3px;
}
.subscribe button {
background: var(--primary);
}
/* Post */
.posts {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(400px, auto));
gap: 10px;
}
.post {
display: grid;
background: var(--primary);
color: var(--invert_primary);
border-radius: var(--radius);
overflow: hidden;
padding: 5px 5px 15px;
font-size: 32px;
}
.post__img {
height: 240px;
margin-bottom: 10px;
border-radius: var(--radius);
background: var(--invert_primary) var(--img) center / cover;
}
.post__content {
padding: 0 10px;
text-align: left;
}
.post__title {
font-size: 24px;
font-weight: 500;
margin-bottom: 5px;
color: var(--invert_primary);
}
.post__desc {
font-weight: 300;
}
.help-text{
width: 100%;
grid-column: span 1;
box-sizing: border-box;
}
.footer{
grid-column: span 2;
left: 0;
bottom: 0;
margin: auto;
width: 100%;
height: 70px;
background: #636363;
color: white;
}
@media (max-width: 1440px) {
.adaptive {
width: 1000px;
grid-template-columns: 1fr 300px;
}
.post {
grid-template-columns: 1fr 2fr;
padding-bottom: 5px;
min-height: 150px;
}
.post__img {
height: 100%;
}
.post__title {
font-size: 22px;
}
}
@media (max-width: 1000px) {
.adaptive {
width: 768px;
}
.post {
grid-template-columns: 1fr;
padding-bottom: 15px;
min-height: 150px;
}
.post__img {
height: 20vw;
}
.post__title {
font-size: 22px;
}
}
@media (max-width: 768px) {
.title {
font-size: 4.5vw;
}
.adaptive {
width: 480px;
grid-template-columns: 1fr;
grid-template-rows: 70px 1fr auto;
}
.header {
position: sticky;
top: 0;
z-index: 2;
border-bottom: 1px solid white;
grid-column: 1;
}
.header .menu {
display: none;
}
.header .mobile-menu {
display: block;
}
.posts {
grid-template-columns: repeat(2, 1fr);
}
.post__title {
font-size: 18px;
}
.post__desc {
font-size: 15px;
}
.post__img {
height: 25vw;
}
.header_logo-pic{
height: 80px;
width: 100px;
}
.Mainmenu{
margin-left: auto;
margin-right: auto;
}
.posts {
grid-template-columns: repeat(auto-fit, minmax(200px, auto));
}
.footer{
grid-column: span 1;
}
}
@media (max-width: 800px) {
.menu{
font-size: 18px;
}
.mn{
width: 100px;
}
.Mainmenu{
justify-content: flex-start;
}
}
}
@media (max-width: 480px) {
.adaptive {
width: 100%;
grid-template-rows: 50px 1fr auto;
}
.post__desc {
font-size: 14px;
}
.post__img {
height: 35vw;
}
.logo{
padding: 6px, 10px;
}
.header_logo-pic{
height: 60px;
width: 70px;
}
}

14
Lab2/Lab2/vite.config.js Normal file
View File

@ -0,0 +1,14 @@
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'),
},
},
},
})