forked from rDrama/rDrama
fdfd
parent
3833f865a1
commit
9c3bc63b90
|
@ -4,7 +4,7 @@
|
|||
|
||||
{% block content %}
|
||||
<pre class="d-none d-md-inline-block"></pre>
|
||||
<h5 style="font-weight:bold;">Top 25 dramatards by dramacoins</h5>
|
||||
<h5 style="font-weight:bold;text-align: center;">Top 25 dramatards by dramacoins</h5>
|
||||
<pre></pre>
|
||||
<table class="table table-striped mb-5">
|
||||
<thead class="bg-primary text-white">
|
||||
|
@ -26,7 +26,7 @@
|
|||
|
||||
|
||||
</pre>
|
||||
<h5 style="font-weight:bold;">Top 10 dramatards by followers</h5>
|
||||
<h5 style="font-weight:bold;text-align: center;">Top 10 dramatards by followers</h5>
|
||||
<pre>
|
||||
|
||||
|
||||
|
@ -51,7 +51,7 @@
|
|||
|
||||
|
||||
</pre>
|
||||
<h5 style="font-weight:bold;">Top 10 dramatards by post count</h5>
|
||||
<h5 style="font-weight:bold;text-align: center;">Top 10 dramatards by post count</h5>
|
||||
<pre>
|
||||
|
||||
|
||||
|
@ -76,7 +76,7 @@
|
|||
|
||||
|
||||
</pre>
|
||||
<h5 style="font-weight:bold;">Top 10 dramatards by comment count</h5>
|
||||
<h5 style="font-weight:bold;text-align: center;">Top 10 dramatards by comment count</h5>
|
||||
<pre>
|
||||
|
||||
|
||||
|
|
|
@ -162,9 +162,9 @@
|
|||
|
||||
{% if v and v.admin_level == 6 and v.id!=p.author_id %}
|
||||
{% if p.author.is_banned %}
|
||||
<button class="btn btn-link btn-block btn-lg text-left text-danger" href="javascript:void(0)" onclick="post_toast('/api/unban_user/{{p.author_id}}?toast=1')"><i class="fas fa-user-minus mr-3 text-danger"></i>Unban user</a></button>
|
||||
<button class="btn btn-link btn-block btn-lg text-left" href="javascript:void(0)" onclick="post_toast('/api/unban_user/{{p.author_id}}?toast=1')"><i class="fas fa-user-minus mr-3 text-danger"></i>Unban user</a></button>
|
||||
{% else %}
|
||||
<button class="btn btn-link btn-block btn-lg text-left text-danger" href="javascript:void(0)" onclick="post_toast('/api/ban_user/{{p.author_id}}?toast=1')"><i class="fas fa-user-minus mr-3 text-danger"></i>Ban user</a></button>
|
||||
<button class="btn btn-link btn-block btn-lg text-left" href="javascript:void(0)" onclick="post_toast('/api/ban_user/{{p.author_id}}?toast=1')"><i class="fas fa-user-minus mr-3 text-danger"></i>Ban user</a></button>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
|
@ -376,18 +376,18 @@
|
|||
|
||||
{% if not v.id==p.author_id and v.admin_level == 1 %}
|
||||
<li id="sex-user-{{p.id}}" class="list-inline-item{% if p.is_blocking %} d-none{% endif %}"><a href="javascript:void(0)" onclick="post_toast('/settings/block?username={{p.author.username}}', callback=function(){document.getElementById('block-user-{{p.id}}').classList.toggle('d-none');document.getElementById('unblock-user-{{p.id}}').classList.toggle('d-none');})"
|
||||
><i class="fas fa-user-slash text-danger"></i>Ban user</a></li>
|
||||
><i class="fas fa-user-slash"></i>Ban user</a></li>
|
||||
<li id="unsex-user-{{p.id}}" class="list-inline-item{% if not p.is_blocking %} d-none{% endif %}"><a href="javascript:void(0)" onclick="post_toast('/settings/unblock?username={{p.author.username}}', callback=function(){document.getElementById('block-user-{{p.id}}').classList.toggle('d-none');document.getElementById('unblock-user-{{p.id}}').classList.toggle('d-none');})"
|
||||
><i class="fas fa-user-slash text-danger"></i>Unban user</a></li>
|
||||
><i class="fas fa-user-slash"></i>Unban user</a></li>
|
||||
{% endif %}
|
||||
|
||||
{% if v.admin_level >=3 and v.id!=p.author_id %}
|
||||
{% if p.author.is_banned %}
|
||||
<li class="list-inline-item"><a href="javascript:void(0)" onclick="post_toast('/api/unban_user/{{p.author_id}}')"
|
||||
><i class="fas fa-user-slash text-danger"></i>Unban user</a></li>
|
||||
><i class="fas fa-user-slash"></i>Unban user</a></li>
|
||||
{% else %}
|
||||
<li class="list-inline-item"><a href="javascript:void(0)" onclick="post_toast('/api/ban_user/{{p.author_id}}')"
|
||||
><i class="fas fa-user-slash text-danger"></i>Ban user</a></li>
|
||||
><i class="fas fa-user-slash"></i>Ban user</a></li>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
|
|
@ -331,9 +331,9 @@
|
|||
{% if v.admin_level >=3 %}
|
||||
{% if v.id!=p.author_id %}
|
||||
{% if p.author.is_banned %}
|
||||
<button class="btn btn-link btn-block btn-lg text-left text-danger" href="javascript:void(0)" onclick="post_toast('/api/unban_user/{{p.author_id}}')"><i class="fas fa-user-minus mr-3 text-danger"></i>Unban user</a></button>
|
||||
<button class="btn btn-link btn-block btn-lg text-left" href="javascript:void(0)" onclick="post_toast('/api/unban_user/{{p.author_id}}')"><i class="fas fa-user-minus mr-3 text-danger"></i>Unban user</a></button>
|
||||
{% else %}
|
||||
<button class="btn btn-link btn-block btn-lg text-left text-danger" href="javascript:void(0)" onclick="post_toast('/api/ban_user/{{p.author_id}}')"><i class="fas fa-user-minus mr-3 text-danger"></i>Ban user</a></button>
|
||||
<button class="btn btn-link btn-block btn-lg text-left" href="javascript:void(0)" onclick="post_toast('/api/ban_user/{{p.author_id}}')"><i class="fas fa-user-minus mr-3 text-danger"></i>Ban user</a></button>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
|
|
Loading…
Reference in New Issue