forked from RealistikOsu/RealistikPanel
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathclansview.html
52 lines (49 loc) · 1.62 KB
/
clansview.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
{% extends "base.html" %}
{% import "components/pagination.html" as pagination %}
{% block content %}
<h2 class="section-title">Clans</h2>
<p class="section-lead">View, edit and manage user-made clans!</p>
{{ pagination.pagination('/clans', page, Pages) }}
<div class="card">
<div class="card-header">Badges</div>
<di class="card-body">
<div class="table-responsive">
<table class="table table-striped">
<thead>
<tr>
<th scope="col">ID</th>
<th scope="col">Name</th>
<th scope="col">Description</th>
<th scope="col">Actions</th>
</tr>
</thead>
<tbody>
{% for Clan in Clans %}
<tr>
<td>{{ Clan["ID"] }}</td>
<td><b>[{{ Clan["Tag"] }}]</b> {{ Clan["Name"] }}</td>
<td>{{ Clan["Description"] }}</td>
<td>
<div class="buttons">
<a class="btn btn-warning" href="/clan/{{ Clan['ID'] }}"
>Edit</a
>
<a
class="btn btn-danger"
href="/clan/confirmdelete/{{ Clan['ID'] }}"
>Disband</a
>
</div>
</td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
</div>
<div class="card-footer">RealistikPanel</div>
</div>
<!--The page buttons-->
{{ pagination.pagination('/clans', page, Pages) }}
{{ pagination.paginationJs('/clans', page, Pages) }}
{% endblock %}