From f711e6c0def655ef5e4385bbbe6a3a1da8384465 Mon Sep 17 00:00:00 2001 From: manetta Date: Fri, 18 Feb 2022 17:11:12 +0100 Subject: [PATCH] renaming post class to message --- LogBot/stylesheets/float.css | 4 ++-- LogBot/template.html | 4 ++-- LogBot/template.rss | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/LogBot/stylesheets/float.css b/LogBot/stylesheets/float.css index 11a5fe2..bbe5495 100644 --- a/LogBot/stylesheets/float.css +++ b/LogBot/stylesheets/float.css @@ -9,12 +9,12 @@ body { font-size: 16px; line-height: 1.6; } -.post { +div.post { max-width: 350px; margin: 1.5em 1em; float: left; } -.post p.key { +div.post p.key { margin: 2em 0 1em 5em; font-size: 12px; } diff --git a/LogBot/template.html b/LogBot/template.html index 657ead5..b89fe11 100644 --- a/LogBot/template.html +++ b/LogBot/template.html @@ -15,7 +15,7 @@

{{ num }}

{{ db[num]['date'] }}

{% if 'media' in db[num] %} -

+

{% if 'image' in db[num]['media']['type'] %} {% elif 'application' in db[num]['media']['type'] %} @@ -27,7 +27,7 @@ {% endif %}

{% else %} -

{{ db[num]['post'] }}

+

{{ db[num]['post'] }}

{% endif %} {% endfor %} diff --git a/LogBot/template.rss b/LogBot/template.rss index 919333a..dee4203 100644 --- a/LogBot/template.rss +++ b/LogBot/template.rss @@ -13,7 +13,7 @@ {{ log_path }}#{{ x }} {% if 'media' in post %} -

+

{% if 'image' in post.media.type %} {% elif 'application' in post.media.type %} @@ -27,7 +27,7 @@ {% endif %}

{% else %} -

{{ post.post }}

+

{{ post.post }}

{% endif %}
{% if 'media' in post %}{% endif %}