Internet-programming-Pibd-2.../admin.html

95 lines
3.7 KiB
HTML
Raw Normal View History

2023-12-07 22:24:21 +04:00
<!DOCTYPE html>
<html lang="ru" class="h-100">
<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.bundle.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 >
<div class="header">
<nav class="navbar navbar-expand-md navbar-dark">
<div class="container-fluid">
<a class="navbar-brand" href="/">
<div class="header-logo">
<img src="icon.png" alt="Logo">
<h2>Фильмы онлайн</h2>
</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 justify-content-end" id="navbarNav">
<div class="navbar-nav">
<a class="nav-link" href="index.html">Главная страница</a>
<a href="page2.html" class="nav-link">Каталог</a>
<a href="page3.html" class="nav-link">Категории</a>
<a href="page4.html" class="nav-link">Информация</a>
<a href="page5.html" class="nav-link">Популярное</a>
</div>
</div>
</div>
</div>
</nav>
</div>
<main class="container-fluid p-2">
2023-12-19 14:12:39 +04:00
<h1 class="text-Gray text-center font-weight-bold">Панель администратора</h1>
2023-12-07 22:24:21 +04:00
<div class="text-center">
<div class="btn-group" role="group">
2023-12-19 14:12:39 +04:00
<a class="btn btn-default" href="/editpage.html">Добавить фильм</a>
2023-12-07 22:24:21 +04:00
</div>
</div>
<div>
2023-12-19 14:12:39 +04:00
<h2 class="text-Gray text-center font-weight-bold" style="padding-top: 10px;">Таблица данных</h2>
2023-12-07 22:24:21 +04:00
<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-10">Рейтинг</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>
</main>
<footer class="footer mt-auto d-flex justify-content-center align-items-center">
<div class="container-fluid">
<p>© 2023 Просмотр фильмов.</p>
<a href="admin.html" class="nav-link">Admin</a>
</div>
</footer>
<script type="module">
import validation from "./js/validation";
import { linesForm } from "./js/lines";
document.addEventListener('DOMContentLoaded', () => {
validation();
linesForm();
});
</script>
<script src="script.js"></script>
<script src="film.js"></script>
</body>
</html>