Afanasev_Stepan_PIbd-21_IP/ИП 3 лаба/page-edit.html

125 lines
5.9 KiB
HTML
Raw Normal View History

2024-01-10 16:11:49 +04:00
<!DOCTYPE html>
<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="css/style.css">
</head>
<body class="h-100 d-flex flex-column">
<header>
<nav class="navbar navbar-expand-lg sticky-top">
<div class="container">
<a href="#" class="navbar-brand"><img src="img/Logo-St5 1.png"></a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarResponsive">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarResponsive" >
<ul class="navbar-nav me-auto menu1">
<li class="nav-item">
<a href="index.html" class="nav-link px-4 mx-3">Главная</a>
</li>
<li class="nav-item">
<a href="process.html" class="nav-link px-4 mx-3">Учебный процесс</a>
</li>
<li class="nav-item">
<a href="feedback.html" class="nav-link px-4 mx-3">Отзывы</a>
</li>
<li class="nav-item">
<a href="profil.html" class="nav-link px-4 mx-3">Профиль</a>
</li>
<li class="nav-item">
<a href="admin.html" class="nav-link px-4 mx-3">Админ</a>
</li>
</ul>
</div>
<div class="collapse navbar-collapse navv" id="navbarResponsive">
<ul class="navbar-nav">
<li class="nav-item">
<a href="registr.html" class="nav-link px-3 mx-2">Вход</a>
</li>
</ul>
</div>
</div>
</nav>
</header>
<main class="container p-2" style="margin-bottom: 50px;">
<div class="text-center">
<img id="image-preview" src="https://via.placeholder.com/200" class="rounded rounded-circle"
alt="placeholder">
</div>
<form id="items-form" class="needs-validation" novalidate>
<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="2500000.00"
step="50000.0" required>
</div>
<div class="mb-2">
<label class="form-label" for="nick">Название</label>
<input id="nick" name="nick" class="form-control" type="text" value="Введите текст" required>
</div>
<div class="mb-2">
<label class="form-label" for="duration">Продолжительность</label>
<input id="duration" name="duration" class="form-control" type="text" value="Введите текст" 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>
<a href="admin.html" class="btn btn-secondary">Назад</a>
<button type="submit" class="btn btn-primary">Сохранить</button>
</form>
</main>
<footer class="text-center text_">
<section class="">
<div class="container text-center text-md-start mt-5 pt-3">
<div class="row">
<div class="col-md-3 col-lg-4 mx-auto mb-4">
<h6 class=" fw-bold mb-4 text_1"> Присоединяйся к нам в соцсетях! </h6>
<div class="social-icons">
<a href="#" class="text-center text-reset me-3"><img class="ic" src="img/vk-social-network-logo 1.png" alt="vk"></a>
<a href="#" class="text-center text-reset me-3"><img class="ic" src="img/youtube 1.png" alt="tg"></a>
<a href="#" class="text-center text-reset me-3"><img class="ic" src="img/telegram 1.png" alt="Inst"></a>
<a href="#" class="text-center text-reset"><img class="ic" src="img/whatsapp 1.png" alt="Inst"></a>
</div>
</div>
<div class="col-md-3 col-lg-3 col-xl-2 mx-auto mb-4">
<h6 class="fw-bold mb-4 text_1">Контакты</h6>
<div class="social-icons2">
<div class="emaill">
<a href="#" class="text-reset me-3"><img src="img/email 1.png" alt="vk"></a>
<h2 class="text1_emaill_ mt-1">stepan2004stepan@yandex.ru</h2>
</div>
<div class="callme">
<a href="#" class="text-reset me-3"><img src="img/phone-call 1.png" alt="tg"></a>
<h2 class="text1_callme_ mt-2">8 917 052 79 27</h2>
</div>
</div>
</div>
</div>
</div>
</section>
</footer>
<script type="module">
import validation from "./js/validation";
import { linesPageForm } from "./js/lines"
document.addEventListener('DOMContentLoaded', () => {
validation();
linesPageForm();
});
</script>
</body>
</html>