Internet_prog/2 лаба/page99.html

136 lines
5.7 KiB
HTML
Raw Permalink Normal View History

2023-10-24 12:26:58 +04:00
<html lang="ru">
<head>
<meta charset="utf-8">
<title>Моя страница</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<script 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 class="h-100 d-flex flex-column bg-light" >
<header>
<nav class="navbar navbar-expand-md navbar-dark">
<div class="container-fluid">
<a class="navbar-brand" href="/" style="color: black;">
<i class="fa-solid fa-crown" style="color: black;"> </i>
Отель Luxury
</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">
<a class="nav-link active" href="./index.html" style="color: black;">Главная</a>
<a class="nav-link active" href="./page5.html" style="color: black;">Размещение</a>
<a class="nav-link" href="./page2.html" style="color: black;">Инфраструктура</a>
<a class="nav-link" href="./page3.html" style="color: black;">Отзывы</a>
<a class="nav-link" href="./page4.html" style="color: black;">Забронировать</a>
<a class="nav-link" href="./page7.html" style="color: black;">Вход</a>
<a class="nav-link" href="./page6.html" style="color: black;">+</a>
</div>
</div>
</div>
</nav>
</header>
<main class="container-fluid p-2">
<div class="container" id="catalog">
<div class="row align-items-start" >
<div class="col d-flex justify-content-center" >
<h4><i style="">Стандарт, 2100р</i></h4>
</div>
</div>
<div class="row align-items-start" >
<div class="col d-flex justify-content-center" >
<img src="./ст.jpg" style=" width: 80%;height: auto; " alt="logo" >
</div>
</div>
<div class="row align-items-start" >
<div class="col d-flex justify-content-center" >
<!-- <h4><i style=""> Стандт5+, 5100р</i></h4> -->
</div>
</div>
<div class="row align-items-center">
<div class="col d-flex justify-content-center" style="">
<!--
<img src="./гранд.jpg" style=" width: 80%;height: auto; " alt="logo" > -->
</div>
<div class="col">
</div>
<div class="col">
</div>
<div class="row align-items-end">
<div class="col " style="padding-top: 50px;">
</div>
</div>
</main>
<footer class="footer mt-auto d-flex flex-shrink-0 justify-content-center align-items-center">
г.Ульяновск
</footer>
<div id="items-update" class="modal fade" tabindex="-1" data-bs-backdrop="static" data-bs-keyboard="false">
<div class="modal-dialog">
<form id="items-form" class="needs-validation" novalidate>
<div class="modal-content">
<div class="modal-header">
<h1 class="modal-title fs-5" id="items-update-title"></h1>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body">
<input id="items-line-id" type="number" hidden>
<div class="mb-2">
<label for="item" class="form-label">Товары</label>
<select id="item" class="form-select" name="selected" required>
</select>
</div>
<div class="mb-2">
<label class="form-label" for="price">Цена</label>
<input id="price" name="price" class="form-control" type="number" value="0.00" min="1000.00"
step="0.50" required>
</div>
<div class="mb-2">
<label class="form-label" for="count">Количество</label>
<input id="count" name="count" class="form-control" type="number" value="0" min="1" step="1"
required>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Закрыть</button>
<button type="submit" class="btn btn-primary">Сохранить</button>
</div>
</div>
</form>
</div>
</div>
<script type="module">
import { catalogForm } from "./js/catalog.js";
document.addEventListener('DOMContentLoaded', () => {
catalogForm();
});
</script>
</body>
</html>