-
Notifications
You must be signed in to change notification settings - Fork 1
/
customers.html
34 lines (31 loc) · 1.07 KB
/
customers.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
{% extends 'partials/base.html' %}
{% block title %}Customer Page{% endblock %}
{% block content %}
{% include 'partials/topside.html' %}
<div class="row my-4">
<div class="col-md-4"></div>
<div class="col-md-8">
<table class="table bg-white">
<thead class="bg-info text-white">
<tr>
<th scope="col"></th>
<th scope="col">First</th>
<th scope="col">Phone</th>
<th scope="col">Email</th>
</tr>
</thead>
<tbody>
{% for customer in customer %}
<tr>
<th scope="row"><a class="btn btn-info btn-sm"
href="{% url 'dashboard-customer-detail' customer.id %}">View</a></th>
<td>{{ customer.username }}</td>
<td>{{ customer.profile.phone }}</td>
<td>{{ customer.email }}</td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
</div>
{% endblock %}