mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
ui: fix #321
This commit is contained in:
1 parent
99b6ead86f
commit
fa554e58bf
2 files changed
+15
-10
No files matched your search
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@hydrooj/ui-default",
|
"name": "@hydrooj/ui-default",
|
||||||
"version": "4.34.13",
|
"version": "4.34.14",
|
||||||
"author": "undefined <i@undefined.moe>",
|
"author": "undefined <i@undefined.moe>",
|
||||||
"license": "AGPL-3.0",
|
"license": "AGPL-3.0",
|
||||||
"main": "hydro.js",
|
"main": "hydro.js",
|
||||||
|
|||||||
@@ -45,14 +45,14 @@
|
|||||||
{{ _('By Status') }}
|
{{ _('By Status') }}
|
||||||
</label>
|
</label>
|
||||||
<select class="compact select" name="status">
|
<select class="compact select" name="status">
|
||||||
<option value="">{{ _('All Submissions') }}</option>
|
<option value="">{{ _('All Submissions') }}</option>
|
||||||
<option value="1">Accepted</option>
|
<option value="1">Accepted</option>
|
||||||
<option value="2">Wrong Answer</option>
|
<option value="2">Wrong Answer</option>
|
||||||
<option value="3">Time Limit Exceeded</option>
|
<option value="3">Time Limit Exceeded</option>
|
||||||
<option value="4">Memory Limit Exceeded</option>
|
<option value="4">Memory Limit Exceeded</option>
|
||||||
<option value="6">Runtime Error</option>
|
<option value="6">Runtime Error</option>
|
||||||
<option value="7">Compile Error</option>
|
<option value="7">Compile Error</option>
|
||||||
<option value="8">System Error</option>
|
<option value="8">System Error</option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -100,7 +100,12 @@
|
|||||||
{% if handler.user.hasPriv(PRIV.PRIV_VIEW_JUDGE_STATISTICS) %}
|
{% if handler.user.hasPriv(PRIV.PRIV_VIEW_JUDGE_STATISTICS) %}
|
||||||
<ul class="pager">
|
<ul class="pager">
|
||||||
<li>
|
<li>
|
||||||
<a class="pager__item next link" href="?page={{ page + 1 }}{{ (('&tid=' + filterTid) if filterTid else '') + (('&uidOrName=' + filterUidOrName) if filterUidOrName else '') + (('&pid=' + filterPid) if filterPid else '') + ('&allDomain=1' if all else '') }}">{{ _('pager_next') }}</a>
|
<a class="pager__item next link" href="?page={{ page + 1 }}{{
|
||||||
|
(('&tid=' + filterTid) if filterTid else '')
|
||||||
|
+ (('&uidOrName=' + filterUidOrName) if filterUidOrName else '')
|
||||||
|
+ (('&status=' + filterStatus) if filterStatus else '')
|
||||||
|
+ (('&pid=' + filterPid) if filterPid else '')
|
||||||
|
+ ('&allDomain=1' if all else '') }}">{{ _('pager_next') }}</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
Reference in new issue
Block a user