diff --git a/src/reports/templates/scrapbook/image_template.html b/src/reports/templates/scrapbook/image_template.html index 3b2da8f..34263bc 100644 --- a/src/reports/templates/scrapbook/image_template.html +++ b/src/reports/templates/scrapbook/image_template.html @@ -785,46 +785,11 @@ - -
-
-
-
-
-
-
- - - - 今日话题 Topics -
- {{topics_html}} -
+ {{topics_html}} - -
-
- - - - 群友画像 Portraits -
-
- {{titles_html}} -
-
+ {{titles_html}} - -
-
- - - - 群贤毕至 Bible Quotes -
- {{quotes_html}} -
+ {{quotes_html}} diff --git a/src/reports/templates/scrapbook/pdf_template.html b/src/reports/templates/scrapbook/pdf_template.html index 3b2da8f..34263bc 100644 --- a/src/reports/templates/scrapbook/pdf_template.html +++ b/src/reports/templates/scrapbook/pdf_template.html @@ -785,46 +785,11 @@ - -
-
-
-
-
-
-
- - - - 今日话题 Topics -
- {{topics_html}} -
+ {{topics_html}} - -
-
- - - - 群友画像 Portraits -
-
- {{titles_html}} -
-
+ {{titles_html}} - -
-
- - - - 群贤毕至 Bible Quotes -
- {{quotes_html}} -
+ {{quotes_html}} diff --git a/src/reports/templates/scrapbook/quote_item.html b/src/reports/templates/scrapbook/quote_item.html index 0e1a223..79d7529 100644 --- a/src/reports/templates/scrapbook/quote_item.html +++ b/src/reports/templates/scrapbook/quote_item.html @@ -1,13 +1,23 @@ -{% for quote in quotes %} -
-
-
"
-
{{ quote.content }}
-
— {{ quote.sender }}
+{% if quotes %} +
+
+ + + + 群贤毕至 Bible Quotes
-
- 🤣👉 AI 锐评: - {{ quote.reason }} + {% for quote in quotes %} +
+
+
"
+
{{ quote.content }}
+
— {{ quote.sender }}
+
+
+ 🤣👉 AI 锐评: + {{ quote.reason }} +
+ {% endfor %}
-{% endfor %} \ No newline at end of file +{% endif %} \ No newline at end of file diff --git a/src/reports/templates/scrapbook/topic_item.html b/src/reports/templates/scrapbook/topic_item.html index a096609..cc71f47 100644 --- a/src/reports/templates/scrapbook/topic_item.html +++ b/src/reports/templates/scrapbook/topic_item.html @@ -1,17 +1,32 @@ -{% for topic in topics %} -
-
-
+{% if topics %} +
+
+
+
+
-
-
- {{ topic.topic.topic }} - #{{ "%02d"|format(topic.index) }} -
-
- 🙋‍♀️ 参与者: {{ topic.contributors }} -
-
{{ topic.topic.detail }}
+
+ + + + 今日话题 Topics
+ {% for topic in topics %} +
+
+
+
+
+
+ {{ topic.topic.topic }} + #{{ "%02d"|format(topic.index) }} +
+
+ 🙋‍♀️ 参与者: {{ topic.contributors }} +
+
{{ topic.topic.detail }}
+
+
+ {% endfor %}
-{% endfor %} \ No newline at end of file +{% endif %} \ No newline at end of file diff --git a/src/reports/templates/scrapbook/user_title_item.html b/src/reports/templates/scrapbook/user_title_item.html index da25f33..a63a090 100644 --- a/src/reports/templates/scrapbook/user_title_item.html +++ b/src/reports/templates/scrapbook/user_title_item.html @@ -1,24 +1,36 @@ -{% for title in titles %} -
-
-
-
- {% if title.avatar_data %} - 头像 - {% else %} - - {% endif %} -
-
-
{{ title.name }}
-
- {{ title.title }} - {{ title.mbti }} +{% if titles %} +
+
+ + + + 群友画像 Portraits +
+
+ {% for title in titles %} +
+
+
+
+ {% if title.avatar_data %} + 头像 + {% else %} + + {% endif %} +
+
+
{{ title.name }}
+
+ {{ title.title }} + {{ title.mbti }} +
+
+
+
+ {{ title.reason }}
-
-
- {{ title.reason }} + {% endfor %}
-{% endfor %} \ No newline at end of file +{% endif %} \ No newline at end of file