ui: contest_problemlist: update style

This commit is contained in:
undefined committed 2023-01-06 02:27:04 +08:00
1 parent fdd353bcf1
commit 7c30d4896b
3 files changed
+40 -2

No files matched your search

@@ -6,7 +6,11 @@
<a href="{{ url('problem_detail', _linkArgs) }}"{% if small %} data-tooltip="{{ pdoc.title }}"{% endif %}>
{%- endif -%}
{%- if pdoc.domainId !== handler.args.domainId -%}<b>{{ pdoc.domainId }}#</b>{%- endif -%}
<b>{{ pdoc.pid or ('P'+pdoc.docId if pdoc.domainId === handler.args.domainId else pdoc.docId) }}</b>
{% if page_name == 'contest_problemlist' and tdoc %}
<b>{{ String.fromCharCode(65 + tdoc.pids.indexOf(pdoc.docId)) if tdoc.pids.includes(pdoc.docId) else '#' }}</b>
{% else %}
<b>{{ pdoc.pid or ('P'+pdoc.docId if pdoc.domainId === handler.args.domainId else pdoc.docId) }}</b>
{% endif %}
{%- if not small -%}&nbsp;&nbsp;{{ pdoc.title }}{%- endif -%}
{%- if not invalid -%}
</a>
@@ -57,6 +57,9 @@
</div>
</div>
<div class="section">
<div class="section__header">
<h1 class="section__title">{{ _('Submissions') }}</h1>
</div>
<div class="section__body no-padding">
{% if not canViewRecord %}
{{ nothing.render('According to the contest rules, you cannot view your submission details at current.') }}'