style: Remove whitespaces

This commit is contained in:
Sweetbread 2025-01-27 23:30:36 +03:00
parent 28dba79cdf
commit 07ca969da2
3 changed files with 11 additions and 12 deletions

View File

@ -1,4 +1,3 @@
<head> <head>
<link rel="stylesheet" href="{{ url_for('static', filename='index.css') }}"> <link rel="stylesheet" href="{{ url_for('static', filename='index.css') }}">
<script src="{{ url_for('static', filename='scripts/index.js') }}"></script> <script src="{{ url_for('static', filename='scripts/index.js') }}"></script>

View File

@ -2,16 +2,16 @@
<div class="decore1"></div> <div class="decore1"></div>
<nav class="navlink"> <nav class="navlink">
<a href="{{ url_for('index') }}" class="link">на главную</a> <a href="{{ url_for('index') }}" class="link">на главную</a>
{% for link, text in ( {%- for link, text in (
('sql', 'sql пипка'), ('sql', 'sql пипка'),
('found', 'forensic'), ('found', 'forensic'),
('decode', 'encode and decode'), ('decode', 'encode and decode'),
) %} ) %}
{% if request.path != url_for(link) %} {%- if request.path != url_for(link) %}
<a href="{{ url_for(link) }}" class="link">{{ text }}</a> <a href="{{ url_for(link) }}" class="link">{{ text }}</a>
{% endif %} {%- endif %}
{% endfor %} {%- endfor %}
{# <!-- <a href="">rfi</a>--> #} {#- <!-- <a href="">rfi</a>--> #}
{# <!-- <a href="">lfi</a>--> #} {#- <!-- <a href="">lfi</a>--> #}
</nav> </nav>
</div> </div>

View File

@ -2,13 +2,13 @@
<html lang="ru"> <html lang="ru">
{% block head %} {% block head %}
{% include '_head.html' %} {%- include '_head.html' %}
{% endblock %} {%- endblock %}
<body> <body>
{% include '_header.html' %} {% include '_header.html' -%}
{% block content %}{% endblock %} {% block content -%}{% endblock -%}
{% include '_sidenav.html' %} {% include '_sidenav.html' %}
<img id="help" src="{{ url_for('static', filename='imgs/icon.png') }}"> <img id="help" src="{{ url_for('static', filename='imgs/icon.png') }}">