mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-19 17:38:19 +08:00
core&ui: add training search support
This commit is contained in:
2 files changed
+14
-4
No files matched your search
@@ -5,6 +5,14 @@
|
||||
<div class="section">
|
||||
<div class="section__header">
|
||||
<h1 class="section__title">{{ _('All Training Plans') }}</h1>
|
||||
<div class="section__tools">
|
||||
<form method="get" class="filter-form" name="filter-form">
|
||||
<input type="text" class="inline compact textbox" name="q" value="{{ q }}" placeholder="{{ _('Search training...') }}">
|
||||
<button type="submit" class="compact button">
|
||||
{{ _('Search') }}
|
||||
</button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
{% if not tdocs.length %}
|
||||
{{ nothing.render('Sorry, there are no training plans.') }}
|
||||
|
||||
Reference in new issue
Block a user