forked from rDrama/rDrama
fix
parent
c8d35a0f16
commit
685602bc6c
|
@ -75,6 +75,23 @@
|
|||
Danger Zone
|
||||
</h2>
|
||||
<ul class="flex flex-col mt-3 mb-0 space-y-6">
|
||||
<li>
|
||||
<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">
|
||||
<input type="hidden" name="formkey", value="{{v.formkey}}">
|
||||
<input type="number" step="any" name="days" class="form-input" placeholder="Days (0 or blank = permanent)" >
|
||||
<button class="btn btn-red w-full">
|
||||
<i class="fas fa-paint-brush fa-sm fa-fw mr-2"></i>
|
||||
Lock agendaposter theme
|
||||
</button>
|
||||
</form>
|
||||
<div id="sidebar-unagendaposter" class="{% if not u.agendaposter %}hidden{% endif %}">
|
||||
<button class="btn btn-gray" onclick="post_toast2('/agendaposter/{{u.id}}','sidebar-agendaposter','sidebar-unagendaposter')">
|
||||
<i class="fas fa-check fa-sm fa-fw mr-2"></i>
|
||||
Disable Agendaposter Theme
|
||||
</button>
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
{% if u.is_suspended %}
|
||||
<div class="label text-black dark:text-gray-200">Unban {{ u.username }}</div>
|
||||
|
|
Loading…
Reference in New Issue