180 lines
5.7 KiB
HTML
180 lines
5.7 KiB
HTML
|
<!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="node_modules/bootstrap/dist/css/bootstrap.min.css"
|
|||
|
rel="stylesheet"
|
|||
|
/>
|
|||
|
<script src="node_modules/bootstrap/dist/js/bootstrap.min.js"></script>
|
|||
|
<link rel="stylesheet" href="css/style.css" />
|
|||
|
</head>
|
|||
|
<body>
|
|||
|
<nav class="navbar navbar-expand-lg navbar-dark">
|
|||
|
<div class="container">
|
|||
|
<a class="navbar-brand" href="index.html"
|
|||
|
>Тяжелый люкс <br />сеть салонов красоты</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="collapse navbar-collapse" id="navbarNav">
|
|||
|
<ul class="navbar-nav justify-content-end flex-grow-1 pe-3">
|
|||
|
<li class="nav-item">
|
|||
|
<a class="nav-link" href="about.html">О нас</a>
|
|||
|
</li>
|
|||
|
<li class="nav-item">
|
|||
|
<a class="nav-link" href="reviews.html">Отзывы</a>
|
|||
|
</li>
|
|||
|
<li class="nav-item">
|
|||
|
<a class="nav-link" href="application_form.html"
|
|||
|
>Связаться с нами</a
|
|||
|
>
|
|||
|
</li>
|
|||
|
</ul>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</nav>
|
|||
|
<div class="about text-center my-20 mx-auto">
|
|||
|
<h2>
|
|||
|
НАШИ <br />
|
|||
|
УСЛУГИ
|
|||
|
</h2>
|
|||
|
</div>
|
|||
|
<div class="container my-5">
|
|||
|
<div
|
|||
|
class="row row-cols-1 row-cols-md-2 row-cols-lg-3 g-5"
|
|||
|
id="cards-container"
|
|||
|
></div>
|
|||
|
</div>
|
|||
|
<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"
|
|||
|
style="width: 200px"
|
|||
|
src="https://via.placeholder.com/200"
|
|||
|
class="rounded rounded-circle"
|
|||
|
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="description">Заголовок</label>
|
|||
|
<input
|
|||
|
id="title"
|
|||
|
name="title"
|
|||
|
class="form-control"
|
|||
|
type="text1"
|
|||
|
maxlength="100"
|
|||
|
required
|
|||
|
/>
|
|||
|
</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="description">Описание</label>
|
|||
|
<input
|
|||
|
id="description"
|
|||
|
name="description"
|
|||
|
class="form-control"
|
|||
|
type="text1"
|
|||
|
required
|
|||
|
/>
|
|||
|
</div>
|
|||
|
<div class="mb-2 width_add_object">
|
|||
|
<label for="item" class="form-label">Скидка</label>
|
|||
|
<select
|
|||
|
id="discounts"
|
|||
|
class="form-select"
|
|||
|
name="selected"
|
|||
|
required
|
|||
|
></select>
|
|||
|
</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>
|
|||
|
</body>
|
|||
|
<script type="module">
|
|||
|
import { createCards } from "./js/lines";
|
|||
|
import validation from "./js/validation";
|
|||
|
import { linesForm } from "./js/lines";
|
|||
|
|
|||
|
document.addEventListener("DOMContentLoaded", () => {
|
|||
|
validation();
|
|||
|
// linesForm(false);
|
|||
|
createCards();
|
|||
|
});
|
|||
|
</script>
|
|||
|
</html>
|