Gremlin-Python/templates/contacts.html

28 lines
900 B
HTML

{% extends "layout.html" %}
{% block body %}
<h1>Contacts</h1>
<a href="/">Return</a>
<table class="table table-dark table-striped table-hover">
<thead>
<tr>
<th scope=" col">Last Name</th>
<th scope="col">First Name</th>
<th scope="col">Account Name</th>
<th scope="col">E-Mail</th>
<th scope="col">Phone</th>
</tr>
</thead>
<tbody class="table-group-divider">
{% for contact in contacts %}
<tr>
<th scope="row">{{ contact['Last Name'] }}</th>
<td>{{ contact['First Name'] }}</td>
<td><a href="/accounts?accountname=" + {{ contact['Acct Name 1 and 2'] }}>{{ contact['Acct Name 1 and 2']}}</a></td>
<td>{{ contact['E-Mail'] }}</td>
<td>{{ contact['Phone'] }}</td>
</tr>
{% endfor %}
</tbody>
</table>
{% endblock %}