OrdersApp/templates/diaxeirisi/Dashboard.Customers.html
Argyrios Deligiannidis af7c12dc85 SpitiGlykou
2022-06-26 23:37:10 +03:00

64 lines
2.7 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{% load static %}
{% include "diaxeirisi/00_head.html" %}
<body id="app-container" class="menu-default show-spinner">
{% include "diaxeirisi/01_menu.html" %}
<main>
<div class="container-fluid">
<div class="row mb-4">
<div class="col-12">
<h2>Καταστήματα</h2>
<div class="separator mb-5"></div>
{% if messages %}
<div class="alert alert-success">
{% for m in messages %}
<li{% if message.tags %} class="{{ message.tags }}"{% endif %}>{{ m }}</li>
{% endfor %}
</div>
{% endif %}
</div>
<div class="col-12 col-xl-8 mb-4 mx-auto">
<div class="card">
<div class="card-body">
<table class="table table-responsive data-table data-table-feature5">
<thead>
<tr>
<th>Α/Α</th>
<th>Όνομα</th>
<th>Διεύθυνση</th>
<th>Τηλέφωνο</th>
<th>Facebook/Instagram</th>
<th>Διαγραφή</th>
</tr>
</thead>
<tbody>
{% for db_object in DB_Objects %}
<tr>
<td>{{ db_object.id }}</td>
<td>{{ db_object.name }}</td>
<td>{{ db_object.address }}</td>
<td>{{ db_object.telephone }}</td>
<td>{{ db_object.social_media}}</td>
<td>
<a href="/dx/customer/delete/{{ db_object.id }}/">
<button type="button" class="btn btn-outline-danger">
Διαγραφή</button>
</a>
</td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
</main>
{% include "diaxeirisi/99_footer.html" %}