add activities
This commit is contained in:
29
templates/pages/activities/index.html
Normal file
29
templates/pages/activities/index.html
Normal file
@ -0,0 +1,29 @@
|
||||
{% extends 'base.html' %}
|
||||
{% block content %}
|
||||
<div class="container">
|
||||
<table class="table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col">
|
||||
Id
|
||||
</th>
|
||||
<th scope="col">
|
||||
Имя
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for item in data %}
|
||||
<tr>
|
||||
<th scope="row">
|
||||
{{ item.id }}
|
||||
</th>
|
||||
<td>
|
||||
{{ item.name }}
|
||||
</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user