mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
ui: ranking: 显示通过数量
This commit is contained in:
1 parent
b7348e4be3
commit
10c3a62168
3 files changed
+10
-4
No files matched your search
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@hydrooj/ui-default",
|
"name": "@hydrooj/ui-default",
|
||||||
"version": "4.20.7",
|
"version": "4.20.8",
|
||||||
"author": "undefined <i@undefined.moe>",
|
"author": "undefined <i@undefined.moe>",
|
||||||
"license": "AGPL-3.0",
|
"license": "AGPL-3.0",
|
||||||
"main": "hydro.js",
|
"main": "hydro.js",
|
||||||
|
|||||||
@@ -1,16 +1,19 @@
|
|||||||
.page--ranking, .page--homepage
|
.page--ranking, .page--homepage
|
||||||
.col--rank
|
.col--rank
|
||||||
width: rem(70px)
|
width: rem(65px)
|
||||||
position: relative
|
position: relative
|
||||||
|
|
||||||
.col--user
|
.col--user
|
||||||
width: rem(200px)
|
width: rem(220px)
|
||||||
text-align: center
|
|
||||||
|
|
||||||
.col--rp
|
.col--rp
|
||||||
width: rem(80px)
|
width: rem(80px)
|
||||||
text-align: right
|
text-align: right
|
||||||
|
|
||||||
|
.col--ac
|
||||||
|
width: rem(70px)
|
||||||
|
text-align: right
|
||||||
|
|
||||||
.col--bio
|
.col--bio
|
||||||
height: 36px !important;
|
height: 36px !important;
|
||||||
display: block;
|
display: block;
|
||||||
|
|||||||
@@ -15,6 +15,7 @@
|
|||||||
<col class="col--rank">
|
<col class="col--rank">
|
||||||
<col class="col--user">
|
<col class="col--user">
|
||||||
<col class="col--rp">
|
<col class="col--rp">
|
||||||
|
<col class="col--ac">
|
||||||
<col class="col--bio">
|
<col class="col--bio">
|
||||||
</colgroup>
|
</colgroup>
|
||||||
<thead>
|
<thead>
|
||||||
@@ -22,6 +23,7 @@
|
|||||||
<th class="col--rank">{{ _('Rank') }}</th>
|
<th class="col--rank">{{ _('Rank') }}</th>
|
||||||
<th class="col--user">{{ _('Username') }}</th>
|
<th class="col--user">{{ _('Username') }}</th>
|
||||||
<th class="col--rp">{{ _('RP') }}</th>
|
<th class="col--rp">{{ _('RP') }}</th>
|
||||||
|
<th class="col--ac">{{ _('Accept') }}</th>
|
||||||
<th class="col--bio">{{ _('Bio') }}</th>
|
<th class="col--bio">{{ _('Bio') }}</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
@@ -31,6 +33,7 @@
|
|||||||
<td class="col--rank">{{ (page - 1) * 100 + loop.index }}</td>
|
<td class="col--rank">{{ (page - 1) * 100 + loop.index }}</td>
|
||||||
<td class="col--user">{{ user.render_inline(udoc) }}</td>
|
<td class="col--user">{{ user.render_inline(udoc) }}</td>
|
||||||
<td class="col--rp">{{ udoc.rp|default(1500)|round(0) }}</td>
|
<td class="col--rp">{{ udoc.rp|default(1500)|round(0) }}</td>
|
||||||
|
<td class="col--ac">{{ udoc.nAccept|default(0) }}</td>
|
||||||
<td class="col--bio">{{ udoc.bio|default('')|truncate(64, true)|markdownInline|safe }}</td>
|
<td class="col--bio">{{ udoc.bio|default('')|truncate(64, true)|markdownInline|safe }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
{%- endfor -%}
|
{%- endfor -%}
|
||||||
|
|||||||
Reference in new issue
Block a user