remotes/1693045480750635534/spooky-22
kek7198 2021-12-06 00:22:35 -06:00
parent 1fa9c73119
commit 92e32a1786
2 changed files with 11 additions and 12 deletions

View File

@ -88,7 +88,7 @@
<div class="col-span-full xl:col-span-9"> <div class="col-span-full xl:col-span-9">
{% if error %} {% if error %}
<div class="mt-4 mb-0 alert show fade rounded-lg shadow-lg p-3 text-gray-200 bg-red-600 border border-gray-900 shadow-inset-t-white-10" role="alert"> <div class="mt-4 mb-0 alert show fade rounded-lg shadow-lg p-3 text-gray-200 bg-red-600 border border-red-900 shadow-inset-t-white-10" role="alert">
<i class="fas fa-exclamation-circle fa-fw mr-1"></i> <i class="fas fa-exclamation-circle fa-fw mr-1"></i>
<span class="font-medium"> <span class="font-medium">
{{error}} {{error}}
@ -99,7 +99,7 @@
</div> </div>
{% endif %} {% endif %}
{% if msg %} {% if msg %}
<div class="mt-4 mb-0 alert show fade rounded-lg shadow-lg p-3 text-gray-200 bg-green-600 border border-gray-900 shadow-inset-t-white-10" role="alert"> <div class="mt-4 mb-0 alert show fade rounded-lg shadow-lg p-3 text-gray-200 bg-green-600 border border-green-900 shadow-inset-t-white-10" role="alert">
<i class="fas fa-check-circle fa-fw mr-1"></i> <i class="fas fa-check-circle fa-fw mr-1"></i>
<span class="font-medium"> <span class="font-medium">
{{msg}} {{msg}}

View File

@ -215,23 +215,22 @@
{% block content %} {% block content %}
{% if p.is_banned and p.ban_reason %}
<div class="col-span-full xl:col-span-9"> <div class="col-span-full xl:col-span-9">
<div class="mt-4 mb-0 rounded-lg shadow-lg p-3 text-gray-200 bg-red-600 border border-gray-900 shadow-inset-t-white-10">
<i class="fas fa-gavel fa-fw mr-1"></i> <!-- Non-dismissable Alerts -->
<span class="font-medium"> {% if p.is_banned and p.ban_reason %}
Removed by @{{p.ban_reason}} <div class="mt-4 mb-0 rounded-lg shadow-lg p-3 text-gray-200 bg-red-600 border border-red-900 shadow-inset-t-white-10">
</span> <i class="fas fa-gavel fa-fw mr-1"></i>
</div> <span class="font-medium">
Removed by @{{p.ban_reason}}
</span>
</div> </div>
{% endif %} {% endif %}
<div class="col-span-full xl:col-span-9">
<!-- Post --> <!-- Post -->
<div id="post-root" class="sm:py-4 my-2.5 sm:my-0"> <div id="post-root" class="sm:py-4 my-2.5 sm:my-0">
<div id="post-{{p.id}}" class="w-full p-2.5 md:p-0 {% if voted==1 %}upvoted{% elif voted==-1 %}downvoted{% endif %} {% if p.is_banned %}bg-red-100{% endif %}"> <div id="post-{{p.id}}" class="w-full p-2.5 md:p-0 {% if voted==1 %}upvoted{% elif voted==-1 %}downvoted{% endif %}">
<div class="{% if p.deleted_utc > 0 %}deleted {% endif %} flex flex-row-reverse flex-nowrap justify-end"> <div class="{% if p.deleted_utc > 0 %}deleted {% endif %} flex flex-row-reverse flex-nowrap justify-end">
{% if not p.is_image and p.thumb_url and not p.embed_url %} {% if not p.is_image and p.thumb_url and not p.embed_url %}