mirror of
https://github.com/LowderPlay/cheburcheck.git
synced 2026-10-03 20:28:02 +03:00
feat: search bar instead of reset button
--------- Co-authored-by: Lowder <me@lowderplay.dev>
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
{% extends 'base' %}
|
||||
|
||||
{% block content %}
|
||||
{% include 'search-form' %}
|
||||
|
||||
<div class="result-panel">
|
||||
<div class="result-header">
|
||||
<div class="icon-box status-icon">
|
||||
@@ -77,9 +79,4 @@
|
||||
{# </div>#}
|
||||
</div>
|
||||
|
||||
<a href="/" class="reset-btn">
|
||||
<i data-lucide="rotate-ccw" width="14" height="14"></i>
|
||||
<span>Проверить другой</span>
|
||||
</a>
|
||||
|
||||
{% endblock content %}
|
||||
|
||||
@@ -6,24 +6,7 @@
|
||||
<p class="text-muted">Введите домен или IP-адрес для поиска по спискам заблокированных адресов и хостинг-провайдеров.</p>
|
||||
</div>
|
||||
|
||||
<form class="search-form" action="/check">
|
||||
<input
|
||||
type="text"
|
||||
name="target"
|
||||
placeholder="example.com или 1.1.1.1 или 2606:4700:4700::1001"
|
||||
class="search-input"
|
||||
minlength="3"
|
||||
required
|
||||
autofocus
|
||||
>
|
||||
<div class="search-icon-wrapper">
|
||||
<i data-lucide="search" width="20" height="20"></i>
|
||||
</div>
|
||||
<button type="submit" class="search-btn">
|
||||
<span>Проверить</span>
|
||||
<i data-lucide="chevron-right" width="16" height="16"></i>
|
||||
</button>
|
||||
</form>
|
||||
{% include 'search-form' %}
|
||||
|
||||
<div class="stats-grid">
|
||||
<div class="stat-card">
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
{% extends 'base' %}
|
||||
|
||||
{% block content %}
|
||||
{% include 'search-form' %}
|
||||
|
||||
<div class="result-panel {% if found %}blocked-theme{% else %}clean-theme{% endif %}">
|
||||
<div class="result-header">
|
||||
<div class="icon-box status-icon">
|
||||
@@ -106,9 +108,5 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<a href="/" class="reset-btn">
|
||||
<i data-lucide="rotate-ccw" width="14" height="14"></i>
|
||||
<span>Проверить другой</span>
|
||||
</a>
|
||||
|
||||
{% endblock content %}
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
<form class="search-form" action="/check">
|
||||
<input
|
||||
type="text"
|
||||
name="target"
|
||||
placeholder="example.com или 1.1.1.1 или 2606:4700:4700::1001"
|
||||
class="search-input"
|
||||
minlength="3"
|
||||
required
|
||||
autofocus
|
||||
>
|
||||
<div class="search-icon-wrapper">
|
||||
<i data-lucide="search" width="20" height="20"></i>
|
||||
</div>
|
||||
<button type="submit" class="search-btn">
|
||||
<span>Проверить</span>
|
||||
<i data-lucide="chevron-right" width="16" height="16"></i>
|
||||
</button>
|
||||
</form>
|
||||
Reference in New Issue
Block a user