big changes, sorry

This commit is contained in:
2025-05-27 12:22:52 +03:00
parent bb12fe5ca7
commit bcee61a817
7 changed files with 371 additions and 98 deletions

View File

@@ -13,25 +13,19 @@
<p>🕓 <a href="{{ url_for('serve_feed') }}" target="_blank">Фід</a> оновлено: {{ feed_file_info.modified }}</p>
{% endif %}
<div class="tabs">
<div class="tab-buttons">
<button class="tab-button active" onclick="openTab('parser')">Парсер</button>
<button class="tab-button" onclick="openTab('processor')">Переклад</button>
<button class="tab-button" onclick="openTab('generator')">YML Фід</button>
<button class="tab-button" onclick="openTab('categories')">Категорії</button>
<div class="items-limit-group">
<label for="items-limit">Ліміт:</label>
<input type="number" id="items-limit" value="{{ app_settings.items_limit }}" min="-1"
onchange="updateItemsLimit(this.value)" title="Встановіть -1 для зняття обмежень">
<div class="items-button-group">
<button onclick="refreshOldestCategory()">🔄</button>
<button onclick="translateAllCategories()">🇺🇦</button>
<button onclick="generateFullYML()">YML</button>
</div>
<button onclick="refreshOldestCategory()">🔄</button>
<button onclick="translateAllCategories()">🇺🇦</button>
<button onclick="generateFullYML()">YML</button>
</div>
<!-- Вкладка парсера -->
<div id="parser" class="tab-content active">
<div class="form-group">