45 lines
2.4 KiB
HTML
45 lines
2.4 KiB
HTML
|
|
<div class="d-flex justify-content-between align-items-center mb-4">
|
||
|
|
<div>
|
||
|
|
<h5 class="fw-bold mb-0">Kontaktpersoner</h5>
|
||
|
|
<small class="text-muted">Direkte kontaktoplysninger for denne {{ contact_owner_label }}</small>
|
||
|
|
</div>
|
||
|
|
<button class="btn btn-primary btn-sm" onclick="{{ contact_add_handler }}()">
|
||
|
|
<i class="bi bi-plus-lg me-2"></i>Tilføj Kontakt
|
||
|
|
</button>
|
||
|
|
</div>
|
||
|
|
{% include "shared/frontend/contact_mail_import.html" %}
|
||
|
|
<div class="contacts-toolbar">
|
||
|
|
<div class="input-group contacts-search">
|
||
|
|
<span class="input-group-text"><i class="bi bi-search"></i></span>
|
||
|
|
<input type="search" class="form-control" id="contactsSearchInput" placeholder="Søg i navn, titel, email eller nummer">
|
||
|
|
</div>
|
||
|
|
<div class="d-flex align-items-center gap-2 flex-wrap">
|
||
|
|
<button type="button" class="btn btn-sm btn-outline-secondary" id="contactsOnlyCallableToggle">Kun med nummer</button>
|
||
|
|
<button type="button" class="btn btn-sm btn-outline-secondary" id="contactsClearFilters">Nulstil</button>
|
||
|
|
<span class="badge text-bg-light border" id="contactsResultCount">0</span>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
<div class="contacts-panel">
|
||
|
|
<div class="table-responsive" id="contactsContainer">
|
||
|
|
<table class="table table-hover align-middle contacts-table">
|
||
|
|
<thead>
|
||
|
|
<tr>
|
||
|
|
<th>Navn</th>
|
||
|
|
<th>Titel</th>
|
||
|
|
<th>Email</th>
|
||
|
|
<th>Telefon</th>
|
||
|
|
<th>Mobil</th>
|
||
|
|
<th>Primær</th>
|
||
|
|
</tr>
|
||
|
|
</thead>
|
||
|
|
<tbody>
|
||
|
|
<tr>
|
||
|
|
<td colspan="6" class="text-center py-4">
|
||
|
|
<div class="spinner-border text-primary"></div>
|
||
|
|
</td>
|
||
|
|
</tr>
|
||
|
|
</tbody>
|
||
|
|
</table>
|
||
|
|
</div>
|
||
|
|
</div>
|