mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 09:46:28 +08:00
ui: adjust homework scoreboard col width
This commit is contained in:
1 parent
afb8069586
commit
c370541268
3 files changed
+4
-23
No files matched your search
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@hydrooj/ui-default",
|
"name": "@hydrooj/ui-default",
|
||||||
"version": "4.34.30",
|
"version": "4.34.31",
|
||||||
"author": "undefined <i@undefined.moe>",
|
"author": "undefined <i@undefined.moe>",
|
||||||
"license": "AGPL-3.0",
|
"license": "AGPL-3.0",
|
||||||
"main": "hydro.js",
|
"main": "hydro.js",
|
||||||
|
|||||||
@@ -4,20 +4,17 @@
|
|||||||
border-right: 1px solid $table-border-color
|
border-right: 1px solid $table-border-color
|
||||||
|
|
||||||
.col--user
|
.col--user
|
||||||
width: rem(140px)
|
width: auto
|
||||||
|
|
||||||
.col--total_score
|
.col--total_score, .col--time
|
||||||
width: rem(100px)
|
width: rem(100px)
|
||||||
text-align: center
|
text-align: center
|
||||||
|
|
||||||
.col--problem, .col--record
|
.col--problem, .col--record
|
||||||
min-width: rem(100px)
|
width: rem(100px)
|
||||||
border-left: 1px solid $table-border-color
|
border-left: 1px solid $table-border-color
|
||||||
text-align: center
|
text-align: center
|
||||||
|
|
||||||
+mobile()
|
+mobile()
|
||||||
.col--user
|
|
||||||
width: auto
|
|
||||||
|
|
||||||
.col--problem, .col--record
|
.col--problem, .col--record
|
||||||
display: none
|
display: none
|
||||||
@@ -1,16 +0,0 @@
|
|||||||
{% extends 'layout/simple.html' %}
|
|
||||||
{% block body %}
|
|
||||||
<form method="post" enctype="multipart/form-data">
|
|
||||||
{% if (typeof(pdoc.data) == 'string') %}
|
|
||||||
<p><b>{{ _('Current dataset comes from') }} <a href="{{ pdoc.data.split('from:')[1] }}" target="_blank">{{ pdoc.data.split('from:')[1] }}</a></b></p>
|
|
||||||
{% else %}
|
|
||||||
<p>{{ _('Current dataset: {0}').format((pdoc['data'] or _('(None)')).toString()) }}</p>
|
|
||||||
<p>{{ _('MD5') }}: {{ md5|default(_('(None)')) }}</p>
|
|
||||||
{% endif %}
|
|
||||||
<p>{{ _('New dataset') }}:
|
|
||||||
<input type="hidden" name="csrfToken" value="{{ handler.csrfToken }}">
|
|
||||||
<input type="file" name="file">
|
|
||||||
<input type="submit" value="{{ _('Upload') }}" class="rounded primary button">
|
|
||||||
</p>
|
|
||||||
</form>
|
|
||||||
{% endblock %}
|
|
||||||
Reference in new issue
Block a user