forked from rDrama/rDrama
fix
parent
99dddb28f2
commit
7a7586d001
|
@ -29,15 +29,6 @@
|
||||||
</small>
|
</small>
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
<li class="flex space-x-2">
|
|
||||||
<input type="checkbox" value="club" class="w-5 h-5" onchange="memeAdmin(this,'{{u.username}}')" {% if u.admin_level == 1%}checked{% endif %}>
|
|
||||||
<div>
|
|
||||||
<label class="label mb-0" for="club">Meme Moderator</label>
|
|
||||||
<small class="block text-gray-600 dark:text-gray-400">
|
|
||||||
Give @{{ u.username }} meme moderator status
|
|
||||||
</small>
|
|
||||||
</div>
|
|
||||||
</li>
|
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
|
@ -75,6 +66,21 @@
|
||||||
Danger Zone
|
Danger Zone
|
||||||
</h2>
|
</h2>
|
||||||
<ul class="flex flex-col mt-3 mb-0 space-y-6">
|
<ul class="flex flex-col mt-3 mb-0 space-y-6">
|
||||||
|
<li>
|
||||||
|
<div class="label text-black dark:text-gray-200">Meme Moderator Status</div>
|
||||||
|
<div id="sidebar-memeadmin" class="{% if u.admin_level == 1%}hidden{% endif %}">
|
||||||
|
<button class="btn btn-yellow w-full" onclick="post_toast2('/@{{u.username}}/make_meme_admin','sidebar-memeadmin','sidebar-unmemeadmin')">
|
||||||
|
<i class="fas fa-grin-squint-tears fa-sm fa-fw mr-4"></i>
|
||||||
|
Make meme admin
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
<div id="sidebar-unmemeadmin" class="{% if u.admin_level != 1 %}hidden{% endif %}">
|
||||||
|
<button class="btn btn-gray w-full" onclick="post_toast2('/@{{u.username}}/remove_meme_admin','sidebar-memeadmin','sidebar-unmemeadmin')">
|
||||||
|
<i class="fas fa-sad-cry fa-sm fa-fw mr-4"></i>
|
||||||
|
Remove meme admin
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<div class="label text-black dark:text-gray-200">Agendaposter Mode</div>
|
<div class="label text-black dark:text-gray-200">Agendaposter Mode</div>
|
||||||
<form id="sidebar-agendaposter" class="{% if u.agendaposter %}hidden{% endif %}" action="/agendaposter/{{u.id}}" method="post">
|
<form id="sidebar-agendaposter" class="{% if u.agendaposter %}hidden{% endif %}" action="/agendaposter/{{u.id}}" method="post">
|
||||||
|
|
Loading…
Reference in New Issue