From bb0767641d548a16a8ccab871ffcf8c3f17acfda Mon Sep 17 00:00:00 2001 From: Bobby Date: Sun, 4 Jun 2023 21:57:43 -0400 Subject: Added Status Icon in Comment Avatars --- static/css/styles.css | 6 ++++++ static/images/site/check.png | Bin 0 -> 72200 bytes static/images/site/unknown.png | Bin 0 -> 118845 bytes templates/blog/post.html | 15 ++++++--------- 4 files changed, 12 insertions(+), 9 deletions(-) create mode 100644 static/images/site/check.png create mode 100644 static/images/site/unknown.png diff --git a/static/css/styles.css b/static/css/styles.css index f49bbf44..50672ddf 100644 --- a/static/css/styles.css +++ b/static/css/styles.css @@ -51,6 +51,12 @@ a, /* color: #a591ee; */ color: #d2baff; text-decoration: none; + cursor: pointer; +} + +img.little-staus { + height: 24px; + position: relative; } #fake-banner-ad { diff --git a/static/images/site/check.png b/static/images/site/check.png new file mode 100644 index 00000000..f34ae14f Binary files /dev/null and b/static/images/site/check.png differ diff --git a/static/images/site/unknown.png b/static/images/site/unknown.png new file mode 100644 index 00000000..85180ba9 Binary files /dev/null and b/static/images/site/unknown.png differ diff --git a/templates/blog/post.html b/templates/blog/post.html index 6b1f2bf9..422e4a3d 100644 --- a/templates/blog/post.html +++ b/templates/blog/post.html @@ -97,18 +97,15 @@ Profile Picture + {% if not comment.user %} + Anonymous User + {% else %} + Registered User + {% endif %}
- - {% if comment.user %} - {{ comment.user.username }} - {% else %} - {{ comment.anonymous_user.name }} - {% endif %} - on - {{ comment.created_at | date:"M d, Y" }} - + {% if comment.user %}{{ comment.user.username }}{% else %}{{ comment.anonymous_user.name }}{% endif %} on {{ comment.created_at | date:"M d, Y" }} {% if comment.edited %} (Edited) {% endif %} -- cgit v1.2.3