remotes/1693045480750635534/spooky-22
kek7198 2021-12-31 14:40:19 -06:00
parent 84a0677bdd
commit 528ecaafea
1 changed files with 10 additions and 6 deletions

View File

@ -11,12 +11,14 @@
Moderation Log
</h1>
<ul class="flex space-x-2 text-xs text-gray-500 dark:text-gray-400 leading-normal mb-0">
{% if v and v.admin_level > 2 %}
<li>
<a href="/admin" class="text-gray-500 hover:underline">Admin Dashboard</a>
</li>
<li>
<i class="fas fa-arrow-alt-right text-shadow fa-fw fa-sm"></i>
</li>
{% endif %}
<li>
<a href="#" class="text-gray-700 dark:text-gray-500 hover:underline">Moderation Log</a>
</li>
@ -32,16 +34,18 @@
{% endif %}
</button>
<ul class="dropdown-menu w-56 bg-gray-900 rounded-md shadow-lg" aria-labelledby="dropdownLogSortsButton" x-placement="bottom-start">
<li class="{% if request.path=="/admin/reported/posts" %}hidden{% endif %}">
<a class="dropdown-item dropdown-item-primary" href="/admin/reported/posts">
<i class="fas fa-pencil fa-sm fa-fw mr-4"></i>Posts
<li>
<a class="dropdown-item" href="/log{% if type %}?kind={{type}}{% endif %}">
<img src="/assets/images/emojis/marseyjanny.webp" alt="default mod avatar" class="w-8 h-8 object-cover mr-2">All
</a>
</li>
<li class="{% if request.path=="/admin/reported/comments" %}hidden{% endif %}">
<a class="dropdown-item dropdown-item-primary" href="/admin/reported/comments">
<i class="fas fa-comment-alt fa-sm fa-fw mr-4"></i>Comments
{% for a in admins %}
<li>
<a class="dropdown-item" href="?admin={{a}}{% if type %}&kind={{type}}{% endif %}">
<img src="/@{{a}}/pic" alt="{{ a }} avatar" class="w-8 h-8 object-cover mr-2">{{ a }}
</a>
</li>
{% endfor %}
</ul>
</div>
</div>