mirror of
https://github.com/house-of-vanity/libopenanal.git
synced 2025-07-07 13:44:07 +00:00
Detect abused values.
This commit is contained in:
@ -80,7 +80,15 @@
|
||||
<tr>
|
||||
<th scope="row">{{loop.index}}</th>
|
||||
<td>{{word[0]}}</td>
|
||||
{% if not loop.last %}
|
||||
{% if (word[1]/loop.nextitem[1]) > 2 %}
|
||||
<td><span class="badge badge-danger" data-toggle="tooltip" data-placement="right" title="Must have been abused">{{word[1]}} </span></td>
|
||||
{% else %}
|
||||
<td><span class="badge badge-secondary">{{word[1]}} </span></td>
|
||||
{% endif %}
|
||||
{% else %}
|
||||
<td><span class="badge badge-secondary">{{word[1]}} </span></td>
|
||||
{% endif %}
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
@ -92,26 +100,26 @@
|
||||
<div class="card-body">
|
||||
<h5 class="card-title">Chats</h5>
|
||||
<p class="card-text">
|
||||
<table class="table table-hover table-sm">
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col">#</th>
|
||||
<th scope="col">Chat</th>
|
||||
<th scope="col">Words said</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for chat in user_info.chats %}
|
||||
<tr>
|
||||
<th scope="row">{{loop.index}}</th>
|
||||
<td>{{chat[0]}}</td>
|
||||
<td><span class="badge badge-secondary">{{chat[1]}} </span></td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
</p>
|
||||
</div>
|
||||
<table class="table table-hover table-sm">
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col">#</th>
|
||||
<th scope="col">Chat</th>
|
||||
<th scope="col">Words said</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for chat in user_info.chats %}
|
||||
<tr>
|
||||
<th scope="row">{{loop.index}}</th>
|
||||
<td>{{chat[0]}}</td>
|
||||
<td><span class="badge badge-secondary">{{chat[1]}} </span></td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
Reference in New Issue
Block a user