PIbd-22_Isaeva_Internet_pro.../news.html

64 lines
2.7 KiB
HTML
Raw Permalink Normal View History

2024-01-12 11:19:45 +04:00
<!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>
<div id="list-news"></div>
<br><br>
<form action="admin.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 { UpdateNews } from "./js/posts.js";
document.addEventListener('DOMContentLoaded', () => {
UpdateNews();
});
</script>
</body>
</html>