34 lines
1.3 KiB
HTML
34 lines
1.3 KiB
HTML
{% extends "base.html" %}
|
|
|
|
{% block content %}
|
|
<div class="container">
|
|
<div class="row">
|
|
<div class="col-lg-8 col-md-7 col-sm-6">
|
|
<h2>Suchergebnisse</h2>
|
|
<table class="table table-hover">
|
|
<thead>
|
|
<tr>
|
|
<th scope="col">Name</th>
|
|
<th scope="col">Nächster Telefontag</th>
|
|
<th scope="col">Nächste Telefonzeit</th>
|
|
<th scope="col">Telefonnummer</th>
|
|
<th scope="col">Adresse</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for doctor in doctors %}
|
|
<tr class="table-secondary">
|
|
<th scope="row">{{ doctor.doctor_name }}</th>
|
|
<td>{{ doctor.phone_time.start.strftime("%A %d.%m") }}</td>
|
|
<td>{{ doctor.phone_time.start.strftime("%H:%M") }} bis {{ doctor.phone_time.end.strftime("%H:%M") }}</td>
|
|
<td>{{ doctor.doctor_phone_number }}</td>
|
|
<td>{{ doctor.doctor_address }}</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
{% endblock %} |