Working on the first-round updates for the domain settings management view.

Tweaked sidebar navigation to reflect the latest terminology use in associated views.
This commit is contained in:
Matt Scott 2023-02-19 13:19:26 -05:00
parent fd1bc4afa5
commit 55e4f5f829
3 changed files with 9 additions and 8 deletions

View File

@ -101,7 +101,7 @@
<li class="{{ 'nav-item active' if active_page == 'nav-item new_domain' else 'nav-item' }}"> <li class="{{ 'nav-item active' if active_page == 'nav-item new_domain' else 'nav-item' }}">
<a href="{{ url_for('domain.add') }}" class="nav-link"> <a href="{{ url_for('domain.add') }}" class="nav-link">
<i class="nav-icon fa-solid fa-plus"></i> <i class="nav-icon fa-solid fa-plus"></i>
<p>New Zone</p> <p>Create Zone</p>
</a> </a>
</li> </li>
{% endif %} {% endif %}

View File

@ -8,7 +8,7 @@
<div class="row mb-2"> <div class="row mb-2">
<div class="col-sm-6"> <div class="col-sm-6">
<h1 class="m-0 text-dark"> <h1 class="m-0 text-dark">
Create New Zone Create Zone
</h1> </h1>
</div> </div>
<div class="col-sm-6"> <div class="col-sm-6">

View File

@ -1,5 +1,5 @@
{% extends "base.html" %} {% extends "base.html" %}
{% block title %}<title>Zone Settings - {{ SITE_NAME }}</title>{% endblock %} {% block title %}<title>Edit Zone - {{ domain.name | pretty_domain_name }} - {{ SITE_NAME }}</title>{% endblock %}
{% block dashboard_stat %} {% block dashboard_stat %}
{% if status %} {% if status %}
@ -24,13 +24,13 @@
<div class="row mb-2"> <div class="row mb-2">
<div class="col-sm-6"> <div class="col-sm-6">
<h1 class="m-0 text-dark"> <h1 class="m-0 text-dark">
Zone Settings - {{ domain.name | pretty_domain_name }} Edit Zone - {{ domain.name | pretty_domain_name }}
</h1> </h1>
</div> </div>
<div class="col-sm-6"> <div class="col-sm-6">
<ol class="breadcrumb float-sm-right"> <ol class="breadcrumb float-sm-right">
<li class="breadcrumb-item"><a href="{{ url_for('dashboard.dashboard') }}">Dashboard</a></li> <li class="breadcrumb-item"><a href="{{ url_for('dashboard.dashboard') }}">Dashboard</a></li>
<li class="breadcrumb-item active">Zone Settings - {{ domain.name | pretty_domain_name }}</li> <li class="breadcrumb-item active">Edit Zone - {{ domain.name | pretty_domain_name }}</li>
</ol> </ol>
</div> </div>
</div> </div>
@ -69,9 +69,9 @@
</div> </div>
<!-- /.card-body --> <!-- /.card-body -->
<div class="card-footer"> <div class="card-footer">
<button type="submit" title="Update Account" class="btn btn-flat btn-primary" <button type="submit" title="Update Account" class="btn btn-primary"
id="change_soa_edit_api"> id="change_soa_edit_api">
<i class="fa-solid fa-floppy-disk"></i>&nbsp;Update account <i class="fa-solid fa-floppy-disk"></i>&nbsp;Update Account
</button> </button>
</div> </div>
<!-- /.card-footer --> <!-- /.card-footer -->
@ -138,7 +138,7 @@
<input type="hidden" name="_csrf_token" value="{{ csrf_token() }}"> <input type="hidden" name="_csrf_token" value="{{ csrf_token() }}">
<div class="card"> <div class="card">
<div class="card-header"> <div class="card-header">
<h3 class="card-title">Domain Access Control</h3> <h3 class="card-title">Zone Access Control</h3>
</div> </div>
<!-- /.card-header --> <!-- /.card-header -->
<div class="card-body"> <div class="card-body">
@ -427,6 +427,7 @@
</script> </script>
{% endblock %} {% endblock %}
{% block modals %} {% block modals %}
<div class="modal fade" id="modal_delete_domain"> <div class="modal fade" id="modal_delete_domain">
<div class="modal-dialog"> <div class="modal-dialog">