PIbd-22_Isaeva_Internet_pro.../dist/add_news.html
2024-01-12 11:19:45 +04:00

91 lines
3.9 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>
<script type="module" crossorigin src="/assets/add_news-1146ed73.js"></script>
<link rel="modulepreload" crossorigin href="/assets/validation-959284d8.js">
<link rel="stylesheet" href="/assets/validation-dfd4cadb.css">
<link rel="stylesheet" href="/assets/style-ea88520f.css">
</head>
<body>
<div id="header">
<a href="index.html"><img id="logo" src="/assets/logo-f57f18ed.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" class="needs-validation" action="./news.html" method="get" style="text-align: left; line-height: 1.3em; margin-left: 3%;" novalidate>
<div class="text-center">
<img id="image-preview" src="https://via.placeholder.com/200" class="rounded rounded-circle" alt="placeholder">
</div>
<label for="title" class="form-label">Заголовок:</label><br>
<input id="title" class="form-control" type="text" name="title" placeholder="Заголовок" required>
<br>
<br>
<label for="date" class="form-label">Дата:</label><br>
<input id="date" class="form-control" type="text" name="date" placeholder="1 сентября, 2023" required>
<br>
<br>
<label for="text" class="form-label">Текст новости:</label><br>
<textarea id="text" class="form-control" type="text" name="text" cols="3" rows="7" placeholder="2-3 предложения" required></textarea>
<br>
<br>
<label for="image" class="form-label">Изображение:</label>
<br>
<div class="input-group mb-3">
<input type="file" class="form-control" name="image" id="image" accept="image/*" required>
<label class="input-group-text" for="image">Загрузить</label>
</div>
<br>
<button type="submit" style="display: block; margin-left: auto; margin-right: auto;" class="btn btn-primary">Добавить</button>
</form>
</div>
</div>
<div id="footer">
<ul>
<li>Адреса и контакты:</li>
<li>432027, г. Тольятти, ул. Ларина, д.32</li>
<li>+7 (8332) 43-06-55</li>
</ul>
</div>
</body>
</html>