mirror of
https://github.com/cwinfo/powerdns-admin.git
synced 2025-01-09 11:55:39 +00:00
Working on condensing the zones list on the dashboard.
Changed the terminology for zones on the dashboard from domains to zones.
This commit is contained in:
parent
49bc8e948d
commit
4a5db674f4
@ -160,42 +160,44 @@
|
||||
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
<div class="card">
|
||||
<div class="card card-outline card-primary">
|
||||
<div class="card-header">
|
||||
<h3 class="card-title">
|
||||
Zones
|
||||
{% if show_bg_domain_button %}
|
||||
<button type="button" title="Synchronize Zones"
|
||||
class="btn btn-tool refresh-bg-button">
|
||||
<i class="fa-solid fa-sync"></i>
|
||||
</button>
|
||||
{% endif %}
|
||||
</h3>
|
||||
<div class="card-tools">
|
||||
<div class="nav-tabs-custom">
|
||||
<ul class="nav nav-tabs card-header-tabs" id="custom-content-below-tab" role="tablist">
|
||||
<ul class="nav nav-tabs card-header-tabs" id="custom-content-below-tab"
|
||||
role="tablist">
|
||||
<li class="nav-item">
|
||||
<a class="nav-link active" href="#tab_{{ custom_boxes.order[0] }}"
|
||||
data-toggle="pill" role="tab">
|
||||
Hosted Domains <b>{{ custom_boxes.boxes[custom_boxes.order[0]][0] }}</b>
|
||||
Zones <b>{{ custom_boxes.boxes[custom_boxes.order[0]][0] }}</b>
|
||||
</a>
|
||||
</li>
|
||||
{% for boxId in custom_boxes.order[1:] %}
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="#tab_{{ boxId }}" data-toggle="pill" role="tab">Hosted
|
||||
Domains <b>{{ custom_boxes.boxes[boxId][0] }}</b></a>
|
||||
<a class="nav-link" href="#tab_{{ boxId }}" data-toggle="pill"
|
||||
role="tab">
|
||||
Zones <b>{{ custom_boxes.boxes[boxId][0] }}</b>
|
||||
</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- /.card-header -->
|
||||
<div class="card-body p-0">
|
||||
<div class="tab-content">
|
||||
{% for boxId in custom_boxes.order %}
|
||||
<div class="tab-pane fade show" id='tab_{{ boxId }}'>
|
||||
<div class="card-header">
|
||||
<h3 class="card-title">Hosted Domains
|
||||
<b>{{ custom_boxes.boxes[boxId][0] }}</b></h3>
|
||||
{% if show_bg_domain_button %}
|
||||
<button type="button"
|
||||
class="btn btn-primary refresh-bg-button float-right">
|
||||
<i class="fa-solid fa-sync"></i>
|
||||
Sync Domains
|
||||
</button>
|
||||
{% endif %}
|
||||
</div>
|
||||
<!-- /.card-header -->
|
||||
<div class="tab-pane show" id='tab_{{ boxId }}'>
|
||||
<div class="card-body table-responsive p-0 pt-2">
|
||||
<table id='tbl_domain_list_{{ boxId }}'
|
||||
class="table table-striped table-hover records table-sm">
|
||||
|
Loading…
Reference in New Issue
Block a user