From cdf2f84a860a8115716ca1cab7676d4e51e677c9 Mon Sep 17 00:00:00 2001 From: Tdxdxoz Date: Wed, 30 Dec 2020 14:57:06 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E9=BB=98=E8=AE=A4=E5=B1=95=E7=A4=BA?= =?UTF-8?q?=E7=AC=AC=E4=B8=80=E4=B8=AA=E5=AD=97=E6=AF=8D=E7=9A=84=E8=AF=BE?= =?UTF-8?q?=E7=A8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/list.html | 48 ++++++++++++++++++++++++++++++++------------- 1 file changed, 34 insertions(+), 14 deletions(-) diff --git a/templates/list.html b/templates/list.html index be9211d..61410f7 100644 --- a/templates/list.html +++ b/templates/list.html @@ -41,7 +41,7 @@ font-weight: 300; } - .num-info-active{ + .num-info.active{ font-family: 'Noto Serif SC', serif; font-weight: 700; } @@ -355,15 +355,23 @@
-
- {% for k, courses in all_courses_abc.items() %} -
{{k}}
- {% for c, count in courses %} - - {{c}} - ({{count}}) - - {% endfor %} +
+
+ + {% for k in all_courses_abc %} + + {% endfor %} +
+ {% for k, courses in all_courses_abc.items() %} +
+
{{k}}
+ {% for c, count in courses %} + + {{c}} + ({{count}}) + + {% endfor %} +
{% endfor %}
@@ -441,11 +449,11 @@ @{{'匿名用户' if p.anon else p.author}} | {{p.create_date}}
- 去下载({{p.down_num}}) + 去下载({{p.down_num}})