85 lines
2.9 KiB
HTML
85 lines
2.9 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<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>
|
|
<header>
|
|
<nav class="navbar navbar-expand-md navbar-dark">
|
|
<div class="container-fluid">
|
|
|
|
<a class="navbar-brand" href="/">
|
|
<i class="fa-solid fa-camera"></i>
|
|
Тарелька
|
|
</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" >
|
|
<div class="row" style="flex-wrap: nowrap; margin: 5px 20px 5px 0px">
|
|
<input class="form-control me-1 nav-link" type="search" style="width: 90%" placeholder="Search" aria-label="Search">
|
|
<button class="back" type="submit" onclick="document.location='/search.html'">
|
|
<i class="fa-solid fa-search"> </i>
|
|
</button>
|
|
</div>
|
|
<div class="row" style="flex-wrap: nowrap; margin: 5px 20px 5px 0px">
|
|
<button class="login nav-link me-1" style="width: 90%" onclick="document.location='/login.html'">Войти/Зарегистрироватся</button>
|
|
<button class="user nav-link" type="submit" onclick="document.location='/chanel.html'">
|
|
<i class="fa-solid fa-user"> </i>
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
</nav>
|
|
</header>
|
|
<div style="width: 100%; height: 20%">
|
|
<img src="video/fon.jpg" style="width: 100%; height: 100%">
|
|
</div>
|
|
<div class="chanel rows" style="--bs-gutter-x: 0;">
|
|
<div class="chanel-user">
|
|
<i class="fa-solid fa-user" style="margin: 35% 0 0 35%"> </i>
|
|
</div>
|
|
<div class="chanel-text column">
|
|
<div>НАЗВАНИЕ КАНАЛА</div>
|
|
</div>
|
|
<button class="chanel-subscribe" onclick="document.location='videored.html'">
|
|
Редактировать
|
|
</button>
|
|
</div>
|
|
<div>
|
|
<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"></th>
|
|
<th scope="col"></th>
|
|
</thead>
|
|
<tbody></tbody>
|
|
</table>
|
|
</div>
|
|
<script type="module">
|
|
import validation from "./js/validation";
|
|
import { linesForm } from "./js/lines";
|
|
|
|
document.addEventListener('DOMContentLoaded', () => {
|
|
validation();
|
|
linesForm();
|
|
});
|
|
</script>
|
|
</body>
|
|
</html>
|