mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-17 09:36:08 +08:00
ui: contest_problemlist: update style
This commit is contained in:
1 parent
fdd353bcf1
commit
7c30d4896b
3 files changed
+40
-2
No files matched your search
@@ -113,7 +113,11 @@ $highlight-button-color = #F6DF45
|
||||
width: rem(150px)
|
||||
|
||||
.col--submit-at
|
||||
width: rem(150px)
|
||||
width: rem(130px)
|
||||
text-align: center
|
||||
|
||||
&.nojs .col--submit-at
|
||||
width: rem(160px)
|
||||
|
||||
.col--problem
|
||||
border-left: 1px solid $table-border-color
|
||||
@@ -122,6 +126,33 @@ $highlight-button-color = #F6DF45
|
||||
.col--submit-at
|
||||
display: none
|
||||
|
||||
+tablet()
|
||||
.col--time,
|
||||
.col--memory,
|
||||
.col--lang
|
||||
display: none
|
||||
|
||||
+mobile()
|
||||
.col--time,
|
||||
.col--memory,
|
||||
.col--submit-at,
|
||||
.col--lang
|
||||
display: none
|
||||
|
||||
.col--submit-by
|
||||
display: none
|
||||
|
||||
.record_main__table
|
||||
.col--status
|
||||
width: rem(170px)
|
||||
|
||||
.col--time, .col--memory, .col--lang
|
||||
width: rem(95px)
|
||||
text-align: center
|
||||
|
||||
.col--lang
|
||||
border-right: 1px solid $table-border-color
|
||||
|
||||
|
||||
.page--contest_scoreboard
|
||||
.main
|
||||
|
||||
@@ -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 -%} {{ 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.') }}'
|
||||
|
||||
Reference in new issue
Block a user