forked from rDrama/rDrama
fix
parent
f3e3a5309c
commit
1d2fb289db
|
@ -1,17 +1,47 @@
|
||||||
{% extends "CHRISTMAS/settings2.html" %}
|
{% extends "CHRISTMAS/default.html" %}
|
||||||
|
|
||||||
|
{% block subHeader %}
|
||||||
|
<div class="relative max-w-screen-2xl mx-auto px-4 py-4 grid grid-cols-12 rounded-t">
|
||||||
|
<div class="absolute top-0 left-0 w-full h-full bg-gradient-to-t from-gray-300 to-gray-200 dark:bg-none dark:bg-gray-800 rounded-t sub-header-shadow dark:border-b dark:border-gray-700 sub-header"></div>
|
||||||
|
<div class="relative col-span-full flex items-center">
|
||||||
|
<div>
|
||||||
|
<h1 class="font-bold text-xl font-heading leading-normal mb-0">
|
||||||
|
Grassed Users
|
||||||
|
</h1>
|
||||||
|
<ul class="flex space-x-2 text-xs text-gray-500 dark:text-gray-400 leading-normal mb-0">
|
||||||
|
<li>
|
||||||
|
<a href="/admin" class="text-gray-500 hover:underline">Admin Dashboard</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<i class="fas fa-arrow-alt-right text-shadow fa-fw fa-sm"></i>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="#" class="text-gray-700 dark:text-gray-500 hover:underline">Grassed Users</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div class="ml-auto">
|
||||||
|
<a href="/admin/awards" class="btn btn-gray">
|
||||||
|
<i class="fas fa-trophy fa-sm fa-fw mr-1"></i>
|
||||||
|
Grant Awards
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
{% endblock %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<table class="table table-striped mb-5">
|
<table class="table table-striped mb-5">
|
||||||
<thead class="bg-primary text-white">
|
<thead class="bg-primary text-white">
|
||||||
<tr>
|
<tr>
|
||||||
<th style="font-weight:bold;">#</th>
|
<th scope="col" class="p-2.5">#</th>
|
||||||
<th style="font-weight:bold;">Name</th>
|
<th scope="col" class="p-2.5">Username</th>
|
||||||
<th style="font-weight:bold;">Grasser</th>
|
<th scope="col" class="p-2.5">Grasser</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
{% for user in users %}
|
{% for user in users %}
|
||||||
<tr>
|
<tr class="odd:bg-gray-300 dark:odd:bg-white/[.05] hover:bg-gray-400 dark:hover:bg-white/10 hover:cursor-pointer">
|
||||||
<td style="font-weight:bold;">{{loop.index}}</td>
|
<td class="font-bold">{{loop.index}}</td>
|
||||||
<td><a style="color:#{{user.namecolor}}; font-weight:bold;" href="/@{{user.username}}"><img loading="lazy" src="/uid/{{user.id}}/pic" class="pp20"><span {% if user.patron %}class="patron" style="background-color:#{{user.namecolor}};"{% endif %}>{{user.username}}</span></a></td>
|
<td><a style="color:#{{user.namecolor}}; font-weight:bold;" href="/@{{user.username}}"><img loading="lazy" src="/uid/{{user.id}}/pic" class="pp20"><span {% if user.patron %}class="patron" style="background-color:#{{user.namecolor}};"{% endif %}>{{user.username}}</span></a></td>
|
||||||
<td style="font-weight:bold;">{{user.ban_reason.split('by ')[1]}}</td>
|
<td style="font-weight:bold;">{{user.ban_reason.split('by ')[1]}}</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
Loading…
Reference in New Issue