2026-05-12 23:04:23 +03:00
|
|
|
|
{% extends "base.html" %}
|
|
|
|
|
|
{% block title %}Синхронизация — ЭВОСИНК{% endblock %}
|
|
|
|
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
|
|
<div class="d-flex justify-between align-center mb-3">
|
|
|
|
|
|
<h1 style="font-size:1.3rem; margin:0;"><i class="bi bi-arrow-repeat me-2"></i>Синхронизация</h1>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
{% if saved %}
|
|
|
|
|
|
<div role="alert" class="alert alert-success"><p>Настройки сохранены.</p></div>
|
|
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
|
|
|
|
<article class="card">
|
2026-05-12 23:08:45 +03:00
|
|
|
|
<h2 style="font-size:1.1rem; margin-bottom:1.25rem;">Настройки цены</h2>
|
2026-05-12 23:04:23 +03:00
|
|
|
|
<form method="post" action="/sync/settings">
|
2026-05-12 23:08:45 +03:00
|
|
|
|
<label style="max-width:320px;">
|
|
|
|
|
|
Множитель цены
|
|
|
|
|
|
<input type="number" name="price_multiplier" step="0.0001" min="0.0001"
|
|
|
|
|
|
value="{{ config.price_multiplier if config else '1' }}"
|
|
|
|
|
|
placeholder="1">
|
|
|
|
|
|
<small class="text-muted">Цена из Эвотор умножается на это значение перед отправкой в ВК. По умолчанию: 1.</small>
|
|
|
|
|
|
</label>
|
2026-05-12 23:04:23 +03:00
|
|
|
|
<button type="submit" style="margin-top:1rem;">Сохранить</button>
|
|
|
|
|
|
</form>
|
|
|
|
|
|
</article>
|
|
|
|
|
|
{% endblock %}
|