mirror of
https://github.com/YGGverse/btracker.git
synced 2026-03-31 17:15:31 +00:00
implement basic search
This commit is contained in:
parent
a5133b006b
commit
97ac3d9dce
4 changed files with 82 additions and 11 deletions
|
|
@ -14,6 +14,10 @@
|
|||
{% if meta.trackers %}
|
||||
<div>{% for tracker in meta.trackers %}<code>{{ tracker }}</code>{% endfor %}</div>
|
||||
{% endif %}
|
||||
<form action="/" method="GET">
|
||||
<input type="text" name="search" value="{% if search %}{{ search }}{% endif %}" placeholder="Keyword, file, hash..." />
|
||||
<input type="submit" value="Search" />
|
||||
</form>
|
||||
</header>
|
||||
<main>
|
||||
{% block content %}{% endblock content %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue