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:
Matt Scott 2023-02-19 10:19:13 -05:00
parent 49bc8e948d
commit 4a5db674f4

View File

@ -160,42 +160,44 @@
<div class="row"> <div class="row">
<div class="col-12"> <div class="col-12">
<div class="card"> <div class="card card-outline card-primary">
<div class="card-header"> <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"> <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"> <li class="nav-item">
<a class="nav-link active" href="#tab_{{ custom_boxes.order[0] }}" <a class="nav-link active" href="#tab_{{ custom_boxes.order[0] }}"
data-toggle="pill" role="tab"> 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> </a>
</li> </li>
{% for boxId in custom_boxes.order[1:] %} {% for boxId in custom_boxes.order[1:] %}
<li class="nav-item"> <li class="nav-item">
<a class="nav-link" href="#tab_{{ boxId }}" data-toggle="pill" role="tab">Hosted <a class="nav-link" href="#tab_{{ boxId }}" data-toggle="pill"
Domains <b>{{ custom_boxes.boxes[boxId][0] }}</b></a> role="tab">
Zones <b>{{ custom_boxes.boxes[boxId][0] }}</b>
</a>
</li> </li>
{% endfor %} {% endfor %}
</ul> </ul>
</div> </div>
</div> </div>
</div>
<!-- /.card-header --> <!-- /.card-header -->
<div class="card-body p-0"> <div class="card-body p-0">
<div class="tab-content"> <div class="tab-content">
{% for boxId in custom_boxes.order %} {% for boxId in custom_boxes.order %}
<div class="tab-pane fade show" id='tab_{{ boxId }}'> <div class="tab-pane 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>
&nbsp;Sync Domains
</button>
{% endif %}
</div>
<!-- /.card-header -->
<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 records table-sm">