forked from MarseyWorld/MarseyWorld
Merge branch 'master' of https://github.com/Aevann1/Drama
commit
cb97d2f746
|
@ -13,9 +13,9 @@
|
|||
{% for user in users %}
|
||||
<tr>
|
||||
<td style="font-weight:bold;">{{users.index(user)+1}}</td>
|
||||
<td><a style="color:#{{user.namecolor}}; font-weight:bold;" href="/@{{user.username}}">{{user.username}}</a></td>
|
||||
<td><a {% if user.patron %}class="patron"{% endif %} style="color:#{{user.namecolor}}; font-weight:bold;" href="/@{{user.username}}">{{user.username}}</a></td>
|
||||
<td style="font-weight:bold;">{% if user.ban_reason %}{{user.ban_reason}}{% endif %}</td>
|
||||
<td><a style="color:#{{user.banned_by.namecolor}}; font-weight:bold;" href="/@{{user.banned_by.username}}">{{user.banned_by.username}}</a></td>
|
||||
<td><a {% if user.banned_by.patron %}class="patron"{% endif %} style="color:#{{user.banned_by.namecolor}}; font-weight:bold;" href="/@{{user.banned_by.username}}">{{user.banned_by.username}}</a></td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
|
|
|
@ -14,8 +14,8 @@
|
|||
</thead>
|
||||
{% for user in users %}
|
||||
<tr>
|
||||
<td><a style="font-weight:bold;color:#{{user.namecolor}};" href="/@{{user.username}}">{{user.username}}</a></td>
|
||||
<td><a style="font-weight:bold;color:#{{targets[loop.index-1].namecolor}};" href="/@{{targets[loop.index-1].username}}">{{targets[loop.index-1].username}}</a></td>
|
||||
<td><a {% if user.patron %}class="patron"{% endif %} style="font-weight:bold;color:#{{user.namecolor}};" href="/@{{user.username}}">{{user.username}}</a></td>
|
||||
<td><a {% if targets[loop.index-1].patron %}class="patron"{% endif %} style="font-weight:bold;color:#{{targets[loop.index-1].namecolor}};" href="/@{{targets[loop.index-1].username}}">{{targets[loop.index-1].username}}</a></td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
{% for user in users1 %}
|
||||
<tr>
|
||||
<td style="font-weight:bold;">{{users1.index(user)+1}}</td>
|
||||
<td><a style="color:#{{user.namecolor}}; font-weight:bold;" href="/@{{user.username}}">{{user.username}}</a></td>
|
||||
<td><a {% if user.patron %}class="patron"{% endif %} style="color:#{{user.namecolor}}; font-weight:bold;" href="/@{{user.username}}">{{user.username}}</a></td>
|
||||
<td style="font-weight:bold; text-align:right;">{{user.dramacoins}}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
|
@ -42,7 +42,7 @@
|
|||
{% for user in users2 %}
|
||||
<tr>
|
||||
<td style="font-weight:bold;">{{users2.index(user)+1}}</td>
|
||||
<td style="font-weight:bold;"><a style="color:#{{user.namecolor}}" href="/@{{user.username}}">{{user.username}}</a></td>
|
||||
<td {% if user.patron %}class="patron"{% endif %} style="font-weight:bold;"><a style="color:#{{user.namecolor}}" href="/@{{user.username}}">{{user.username}}</a></td>
|
||||
<td style="font-weight:bold; text-align:right;">{{user.follower_count}}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
|
|
|
@ -380,7 +380,7 @@
|
|||
<pre></pre>
|
||||
|
||||
{% if u.shadowbanned %}
|
||||
<a class="btn btn-danger" href="javascript:void(0)" onclick="post('/unshadowban/{{u.id}}', function(){window.location.reload(true);})">Unshadowban</a>
|
||||
<a class="btn btn-success" href="javascript:void(0)" onclick="post('/unshadowban/{{u.id}}', function(){window.location.reload(true);})">Unshadowban</a>
|
||||
{% else %}
|
||||
<a class="btn btn-danger" href="javascript:void(0)" onclick="post('/shadowban/{{u.id}}', function(){window.location.reload(true);})">Shadowban</a>
|
||||
{% endif %}
|
||||
|
|
Loading…
Reference in New Issue