From 7c57542973b05e522f34f67768b6b10e80906600 Mon Sep 17 00:00:00 2001 From: yulixing Date: Mon, 25 Nov 2019 19:33:12 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- daily_report/templates/tap_weekly.html | 33 ++++++++++++++++---------- 1 file changed, 21 insertions(+), 12 deletions(-) diff --git a/daily_report/templates/tap_weekly.html b/daily_report/templates/tap_weekly.html index d87b408..f2ab6d5 100644 --- a/daily_report/templates/tap_weekly.html +++ b/daily_report/templates/tap_weekly.html @@ -85,6 +85,17 @@ .panel table tr:nth-child(even) { background-color: #f3f3f3; } + + .panel .part { + margin-bottom: 16px; + } + .panel .part .title { + margin-bottom: 8px; + font-weight: 700; + } + .panel .part .content span:nth-child(2n) { + margin-right: 16px; + } @@ -96,19 +107,17 @@ {{ "各榜单TAGS分布(前三)" }}
- - - {% for key in tags.keys() %} - - - {% for one in tags.get(key) %} - - - {% endfor %} - + {% for key in tags.keys() %} +
+
{{ key }}
+
+ {% for one in tags.get(key) %} + {{ one[0] }} + {{ one[1] }} {% endfor %} -
-
{{ key }}{{ one[0] }}{{ one[1] }}
+
+ + {% endfor %}