feat: section main files

This commit is contained in:
2025-04-05 22:42:20 +03:00
parent 5ce2555f95
commit 7aa60e1240
7 changed files with 44 additions and 18 deletions
+3 -3
View File
@@ -3,9 +3,9 @@
<nav class="navlink">
<a href="{{ url_for('index') }}" class="link">на главную</a>
{%- for link, text in (
('sql', 'Sql-инъекция'),
('found', 'Форензика'),
('decode', 'Криптография'),
('web', 'Web'),
('forensic', 'Форензика'),
('osint', 'OSINT'),
) %}
{%- if request.path != url_for(link) %}
<a href="{{ url_for(link) }}" class="link">{{ text }}</a>
+4
View File
@@ -0,0 +1,4 @@
<html lang="ru">
{% include '_head.html' %}
<body>
{% include '_header.html' %}
+7 -5
View File
@@ -9,11 +9,9 @@
<p class="simpletext">Разделы заданий:</p>
<nav class="navbtn">
{%- for name, descr in (
('sql', "Sql-инъекция"),
('found', "Форензика"),
('decode', "Криптография"),
('index', "ещё таск"),
('index', "и еще один таск")
('web', "Web"),
('forensic', "Форензика"),
('osint', "OSINT"),
) %}
<a href="{{ url_for(name) }}" class="btn1">{{ descr }}</a>
{%- endfor %}
@@ -32,6 +30,10 @@
Сайт, где много крутого про Web -
<a target="_blank" rel="noopener noreferrer" class="btn2" href="https://portswigger.net/web-security">PortSwigger</a>
</p>
<p>
CTF Новости России -
<a target="_blank" rel="noopener noreferrer" class="btn2" href="https://ctfnews.ru/">CTF News</a>
</p>
</nav>
</div>
+4
View File
@@ -0,0 +1,4 @@
<html lang="ru">
{% include '_head.html' %}
<body>
{% include '_header.html' %}
+4
View File
@@ -0,0 +1,4 @@
<html lang="ru">
{% include '_head.html' %}
<body>
{% include '_header.html' %}