add: Добавлена кнопка "Очистить" для формы ввода и счетчик символов. новая версия сайта (v0.2.3)
All checks were successful
Build ETPGRF-site / build (push) Successful in 1m30s
All checks were successful
Build ETPGRF-site / build (push) Successful in 1m30s
This commit is contained in:
@@ -79,7 +79,7 @@
|
||||
{# Футер #}<footer class="footer mt-auto py-2 mt-4">
|
||||
<div class="container d-flex justify-content-between align-items-center">
|
||||
<span class="text-muted small nowrap me-2">© Sergei Erjemin, 2025–{% now 'Y' %}.</span>
|
||||
<nobr class="text-muted small mx-2"><i class="bi bi-tags me-1" title="Версия библиотеки etpgrf / Версия сайта"></i><a href="/changelog">v0.1.4 / v0.2.2</a></nobr>
|
||||
<nobr class="text-muted small mx-2"><i class="bi bi-tags me-1" title="Версия библиотеки etpgrf / Версия сайта"></i><a href="/changelog">v0.1.4 / v0.2.3</a></nobr>
|
||||
{# Сводная статистика (HTMX) #}<span class="text-muted small ms-2" hx-get="{% url 'stats_summary' %}" hx-trigger="load">
|
||||
...
|
||||
</span>
|
||||
|
||||
@@ -38,10 +38,18 @@
|
||||
|
||||
{# ГЛАВНОЕ ПОЛЕ ВВОДА #}
|
||||
<div class="mb-3">
|
||||
<label class="form-label fw-bold small text-muted ls-1">
|
||||
<i class="bi bi-file-text me-1"></i> Исходный текст:
|
||||
</label>
|
||||
<textarea class="form-control" name="text" rows="10" placeholder="Вставьте текст сюда..."></textarea>
|
||||
<div class="d-flex justify-content-between align-items-end mb-2">
|
||||
<label class="form-label fw-bold small text-muted ls-1 mb-0">
|
||||
<i class="bi bi-file-text me-1"></i> Исходный текст:
|
||||
</label>
|
||||
<div class="d-flex align-items-center">
|
||||
<span id="char-count" class="small text-muted me-3 nowrap">0 симв.</span>
|
||||
<button type="button" id="btn-clear" class="btn btn-sm btn-outline-secondary" title="Очистить поле">
|
||||
<i class="bi bi-trash me-1"></i> Очистить
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
<textarea class="form-control" name="text" id="source-text" rows="10" placeholder="Вставьте текст сюда..."></textarea>
|
||||
</div>
|
||||
|
||||
{# Блок настроек (Collapse) #}
|
||||
|
||||
Reference in New Issue
Block a user