mirror of
https://github.com/cwinfo/powerdns-admin.git
synced 2024-11-08 14:40:27 +00:00
Wrapping up first-round changes to the dashboard view.
This commit is contained in:
parent
b4a354b0f8
commit
b52b7d7e4f
@ -111,21 +111,21 @@
|
|||||||
</div>
|
</div>
|
||||||
<!-- /.card-header -->
|
<!-- /.card-header -->
|
||||||
<div class="card-body table-responsive p-0">
|
<div class="card-body table-responsive p-0">
|
||||||
<table class="table table-striped table-hover">
|
<table class="table table-striped table-hover table-sm records">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>User</th>
|
|
||||||
<th>Log Message</th>
|
<th>Log Message</th>
|
||||||
<th>Timestamp</th>
|
<th>Timestamp</th>
|
||||||
|
<th>User</th>
|
||||||
<th>Actions</th>
|
<th>Actions</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
{% for history in histories %}
|
{% for history in histories %}
|
||||||
<tr class="odd">
|
<tr class="odd">
|
||||||
<td>{{ history.history.created_by }}</td>
|
|
||||||
<td>{{ history.history.msg }}</td>
|
<td>{{ history.history.msg }}</td>
|
||||||
<td>{{ history.history.created_on | format_datetime_local }}</td>
|
<td>{{ history.history.created_on | format_datetime_local }}</td>
|
||||||
|
<td>{{ history.history.created_by }}</td>
|
||||||
<td>
|
<td>
|
||||||
<div id="history-info-div-{{ loop.index0 }}" style="display: none;">
|
<div id="history-info-div-{{ loop.index0 }}" style="display: none;">
|
||||||
{{ history.detailed_msg | safe }}
|
{{ history.detailed_msg | safe }}
|
||||||
@ -138,10 +138,11 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
<button type="button" class="btn btn-sm btn-primary history-info-button"
|
<button type="button" class="btn btn-sm btn-primary history-info-button"
|
||||||
|
title="View Additional Information"
|
||||||
{% if history.detailed_msg == "" and history.change_set is none %}
|
{% if history.detailed_msg == "" and history.change_set is none %}
|
||||||
style="visibility: hidden;"
|
style="visibility: hidden;"
|
||||||
{% endif %} value="{{ loop.index0 }}">
|
{% endif %} value="{{ loop.index0 }}">
|
||||||
<i class="fa-solid fa-info-circle"></i> Info
|
<i class="fa-solid fa-info-circle"></i>
|
||||||
</button>
|
</button>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
@ -200,7 +201,7 @@
|
|||||||
<div class="tab-pane show" id='tab_{{ boxId }}'>
|
<div class="tab-pane show" id='tab_{{ boxId }}'>
|
||||||
<div class="card-body table-responsive p-0 pt-2">
|
<div class="card-body table-responsive p-0 pt-2">
|
||||||
<table id='tbl_domain_list_{{ boxId }}'
|
<table id='tbl_domain_list_{{ boxId }}'
|
||||||
class="table table-striped table-hover records table-sm">
|
class="table table-striped table-hover table-sm records">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Name</th>
|
<th>Name</th>
|
||||||
|
Loading…
Reference in New Issue
Block a user