Internet_Programmirovanie_E.../Lab3/ukrasheniya.html
2024-01-19 08:18:51 +04:00

164 lines
7.5 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!doctype html>
<html lang="ru">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>INKORIA - Украшения</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="./src/css/styles.css">
</head>
<body class="d-flex flex-column">
<header class="header fixed-top">
<nav class="navbar navbar-expand-lg navbar-dark">
<div class="container-fluid">
<a class="navbar-brand" href="/">
<div id="logo">
<img src="./src/images/logo/logotransp.png" alt="Логотип INKORIA">
</div>
</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" id="navbarNav">
<div class="navbar-nav nav-fill w-100 justify-content-center align-items-center">
<a class="nav-link" href="index.html"><strong>ГЛАВНАЯ</strong></a>
<a class="nav-link" href=uslugi.html><strong>УСЛУГИ</strong></a>
<a class="nav-link active" href=ukrasheniya.html><strong>УКРАШЕНИЯ</strong></a>
<a class="nav-link" href=specialisty.html><strong>СПЕЦИАЛИСТЫ</strong></a>
<a class="nav-link" href=otzyvy.html><strong>ОТЗЫВЫ</strong></a>
<a class="nav-link" href=faq.html><strong>FAQ</strong></a>
<div class="row" id="social-icons">
<div class="col d-none d-xl-block">
<a href="https://www.wa.me/79969536827"><img src="./src/images/icons/whatsapp.png"></a>
</div>
<div class="col d-none d-xl-block">
<a href="https://www.instagram.com/vrode__anya"><img src="./src/images/icons/inst.png"></a>
</div>
<div class="col d-none d-xl-block">
<a href="https://www.vk.com/vrode_anya"><img src="./src/images/icons/vk.png"></a>
</div>
<div class="col d-none d-xl-block">
<a href="https://www.t.me/vrode_anyya"><img src="./src/images/icons/tg.png"></a>
</div>
</div>
</div>
</div>
</div>
</nav>
</header>
<main>
<header class="header">
<nav class="navbar navbar-expand-md navbar-dark">
<div class="container-fluid">
<a class="navbar-brand">
<div id="logo">
<img src="./src/images/logo/logotransp.png" alt="Логотип INKORIA">
</div>
</a>
</div>
</nav>
</header>
<h1 class="text-center display-3 m-3 text-black fw-bold lh-lg">Украшения</h1>
<div class="container mb-3">
<div>
<table id="items-table" class="table table-striped">
<thead>
<th scope="col"></th>
<th scope="col" class="w-25">Товар</th>
<th scope="col" class="w-25">Цена</th>
<th scope="col" class="w-25">Количество</th>
<th scope="col" class="w-25">Сумма</th>
<th scope="col"></th>
<th scope="col"></th>
</thead>
<tbody></tbody>
</table>
<div class="d-flex justify-content-end">
<button id="items-add" class="col-4 text-white bg-black corner rounded-4">Добавить товар</button>
</div>
</div>
</div>
<footer class="container-fluid bg-black text-secondary pt-4 mt-auto" id="footer">
<div class="row lh-1">
<div class="col-12 col-sm-12 col-md-6 col-lg-6 col-xl-6 d-flex justify-content-start">
<ul class="list-unstyled">
<p>
© ООО "INKORIA" 2023
</p>
<p>
<a href="autorization.html" class="underlined text-secondary">Авторизация</a>
</p>
</ul>
</div>
<div class="col-12 col-sm-12 col-md-6 col-lg-6 col-xl-6 d-flex justify-content-start">
<ul class="list-unstyled">
<p>
Контактная информация:
</p>
<p>
т. + 7 (996) 953-68-27, e-mail: inkoria@mail.ru
</p>
</ul>
</div>
</div>
</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">
<div class="text-center">
<img id="image-preview" src="https://via.placeholder.com/200" class="square rounded-4 d-block w-100 object-fit-cover"
alt="placeholder">
</div>
<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 class="mb-2">
<label class="form-label" for="image">Изображение</label>
<input id="image" type="file" name="image" class="form-control" accept="image/*">
</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 validation from "./src/js/validation";
import linesForm from "./src/js/lines";
document.addEventListener('DOMContentLoaded', () => {
validation();
linesForm();
});
</script>
</body>
</html>