156 lines
7.7 KiB
HTML
Raw Normal View History

2023-12-03 18:52:09 +03:00
<html lang="ru">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="https://fonts.cdnfonts.com/css/correction-tape" rel="stylesheet">
<title>Admin</title>
<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">
<script>
function toggleMenu() {
var menuWrapper = document.getElementById("menu-wrapper");
menuWrapper.classList.toggle("open");
}
</script>
</head>
<body class="h-100 d-flex flex-column">
<div id="menu-wrapper">
<div id="menu">
<ul>
<li><a href="/">Главная</a></li>
<li><a href="./page2(cinema).html">Кино</a></li>
<li><a href="./page2(concerts).html">Концерты</a></li>
<li><a href="./page2(theatre).html">Театр</a></li>
<li><a href="./about.html">О сайте</a></li>
</ul>
</div>
</div>
<header>
<nav class="navbar navbar-expand-md navbar-dark">
<div class="container-fluid">
<a id="toggle-menu" onclick="toggleMenu()">
<h1>TicketsBook</h1>
</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="./signingIn.html">вход/регистрация</a>
<a class="nav-link" href="./lkAdmin.html">админ</a>
</div>
</div>
</div>
</nav>
</header>
<main class="container-fluid p-2">
<div class="container">
<div class="row">
<div class="col-md-8">
<div class="info">
<h1>Таблица событий</h1>
<div class="info-text container" style="max-height: 25vh; overflow-y: auto;">
<table class="table" style="color: aliceblue;">
<thead>
<tr>
<th>Дата покупки</th>
<th>Название</th>
<th>Дата проведения</th>
<th>Стоимость</th>
<th>Место проведения</th>
<th></th>
</tr>
</thead>
<tbody>
<tr>
<td>Ячейка 1</td>
<td>Ячейка 2</td>
<td>Ячейка 3</td>
<td>Ячейка 4</td>
<td>Ячейка 5</td>
<td><button class="btn btn-primary" onclick="">отменить</button></td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="info">
<h1>Таблица пользователей</h1>
<div class="info-text container" style="max-height: 25vh; overflow-y: auto;">
<table class="table" style="color: aliceblue;">
<thead>
<tr>
<th>Дата покупки</th>
<th>Название</th>
<th>Дата проведения</th>
<th>Стоимость</th>
<th>Место проведения</th>
<th></th>
</tr>
</thead>
<tbody>
<tr>
<td>Ячейка 1</td>
<td>Ячейка 2</td>
<td>Ячейка 3</td>
<td>Ячейка 4</td>
<td>Ячейка 5</td>
<td><button class="btn btn-primary" onclick="">отменить</button></td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div class="col-md-4">
<div class="info" style="max-height: 90vh; overflow-y: auto;">
<h1>Добавить событие</h1>
<form>
<div class="mb-1">
<label for="name" class="form-label">Название</label>
<input type="text" class="form-control" id="name" placeholder="Введите название">
</div>
<div class="mb-1">
<label for="type" class="form-label">Тип</label>
<select class="form-control" id="type" name="type" placeholder="Выберите тип">
<option value="option1">Концерт</option>
<option value="option2">Кино</option>
<option value="option3">Театр</option>
</select>
</div>
<div class="mb-1">
<label for="date" class="form-label">Дата</label>
<input type="date" class="form-control" id="date">
</div>
<div class="mb-1">
<label for="price" class="form-label">Стоимость</label>
<input id="price" name="price" class="form-control" type="number" value="0.00" min="1000.00"
step="0.50" required placeholder="Введите стоимость">
</div>
<div class="mb-1">
<label for="description" class="form-label">Описание</label>
<textarea class="form-control" id="description" rows="3" placeholder="Введите описание"></textarea>
</div>
<div class="mb-1">
<label for="photo" class="form-label">Фото</label>
<input type="file" class="form-control" id="photo">
</div>
<button type="submit" class="btn btn-primary">Добавить</button>
</form>
</div>
</div>
</div>
</div>
</main>
<footer class="footer mt-auto d-flex flex-shrink-0 justify-content-center align-items-center">
Иевлева Милана, 2023
</footer>
</body>
</html>