100 lines
4.7 KiB
HTML
100 lines
4.7 KiB
HTML
|
<!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 type="module" crossorigin src="/assets/admin_page-df9b9b2d.js"></script>
|
||
|
<link rel="modulepreload" crossorigin href="/assets/style-afc16ede.js">
|
||
|
<link rel="modulepreload" crossorigin href="/assets/lines-b7354fa1.js">
|
||
|
<link rel="stylesheet" href="/assets/style-675f72be.css">
|
||
|
</head>
|
||
|
<body class="d-flex flex-column h-100">
|
||
|
<header>
|
||
|
<nav class="navbar navbar-expand-md">
|
||
|
<div class="container-fluid">
|
||
|
<a class="navbar-brand" href="/">
|
||
|
<img src="/assets/icon-8b2b7123.jpg" alt="logo" width="40">
|
||
|
</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-start" id="navbarNav">
|
||
|
<div class="navbar-nav">
|
||
|
<a class="nav-link" href="home.html">Главная</a>
|
||
|
<a class="nav-link" href="messages.html">Сообщения</a>
|
||
|
<a class="nav-link" href="settings.html">Настройки</a>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</nav>
|
||
|
</header>
|
||
|
<main class="container-fluid p-2">
|
||
|
<h1 class=" text-center font-weight-bold">Панель администратора</h1>
|
||
|
<div class="btn-group" role="group">
|
||
|
<button id="items-add" class="btn btn-info">Добавить аккаунт (диалог)</button>
|
||
|
<a class="btn btn-dark" href="page-edit.html">Добавить аккаунт(страница)</a>
|
||
|
</div>
|
||
|
<div>
|
||
|
<h2 class=" text-center font-weight-bold" style="padding-top: 10px;">Таблица данных</h2>
|
||
|
<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>
|
||
|
</thead>
|
||
|
<tbody></tbody>
|
||
|
</table>
|
||
|
</div>
|
||
|
</main>
|
||
|
|
||
|
<div id="items-update" class="modal fade" tabindex="-1" data-bs-backdrop="static" data-bs-keyboard="false">
|
||
|
<div class="modal-dialog">
|
||
|
<form id="items-form" class="needs-validation" novalidate>
|
||
|
<div class="modal-content">
|
||
|
<div class="modal-header">
|
||
|
<h1 class="modal-title fs-5" id="items-update-title"></h1>
|
||
|
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
|
||
|
</div>
|
||
|
<div class="modal-body">
|
||
|
<div class="text-center">
|
||
|
<img id="image-preview" src="https://via.placeholder.com/200" class="rounded rounded-circle"
|
||
|
alt="placeholder">
|
||
|
</div>
|
||
|
<input id="items-line-id" type="number" hidden>
|
||
|
<div class="mb-2">
|
||
|
<label for="item" class="form-label">Аккаунт</label>
|
||
|
<select id="item" class="form-select" name="selected" required>
|
||
|
</select>
|
||
|
</div>
|
||
|
<div class="mb-2">
|
||
|
<label class="form-label" for="nickname">Никнейм</label>
|
||
|
<input id="nickname" name="nickname" class="form-control" type="string" required>
|
||
|
</div>
|
||
|
<div class="mb-2">
|
||
|
<label class="form-label" for="email">Почта</label>
|
||
|
<input id="email" name="email" class="form-control" type="string" required>
|
||
|
</div>
|
||
|
<div class="mb-2">
|
||
|
<label class="form-label" for="password">Пароль</label>
|
||
|
<input id="password" name="password" class="form-control" type="string" required>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="modal-footer">
|
||
|
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Закрыть</button>
|
||
|
<button type="submit" class="btn btn-primary">Сохранить</button>
|
||
|
</div>
|
||
|
</div>
|
||
|
</form>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
</body>
|
||
|
</html>
|