mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-17 17:36:08 +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",
|
||||
"version": "4.34.30",
|
||||
"version": "4.34.31",
|
||||
"author": "undefined <i@undefined.moe>",
|
||||
"license": "AGPL-3.0",
|
||||
"main": "hydro.js",
|
||||
|
||||
@@ -4,20 +4,17 @@
|
||||
border-right: 1px solid $table-border-color
|
||||
|
||||
.col--user
|
||||
width: rem(140px)
|
||||
width: auto
|
||||
|
||||
.col--total_score
|
||||
.col--total_score, .col--time
|
||||
width: rem(100px)
|
||||
text-align: center
|
||||
|
||||
.col--problem, .col--record
|
||||
min-width: rem(100px)
|
||||
width: rem(100px)
|
||||
border-left: 1px solid $table-border-color
|
||||
text-align: center
|
||||
|
||||
+mobile()
|
||||
.col--user
|
||||
width: auto
|
||||
|
||||
.col--problem, .col--record
|
||||
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