<!doctype html>
<html lang="ru">
<head>
  <meta charset="utf-8">
  <title>OKPO</title>
  <meta name="viewport" content="width=device-width, initial-scale=1">

  <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">
  <script type="module" src="./node_modules/bootstrap/dist/js/bootstrap.min.js"></script>
  <script src="./node_modules/@popperjs/core/dist/umd/popper.min.js" ></script>
</head>
<body class="h-100 d-flex flex-column" style="background-color: #03001F">

<header>
  <nav class="navbar navbar-expand-md navbar-dark admin fixed-top">
    <div class="container-fluid">
      <a class="navbar-brand" href="/">
        <img class="MainTitle" src="img/Title.png" alt="название">
      </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">
          <button class="btn btn-outline-info" type="submit"><a class="nav-link" aria-current="page" href="Join.html" style="text-decoration: none">Вход</a></button>
          <button class="btn btn-outline-info" type="button"><a class="nav-link" aria-current="page" href="Register.html" style="text-decoration: none">Регистрация</a></button>
          <button class="btn btn-outline-info" type="button"><a class="nav-link" aria-current="page" href="LK.html" style="text-decoration: none">Личный кабинет</a></button>
        </div>
      </div>
    </div>
  </nav>
</header>
<main class="container-fluid p-2">
  <div class="button_input">
    <button class="btn btn-outline-warning AdminPanel" type="button"><a class="nav-link" aria-current="page" href="Input.html" style="text-decoration: none">Добавить фильм</a></button>
  </div>
  <div>
    <table id="items-table" class="table table-striped" style="--bs-table-bg: #03001F; --bs-table-border-color: #03001F; --bs-table-color: white; --bs-table-striped-color: white; border-color: white">
      <thead>
        <th scope="col" class="colums">№</th>
        <th scope="col" class="w-25 colums">Жанр</th>
        <th scope="col" class="w-25 colums">Название</th>
        <th scope="col" class="w-25 colums">Актерский состав</th>
        <th scope="col" class="w-25 colums">Описание</th>
        <th scope="col"></th>
        <th scope="col"></th>
      </thead>
      <tbody></tbody>
    </table>
  </div>
</main>
<script type="module">
  import validation from "./js/validation";
  import { linesForm } from "./js/lines";

  document.addEventListener('DOMContentLoaded', () => {
    validation();
    linesForm();
  });
</script>
</body>
</html>