massive update
This commit is contained in:
46
templates/pages/division/index.html
Normal file
46
templates/pages/division/index.html
Normal file
@ -0,0 +1,46 @@
|
||||
{% extends 'base.html' %}
|
||||
{% block content %}
|
||||
<div class="container">
|
||||
<table class="table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col">
|
||||
Id
|
||||
</th>
|
||||
<th scope="col">
|
||||
Имя
|
||||
</th>
|
||||
<th scope="col">
|
||||
Краткое имя
|
||||
</th>
|
||||
<th scope="col">
|
||||
Email
|
||||
</th>
|
||||
<th scope="col">
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for item in data %}
|
||||
<tr>
|
||||
<th scope="row">
|
||||
{{ item.id }}
|
||||
</th>
|
||||
<td>
|
||||
{{ item.name }}
|
||||
</td>
|
||||
<td>
|
||||
{{ item.short_name }}
|
||||
</td>
|
||||
<td>
|
||||
{{ item.contact_info.email }}
|
||||
</td>
|
||||
<td>
|
||||
<a href="{{ url_for('enterprise_details', ent_id=item.id) }}">Детали</a>
|
||||
</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user