mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-19 17:38:19 +08:00
core&ui: contest/homework: add search
This commit is contained in:
10 files changed
+31
-22
No files matched your search
@@ -59,7 +59,7 @@
|
||||
<h1 class="section__title">{{ _('All Contests') if not rule else _('All {0} Contests').format(_(model.contest.RULES[rule].TEXT)) }}</h1>
|
||||
<div class="section__tools">
|
||||
<form method="get" name="filter-form">
|
||||
{{ _('Show') }}:
|
||||
<input type="text" class="inline compact textbox" name="q" value="{{ q }}" placeholder="{{ _('Search contests...') }}">
|
||||
<select class="inline compact select" name="group">
|
||||
<option value=""{% if not group %} selected{% endif %}>{{ _('All') }}</option>
|
||||
{%- for g in groups -%}
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
</span>
|
||||
{% if groups.length %}
|
||||
<form method="get" class="filter-form" name="filter-form">
|
||||
{{ _('Show') }}:
|
||||
<input type="text" class="inline compact textbox" name="q" value="{{ q }}" placeholder="{{ _('Search homeworks...') }}">
|
||||
<select class="inline compact select" name="group">
|
||||
<option value=""{% if not group %} selected{% endif %}>{{ _('All') }}</option>
|
||||
{%- for g in groups -%}
|
||||
|
||||
Reference in new issue
Block a user