feat: section main files
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
<html lang="ru">
|
||||
{% include '_head.html' %}
|
||||
<body>
|
||||
{% include '_header.html' %}
|
||||
@@ -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>
|
||||
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
<html lang="ru">
|
||||
{% include '_head.html' %}
|
||||
<body>
|
||||
{% include '_header.html' %}
|
||||
@@ -0,0 +1,4 @@
|
||||
<html lang="ru">
|
||||
{% include '_head.html' %}
|
||||
<body>
|
||||
{% include '_header.html' %}
|
||||
Reference in New Issue
Block a user