core: buildContent: sv for samples
core&ui: record_main: filter_by_status
ui: scoreboard: colorize
This commit is contained in:
undefined committed 2021-05-05 21:10:17 +08:00
1 parent b0cf638616
commit 7d7d3c1599
14 files changed
+69 -38

No files matched your search

@@ -40,7 +40,9 @@
{% if column.type == 'user' %}
{{ user.render_inline(udict[column.raw], badge=false) }}
{% elif column.type == 'record' and column.raw %}
<a href="{{ url('record_detail', rid=column.raw) }}">{{ column.value }}</a>
<a href="{{ url('record_detail', rid=column.raw) }}">
<span style="font-weight:bold;color:{{ utils.status.getScoreColor(column.value) }}">{{ column.value }}</span>
</a>
{% else %}
{{ column.value }}
{% endif %}