mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-19 17:38:19 +08:00
core&ui: support /record?all=1
This commit is contained in:
3 files changed
+26
-14
No files matched your search
@@ -6,7 +6,8 @@
|
||||
+ (("&tid=" + filterTid) if filterTid else "")
|
||||
+ (("&uidOrName=" + filterUidOrName) if filterUidOrName else "")
|
||||
+ (("&pid=" + filterPid) if filterPid else "")
|
||||
+ ("&allDomain=1" if all else "")
|
||||
+ ("&all=1" if all else "")
|
||||
+ ("&allDomain=1" if allDomain else "")
|
||||
) }}
|
||||
{{ set(UiContext, 'rids', rdocs.map(eval("rdoc=>rdoc._id.toString()"))) }}
|
||||
<div class="row">
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
{% import "components/problem.html" as problem with context %}
|
||||
<tr data-rid="{{ rdoc['_id'] }}">
|
||||
{% set _isPretest = rdoc.contest and rdoc.contest.toString() == '000000000000000000000000' %}
|
||||
{{ record.render_status_td(rdoc, allDomain = all) }}
|
||||
{{ record.render_status_td(rdoc, allDomain = allDomain) }}
|
||||
<td class="col--problem col--problem-name">
|
||||
{% if handler.user.hasPerm(perm.PERM_REJUDGE) and not rdoc.files.hack and not _isPretest %}
|
||||
<form class="form--inline" method="post" action="{{ url('record_detail', rid=rdoc._id, domainId=rdoc.domainId) }}">
|
||||
|
||||
Reference in new issue
Block a user