forked from rDrama/rDrama
1
0
Fork 0
master
kek7198 2021-12-27 22:23:30 -06:00
parent bc5dac493d
commit eeea259095
1 changed files with 20 additions and 2 deletions

View File

@ -115,10 +115,28 @@
<i class="fas fa-user-slash fa-sm fa-fw mr-2"></i>
Ban user
</button>
<!-- <input id="sidebar-ban-btn" type="submit" class="btn btn-red" value="Ban user" disabled> -->
</form>
{% endif %}
</li>
<li>
<div class="label text-black dark:text-gray-200">Content</div>
<form id="sidebar-unnuke" action="/admin/unnuke_user" method="post">
<input type="hidden" name="formkey", value="{{v.formkey}}">
<input type="hidden" name="user" value="{{u.username}}">
<button class="btn btn-green w-full">
<i class="fas fa-check fa-sm fa-fw mr-2"></i>
Approve all content
</button>
</form>
<form id="sidebar-nuke" action="/admin/nuke_user" method="post">
<input type="hidden" name="formkey", value="{{v.formkey}}">
<input type="hidden" name="user" value="{{u.username}}">
<button class="btn btn-red w-full">
<i class="fas fa-trash fa-sm fa-fw mr-2"></i>
Remove all content
</button>
</form>
</li>
{% endif %}
{% if v.admin_level > 2 %}
<li>
<div class="label text-black dark:text-gray-200">Admin persmissions</div>