Initial commit

This commit is contained in:
2026-07-14 01:16:33 +03:00
commit 92f04e0e8a
29 changed files with 2454 additions and 0 deletions

56
templates/base.html Normal file
View File

@@ -0,0 +1,56 @@
<!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>