77 lines
3.1 KiB
HTML
77 lines
3.1 KiB
HTML
|
<!DOCTYPE html>
|
|||
|
<html lang="ru">
|
|||
|
<head>
|
|||
|
<meta charset="utf-8">
|
|||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|||
|
<title>ГПУ</title>
|
|||
|
<link rel="stylesheet" href="node_modules/@fortawesome/fontawesome-free/css/all.min.css"/>
|
|||
|
<link rel="stylesheet" href="node_modules/bootstrap/dist/css/bootstrap.min.css"/>
|
|||
|
<link rel="stylesheet" href="css/style.css">
|
|||
|
<script type="module" src="node_modules/bootstrap/dist/js/bootstrap.min.js"></script>
|
|||
|
</head>
|
|||
|
<body>
|
|||
|
<div id="header">
|
|||
|
<a href="index.html"><img id="logo" src="resourses/logo.png" height="50px"></a>
|
|||
|
<a href="index.html">Государственный политехнический университет</a>
|
|||
|
</div>
|
|||
|
<nav class="navbar navbar-expand-md bg-purple" >
|
|||
|
<div class="container-fluid">
|
|||
|
<a class="navbar-brand" href="university.html">Об университете</a>
|
|||
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarText" aria-controls="navbarText" aria-expanded="false" aria-label="Toggle navigation">
|
|||
|
<span class="navbar-toggler-icon"></span>
|
|||
|
</button>
|
|||
|
<div class="collapse navbar-collapse" id="navbarText">
|
|||
|
<ul class="navbar-nav me-auto mb-2 mb-md-0">
|
|||
|
<li class="nav-item">
|
|||
|
<a class="nav-link" aria-current="page" href="news.html">Новости</a>
|
|||
|
</li>
|
|||
|
<li class="nav-item">
|
|||
|
<a class="nav-link" aria-current="page" href="abiturient.html">Поступающему</a>
|
|||
|
</li>
|
|||
|
<li class="nav-item">
|
|||
|
<a class="nav-link" aria-current="page" href="registration.html">Регистрация</a>
|
|||
|
</li>
|
|||
|
<li class="nav-item">
|
|||
|
<a class="nav-link" aria-current="page" href="contacts.html">Контакты</a>
|
|||
|
</li>
|
|||
|
</ul>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</nav>
|
|||
|
|
|||
|
<div id="content" style="text-align: justify; line-height: 2em">
|
|||
|
<h3 style="text-align: center;">Страница админа</h3>
|
|||
|
<br>
|
|||
|
<table id="items-table" class="table table-striped table-hover">
|
|||
|
<thead>
|
|||
|
<th scope = "col">№</th>
|
|||
|
<th scope = "col" class ="w-10">Название</th>
|
|||
|
<th scope = "col" class = "w-30">Дата</th>
|
|||
|
<th scope = "col" class = "w-50">Описание</th>
|
|||
|
<th scope = "col">Теги</th>
|
|||
|
<th scope = "col"></th>
|
|||
|
<th scope = "col"></th>
|
|||
|
</thead>
|
|||
|
<tbody></tbody>
|
|||
|
</table>
|
|||
|
<br><br>
|
|||
|
<form action="add_news.html">
|
|||
|
<button style="display: block; margin-left: auto; margin-right: auto;" class="btn btn-primary">Добавить новость</button>
|
|||
|
</form>
|
|||
|
</div>
|
|||
|
|
|||
|
<div id="footer">
|
|||
|
<ul>
|
|||
|
<li>Адреса и контакты:</li>
|
|||
|
<li>432027, г. Тольятти, ул. Ларина, д.32</li>
|
|||
|
<li>+7 (8332) 43-06-55</li>
|
|||
|
</ul>
|
|||
|
</div>
|
|||
|
<script type = "module">
|
|||
|
import { drawLinesTable } from "./js/posts.js";
|
|||
|
document.addEventListener('DOMContentLoaded', () => {
|
|||
|
drawLinesTable();
|
|||
|
});
|
|||
|
</script>
|
|||
|
</body>
|
|||
|
</html>
|