mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2024-11-15 02:21:21 +01:00
Fix moderate guest users card panel overflowing
This commit is contained in:
parent
8a2946aab0
commit
1e1936bcbe
@ -53,53 +53,58 @@
|
|||||||
<div class="col s12">
|
<div class="col s12">
|
||||||
<h2 class="header">Moderate Unauthenticated Members</h2>
|
<h2 class="header">Moderate Unauthenticated Members</h2>
|
||||||
<div class="card horizontal black-text indigo lighten-5 z-depth-3 hoverable">
|
<div class="card horizontal black-text indigo lighten-5 z-depth-3 hoverable">
|
||||||
<div class="card-stacked">
|
<div class="card-stacked" style="overflow-x: hidden;">
|
||||||
<div class="card-content">
|
<div class="card-content">
|
||||||
<p class="flow-text">Select Action</p>
|
<div class="row">
|
||||||
<table class="striped responsive-table">
|
<div class="col s12">
|
||||||
<thead>
|
|
||||||
<tr>
|
<p class="flow-text">Select Action</p>
|
||||||
<th>Kick User</th>
|
<table class="striped responsive-table">
|
||||||
<th>Ban User</th>
|
<thead>
|
||||||
<th>Username</th>
|
<tr>
|
||||||
<th>Discrim</th>
|
<th>Kick User</th>
|
||||||
<th>Last Visit</th>
|
<th>Ban User</th>
|
||||||
<th>IP Address</th>
|
<th>Username</th>
|
||||||
<th>Banned Timestamp</th>
|
<th>Discrim</th>
|
||||||
<th>Banned by</th>
|
<th>Last Visit</th>
|
||||||
<th>Banned Reason</th>
|
<th>IP Address</th>
|
||||||
<th>Ban Lifted by</th>
|
<th>Banned Timestamp</th>
|
||||||
</tr>
|
<th>Banned by</th>
|
||||||
</thead>
|
<th>Banned Reason</th>
|
||||||
<tbody>
|
<th>Ban Lifted by</th>
|
||||||
{% for member in members %}
|
</tr>
|
||||||
<tr>
|
</thead>
|
||||||
<td><a class="waves-effect waves-light btn orange" {% if "Kick Members" not in permissions or member["kicked"] %}disabled{% endif %} onclick='revoke_user( "{{ guild['id'] }}" , {{ member['id'] }} )' >Kick</a></td>
|
<tbody>
|
||||||
{% if not member["banned"] %}
|
{% for member in members %}
|
||||||
<td><a class="waves-effect waves-light btn red" {% if "Ban Members" not in permissions %}disabled{% endif %} {% if "Ban Members" in permissions %} onclick='initiate_ban( "{{ guild['id'] }}" , {{ member['id'] }} )' {% endif %} >Ban</a></td>
|
<tr>
|
||||||
{% else %}
|
<td><a class="waves-effect waves-light btn orange" {% if "Kick Members" not in permissions or member["kicked"] %}disabled{% endif %} onclick='revoke_user( "{{ guild['id'] }}" , {{ member['id'] }} )' >Kick</a></td>
|
||||||
<td><a class="waves-effect waves-light btn red lighten-2" {% if "Ban Members" not in permissions %}disabled{% endif %} {% if "Ban Members" in permissions %} onclick='remove_ban( "{{ guild['id'] }}" , {{ member['id'] }} )' {% endif %} >Lift</a></td>
|
{% if not member["banned"] %}
|
||||||
{% endif %}
|
<td><a class="waves-effect waves-light btn red" {% if "Ban Members" not in permissions %}disabled{% endif %} {% if "Ban Members" in permissions %} onclick='initiate_ban( "{{ guild['id'] }}" , {{ member['id'] }} )' {% endif %} >Ban</a></td>
|
||||||
<td>{{ member['username'] }}</td>
|
{% else %}
|
||||||
<td>{{ member['discrim'] }}</td>
|
<td><a class="waves-effect waves-light btn red lighten-2" {% if "Ban Members" not in permissions %}disabled{% endif %} {% if "Ban Members" in permissions %} onclick='remove_ban( "{{ guild['id'] }}" , {{ member['id'] }} )' {% endif %} >Lift</a></td>
|
||||||
<td>{{ member['last_visit'] }}</td>
|
{% endif %}
|
||||||
<td>{{ member['ip'] }}</td>
|
<td>{{ member['username'] }}</td>
|
||||||
<td>{{ member['banned_timestamp'] }}</td>
|
<td>{{ member['discrim'] }}</td>
|
||||||
<td>{{ member['banned_by'] }}</td>
|
<td>{{ member['last_visit'] }}</td>
|
||||||
<td>{{ member['banned_reason'] }}</td>
|
<td>{{ member['ip'] }}</td>
|
||||||
<td>{{ member['ban_lifted_by'] }}</td>
|
<td>{{ member['banned_timestamp'] }}</td>
|
||||||
</tr>
|
<td>{{ member['banned_by'] }}</td>
|
||||||
{% endfor %}
|
<td>{{ member['banned_reason'] }}</td>
|
||||||
</tbody>
|
<td>{{ member['ban_lifted_by'] }}</td>
|
||||||
</table>
|
</tr>
|
||||||
<p>Note that all bans are by IP. Seeing duplicates? It is because users are generated a unique session on each browser load.</p>
|
{% endfor %}
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
<p>Note that all bans are by IP. Seeing duplicates? It is because users are generated a unique session on each browser load.</p>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
{% block script %}
|
{% block script %}
|
||||||
<script type="text/javascript" src="{{ url_for('static', filename='js/administrate_guild.js') }}"></script>
|
<script type="text/javascript" src="{{ url_for('static', filename='js/administrate_guild.js') }}"></script>
|
||||||
|
Loading…
Reference in New Issue
Block a user