InternetProgramming/Lab3/index.html

71 lines
2.7 KiB
HTML
Raw Permalink Normal View History

2023-11-30 19:13:57 +04:00
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Steam</title>
<script type="module" src="./node_modules/bootstrap/dist/js/bootstrap.js"></script>
<link rel="stylesheet" href="./node_modules/bootstrap/dist/css/bootstrap.css" />
<link rel="stylesheet" href="style.css">
</head>
<body>
<header>
<nav class="navbar navbar-expand-md navbar-dark">
<div class="container-fluid">
<a class="nav-link active main_link" href="./index.html"> Главная </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 justify-content-end" id="navbarNav">
<div class="navbar-nav">
<a class="nav-link" href="./basket.html">Корзина</a>
<a class="nav-link" href="./library.html">Библиотека</a>
<a class="nav-link" href="./entry.html">Вход</a>
</div>
</div>
</div>
</nav>
</header>
<main class="container-fluid p-2">
<div class="input-group">
<input type="text" class="form-control" placeholder="Название игры" aria-label="Recipient's username" aria-describedby="button_search">
<button class="btn btn_searching" type="button" id="button_search">Поиск</button>
</div>
<div class="d-flex flex-row-reverse">
<div class="pt-2">
<button class="btn_adding_game" onclick="window.location.href = './admin.html';">+</button> <!-- -->
</div>
</div>
<table id = "games-table" class="table table-borderless table_of_main_page"> <!-- id = "games-table" -->
<tbody>
</tbody>
</table>
</main>
<footer class="footer mt-auto d-flex flex-shrink-0 justify-content-center align-items-center">
Сайт Чернышева Георгия, ПИбд-22
</footer>
<script type="module">
import { drawLinesTable } from "./js/lines";
document.addEventListener('DOMContentLoaded', () => {
drawLinesTable();
});
</script>
</body>
</html>