lab2
This commit is contained in:
parent
c4d5e6dc32
commit
027b37ba72
63
Library/index.html
Normal file
63
Library/index.html
Normal file
@ -0,0 +1,63 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="ru" class="h-100">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Библиотека</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||
<script defer src="./node_modules/bootstrap/dist/js/bootstrap.bundle.js"></script>
|
||||
<link rel="stylesheet" href="./node_modules/bootstrap/dist/css/bootstrap.min.css">
|
||||
<link rel="stylesheet" href="./css/style.css">
|
||||
</head>
|
||||
<body class="d-flex flex-column h-100">
|
||||
<header>
|
||||
<nav class="navbar navbar-expand-md navbar-light">
|
||||
<div class="container-fluid">
|
||||
<a href="./index.html" class="navbar-brand fs-4">
|
||||
<img src="./img/logo.svg" alt="logo" width="50px">
|
||||
Библиотека
|
||||
</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">
|
||||
<span class="navbar-toggler-icon"></span>
|
||||
</button>
|
||||
<div class="collapse navbar-collapse justify-content-end fs-4" id="navbarSupportedContent">
|
||||
<ul class="navbar-nav ml-auto">
|
||||
<li>
|
||||
<a href="./index.html" class="nav-link active">Главная</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a href="./login-page.html" class="nav-link">Войти</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a href="./user-page.html" class="nav-link">Личный кабинет</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a href="./search.html" class="nav-link">Поиск</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</header>
|
||||
<main class="flex-shrink-0">
|
||||
<div class="p-4 mx-auto mt-5 mb-5 w-75">
|
||||
<h1 class="text-md-start text-center">Наша библиотека приветствует вас!</h1>
|
||||
<div class="fs-4 mt-2 orange-text text-md-start text-center">
|
||||
Здесь вы обязательно найдете нужные вам книги.
|
||||
Для этого перейдите на страницу Поиск.
|
||||
Вы можете сохранить в Избранные понравившиеся книги.
|
||||
Вы найдете их в вашем Личном кабинете.
|
||||
Там же вы можете посмотреть вашу Историю чтения.
|
||||
</div>
|
||||
<div class="d-grid gap-2 mt-2 d-md-flex justify-content-md-start">
|
||||
<a href="./user-page.html" class="library-button btn fs-4">Личный кабинет</a>
|
||||
<a href="./search.html" class="library-button btn fs-4">Поиск</a>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
<footer class="footer mt-auto d-flex justify-content-center align-items-center white-text">
|
||||
2023, Захаров Р.А.
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
17
Library/package.json
Normal file
17
Library/package.json
Normal file
@ -0,0 +1,17 @@
|
||||
{
|
||||
"name": "int-prog",
|
||||
"version": "1 .0.0",
|
||||
"main": "index.html",
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
"build": "vite build",
|
||||
"preview": "vite preview"
|
||||
},
|
||||
"dependencies": {
|
||||
"bootstrap": "5.2.1",
|
||||
"@fortawesome/fontawesome-free": "6.2.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"vite": "^4.4.5"
|
||||
}
|
||||
}
|
92
Library/search.html
Normal file
92
Library/search.html
Normal file
@ -0,0 +1,92 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="ru" class="h-100">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Поиск</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||
<script defer src="./node_modules/bootstrap/dist/js/bootstrap.bundle.js"></script>
|
||||
<link rel="stylesheet" href="./node_modules/bootstrap/dist/css/bootstrap.min.css">
|
||||
<link rel="stylesheet" href="./css/style.css">
|
||||
</head>
|
||||
<body class="d-flex flex-column h-100">
|
||||
<header>
|
||||
<nav class="navbar navbar-expand-md navbar-light">
|
||||
<div class="container-fluid">
|
||||
<a href="./index.html" class="navbar-brand fs-4">
|
||||
<img src="./img/logo.svg" alt="logo" width="50px">
|
||||
Библиотека
|
||||
</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">
|
||||
<span class="navbar-toggler-icon"></span>
|
||||
</button>
|
||||
<div class="collapse navbar-collapse justify-content-end fs-4" id="navbarSupportedContent">
|
||||
<ul class="navbar-nav ml-auto">
|
||||
<li>
|
||||
<a href="./index.html" class="nav-link">Главная</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a href="./login-page.html" class="nav-link">Войти</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a href="./user-page.html" class="nav-link">Личный кабинет</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a href="./search.html" class="nav-link active">Поиск</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</header>
|
||||
<main class="flex-shrink-0">
|
||||
<div class="p-4 mx-auto mt-5 mb-5 w-75">
|
||||
<h1 class="text-md-start text-center">Поиск книги</h1>
|
||||
<div class="d-grid col-md-8 fs-4">
|
||||
<div>
|
||||
<label for="titleField" class="col-form-label orange-text">Название:</label>
|
||||
<input type="text" class="form-control border-secondary-subtle rounded-8" id="titleField">
|
||||
</div>
|
||||
<div>
|
||||
<label for="authorField" class="col-form-label orange-text">Автор:</label>
|
||||
<input type="text" class="form-control border-secondary-subtle rounded-8" id="authorField">
|
||||
</div>
|
||||
<div class="dropdown">
|
||||
<label for="dropdownMenuButton" class="col-form-label orange-text">Категории:</label>
|
||||
<button class="btn border-secondary-subtle orange-text text-start fs-4 dropdown-toggle container-fluid" type="button" id="dropdownMenuButton"
|
||||
data-bs-toggle="dropdown" aria-expanded="false">
|
||||
Выберете категории
|
||||
</button>
|
||||
<ul class="dropdown-menu" aria-labelledby="dropdownMenuButton1">
|
||||
<li><div class="dropdown-item">
|
||||
<div class="form-check">
|
||||
<label class="form-check-label" for="flexCheck1">Оды</label>
|
||||
<input class="form-check-input" type="checkbox" value="" id="flexCheck1">
|
||||
</div>
|
||||
</div></li>
|
||||
<li><div class="dropdown-item">
|
||||
<div class="form-check">
|
||||
<label class="form-check-label" for="flexCheck2">Послания</label>
|
||||
<input class="form-check-input" type="checkbox" value="" id="flexCheck2">
|
||||
</div>
|
||||
</div></li>
|
||||
<li><div class="dropdown-item">
|
||||
<div class="form-check">
|
||||
<label class="form-check-label" for="flexCheck3">Элегии</label>
|
||||
<input class="form-check-input" type="checkbox" value="" id="flexCheck3">
|
||||
</div>
|
||||
</div></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="d-grid gap-2 mt-4 d-md-flex justify-content-md-start">
|
||||
<a href="./search-results.html" class="library-button btn fs-4">Продолжить</a>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
<footer class="footer mt-auto d-flex justify-content-center align-items-center white-text">
|
||||
2023, Захаров Р.А.
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in New Issue
Block a user