This repository has been archived on 2026-07-21. You can view files and clone it, but cannot push or open issues or pull requests.
Files
edo/templates/base.html
2026-07-14 01:16:33 +03:00

57 lines
2.4 KiB
HTML
Raw 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>{% block title %}Контроль ЭДО{% endblock %}</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}">
</head>
<body>
<header class="header">
<div class="container header-inner">
<a href="{{ url_for('main.documents_1c') }}" class="logo-wrap">
<div class="logo-icon">📋</div>
<div class="logo-text">
<h1>Контроль ЭДО</h1>
<span>Отслеживание документов</span>
</div>
</a>
<nav class="tabs">
<a href="{{ url_for('main.documents_1c') }}"
class="tab {% if request.endpoint == 'main.documents_1c' %}active{% endif %}">
<span class="tab-icon">📄</span> 1С
</a>
<a href="{{ url_for('main.documents_sbis') }}"
class="tab {% if request.endpoint == 'main.documents_sbis' %}active{% endif %}">
<span class="tab-icon">📥</span> СБИС
</a>
<a href="{{ url_for('main.contractors') }}"
class="tab {% if request.endpoint == 'main.contractors' %}active{% endif %}">
<span class="tab-icon">👥</span> Контрагенты
</a>
</nav>
</div>
</header>
<main class="container">
{% with messages = get_flashed_messages(with_categories=true) %}
{% if messages %}
<div class="messages">
{% for category, message in messages %}
<div class="alert alert-{{ category }}">
{% if category == 'success' %}✓{% else %}⚠{% endif %}
{{ message }}
</div>
{% endfor %}
</div>
{% endif %}
{% endwith %}
{% block content %}{% endblock %}
</main>
</body>
</html>