PIbd-22_Isaeva_Internet_pro.../add_news.html
2024-01-12 11:18:21 +04:00

68 lines
3.1 KiB
HTML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!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/bootstrap/dist/css/bootstrap.min.css"/>
<script src="node_modules/bootstrap/dist/js/bootstrap.min.js"></script>
<link rel="stylesheet" href="css/style.css">
</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: center; line-height: 1.3em">
<h3>Добавить новость</h3>
Форма добавления новости.
<br>
<div class="container px-4 py-2 text-center">
<form id="add-news-form" method="post" style="text-align: left; line-height: 1.3em; margin-left: 3%;">
<label for="title">Дата события:</label><br>
<input class="input" type="text" name="title" placeholder="1 сентября, 2023" id="title"><br>
<span id="error-title" style="color: red"></span>
<br>
<label for="question">Текст новости:</label><br>
<textarea class="input-textarea" type="text" name="question" cols="3" rows="7" id="question">2-3 предложения</textarea><br>
<span id="error-question" style="color: red"></span>
<br>
<input type="submit" style="display: block; margin-left: auto; margin-right: auto;" class="btn btn-primary" name="submit" value="Добавить">
</form>
</div>
</div>
<div id="footer">
<ul>
<li>Адреса и контакты:</li>
<li>432027, г. Тольятти, ул. Ларина, д.32</li>
<li>+7 (8332) 43-06-55</li>
</ul>
</div>
</body>
</html>