/
OtherName
/
Projects
Обзор
Документация
Войти
/
OtherName
/
Projects
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
ProgramLearn/templates/articles_updates.html
77 строк
2 KB
NikitaChernomor
upload files
09 фев 2026, 00:29
Верифицирован
09 фев 2026, 00:29
bdab9b5
Код
Авторство
О чём код?
{% extends 'base.html' %} {% block title%}Program Learn{% endblock %} {% block body %} <style media="screen"> .all{ border: 3px solid Purple; text-align:center; background: rgb(195,20,50); background: linear-gradient(180deg, rgba(195,20,50,1) 0%, rgba(36,11,54,1) 100%); border-radius: 15px; } .text-control1{ width: 1336px; border: 2px solid magenta; border-radius: 25px; } .text-control2{ width: 1336px; height: 50px; border: 2px solid magenta; border-radius: 25px; } .text-control3{ width: 1336px; height: 50px; border: 2px solid magenta; border-radius: 25px; } .container{ text-align: center; margin-top: 30px; } .btn{ border-radius: 5px; background: black; border:3px solid magenta; padding: 10px 20px; font-size: 15px; font-family: "monterrast"; cursor: pointer; margin: 10px; transition: 0.8s; } .success{ color:Purple; font-weight: bold; border-radius: 5px; background: white; border:3px solid magenta; padding: 10px 20px; font-size: 15px; font-family: sans-serif; cursor: pointer; margin: 10px; transition: 0.8s; } .success:hover{ color: white; background: Purple; font-weight: bold; font-size: 15px; } </style> <h1 align='center' class="text_white">Обновление статьи</h1> <form method='post'> <div class="all"> <input type="text" name="title" value="{{ article.title }}" class="text-control1" placeholder="Введите название"><br> <input name="intro" id="intro" class="text-control2" placeholder="Введите анонс" value="{{ article.intro}}"></input><br> <input name="text" id="text" class="text-control3" placeholder="Введите текст" value="{{ article.text }}"></input><br> <div class="container"> <input type="submit" class="success" value="Обновить"> </div> </form> </div> {% endblock %}