mirror of
https://github.com/getnamingo/registry.git
synced 2025-08-04 08:41:50 +02:00
Tiny updates to the control panel
This commit is contained in:
parent
29400f319f
commit
4abca19ba3
7 changed files with 229 additions and 25 deletions
|
@ -45,19 +45,40 @@
|
|||
<div class="card">
|
||||
<div class="card-body">
|
||||
<div id="table-default" class="table-responsive">
|
||||
<table id="contactTable" class="table">
|
||||
<table class="table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th><button class="table-sort" data-sort="sort-id">ID</button></th>
|
||||
<th><button class="table-sort" data-sort="sort-email">Email</button></th>
|
||||
<th><button class="table-sort" data-sort="sort-crdate">Creation Date</button></th>
|
||||
<th><button class="table-sort" data-sort="sort-registrar">Registrar</button></th>
|
||||
<th><button class="table-sort" data-sort="sort-email">Identifier</button></th>
|
||||
<th><button class="table-sort" data-sort="sort-crdate">Name</button></th>
|
||||
<th><button class="table-sort" data-sort="sort-registrar">Email</button></th>
|
||||
<th><button class="table-sort" data-sort="sort-status">Status</button></th>
|
||||
<th><button class="table-sort" data-sort="sort-status">Associated</button></th>
|
||||
<th>Actions</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody class="table-tbody">
|
||||
<!-- Rows will be added here dynamically -->
|
||||
{% for contact in contacts %}
|
||||
<tr>
|
||||
<td>{{ contact.identifier }}</td>
|
||||
<td>{{ contact.name }}</td>
|
||||
<td>{{ contact.email }}</td>
|
||||
<td>{{ contact.contact_status }}</td>
|
||||
<td>{{ contact.has_domain_contact_mapping }}</td>
|
||||
<td class="text-end">
|
||||
<span class="dropdown">
|
||||
<button class="btn dropdown-toggle align-text-top" data-bs-boundary="viewport" data-bs-toggle="dropdown">Actions</button>
|
||||
<div class="dropdown-menu dropdown-menu-end">
|
||||
<a class="dropdown-item" href="#">
|
||||
Action
|
||||
</a>
|
||||
<a class="dropdown-item" href="#">
|
||||
Another action
|
||||
</a>
|
||||
</div>
|
||||
</span>
|
||||
</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
|
|
@ -45,18 +45,40 @@
|
|||
<div class="card">
|
||||
<div class="card-body">
|
||||
<div id="table-default" class="table-responsive">
|
||||
<table id="hostTable" class="table">
|
||||
<table class="table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th><button class="table-sort" data-sort="sort-id">ID</button></th>
|
||||
<th><button class="table-sort" data-sort="sort-name">Name</button></th>
|
||||
<th><button class="table-sort" data-sort="sort-crdate">Creation Date</button></th>
|
||||
<th><button class="table-sort" data-sort="sort-status">Status</button></th>
|
||||
<th><button class="table-sort" data-sort="sort-id">Host Name</button></th>
|
||||
<th><button class="table-sort" data-sort="sort-name">IP Addresses</button></th>
|
||||
<th><button class="table-sort" data-sort="sort-name">Creation Date</button></th>
|
||||
<th><button class="table-sort" data-sort="sort-crdate">Status</button></th>
|
||||
<th><button class="table-sort" data-sort="sort-status">Associated</button></th>
|
||||
<th>Actions</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody class="table-tbody">
|
||||
<!-- Rows will be added here dynamically -->
|
||||
{% for host in hosts %}
|
||||
<tr>
|
||||
<td><strong>{{ host.name }}</strong></td>
|
||||
<td>{{ host.addr }}</td>
|
||||
<td>{{ host.crdate }}</td>
|
||||
<td>{{ host.host_status }}</td>
|
||||
<td>{{ host.has_domain_mapping }}</td>
|
||||
<td class="text-end">
|
||||
<span class="dropdown">
|
||||
<button class="btn dropdown-toggle align-text-top" data-bs-boundary="viewport" data-bs-toggle="dropdown">Actions</button>
|
||||
<div class="dropdown-menu dropdown-menu-end">
|
||||
<a class="dropdown-item" href="#">
|
||||
Action
|
||||
</a>
|
||||
<a class="dropdown-item" href="#">
|
||||
Another action
|
||||
</a>
|
||||
</div>
|
||||
</span>
|
||||
</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue