87 lines
3.7 KiB
HTML
87 lines
3.7 KiB
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="./style.css">
|
|||
|
</head>
|
|||
|
|
|||
|
<body class="h-100 d-flex flex-column">
|
|||
|
<header>
|
|||
|
<nav class = "navbar navbar-expand-lg navbar-dark bg-dark">
|
|||
|
<div class="container-fluid">
|
|||
|
<a href="Admin.html" class="nav-item"><img class="logo w-50 h-50" src="images/logo.png"></a>
|
|||
|
<a href="index.html" class="navbar-brand">Fastest Food</a>
|
|||
|
<button class = "navbar-toggler" type = "button" data-bs-toggle = "collapse" data-bs-target = "#navbarContent"
|
|||
|
aria-controls="navbarContent" aria-expanded="false">
|
|||
|
<span class="navbar-toggler-icon"></span>
|
|||
|
</button>
|
|||
|
<div class="collapse navbar-collapse" id="navbarContent">
|
|||
|
<ul class="navbar-nav me-auto mb-auto">
|
|||
|
<li class="nav-item">
|
|||
|
<a href="login.html" class="nav-link">Войти/Регистрация</a>
|
|||
|
</li>
|
|||
|
<li class="nav-item">
|
|||
|
<a href="about-us.html" class="nav-link">О нас</a>
|
|||
|
</li>
|
|||
|
<li class="nav-item">
|
|||
|
<a href="menu.html" class="nav-link">Меню</a>
|
|||
|
</li>
|
|||
|
<li class="nav-item">
|
|||
|
<a href="contacts.html" class="nav-link">Наши контакты</a>
|
|||
|
</li>
|
|||
|
</ul>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</nav>
|
|||
|
</header>
|
|||
|
<main class="container-fluid p-2 min-vh-100">
|
|||
|
<div class="d-flex flex-column align-items-center">
|
|||
|
<h1 class="my-3">
|
|||
|
Панель управления
|
|||
|
</h1>
|
|||
|
<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" class="w-25">Количество</th>
|
|||
|
<th scope="col" class="w-25">Сумма</th>
|
|||
|
<th scope="col"></th>
|
|||
|
<th scope="col"></th>
|
|||
|
</thead>
|
|||
|
<tbody></tbody>
|
|||
|
</table>
|
|||
|
<a class="btn btn-success" href="/page-edit.html">Добавить товар</a>
|
|||
|
</div>
|
|||
|
</main>
|
|||
|
<footer>
|
|||
|
<div class="container">
|
|||
|
<div class="row">
|
|||
|
<div class="col d-flex align-items-center">
|
|||
|
<h2>Fastest Food</h2>
|
|||
|
</div>
|
|||
|
<div class="col">
|
|||
|
<p class="time">Время работы:<br>ПН-ПТ:10-19<br>СБ-ВС:12-17</p>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</footer>
|
|||
|
<script type="module">
|
|||
|
import validation from "./js/validation";
|
|||
|
import { linesPageForm } from "./js/lines";
|
|||
|
|
|||
|
document.addEventListener('DOMContentLoaded', () => {
|
|||
|
validation();
|
|||
|
linesPageForm();
|
|||
|
});
|
|||
|
</script>
|
|||
|
</body>
|
|||
|
|
|||
|
</html>
|