2023-02-19 20:04:30 +00:00
|
|
|
{% extends "base.html" %}
|
|
|
|
{% set active_page = "server_configuration" %}
|
|
|
|
{% block title %}<title>Server Configuration - {{ SITE_NAME }}</title>{% endblock %}
|
|
|
|
|
|
|
|
{% block dashboard_stat %}
|
|
|
|
<div class="content-header">
|
|
|
|
<div class="container-fluid">
|
|
|
|
<div class="row mb-2">
|
|
|
|
<div class="col-sm-6">
|
|
|
|
<h1 class="m-0 text-dark">
|
|
|
|
Server Configuration
|
|
|
|
</h1>
|
|
|
|
</div>
|
|
|
|
<div class="col-sm-6">
|
|
|
|
<ol class="breadcrumb float-sm-right">
|
|
|
|
<li class="breadcrumb-item"><a href="{{ url_for('dashboard.dashboard') }}">Dashboard</a></li>
|
|
|
|
<li class="breadcrumb-item active">Server Configuration</li>
|
|
|
|
</ol>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
<section class="content">
|
|
|
|
<div class="container-fluid">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-12">
|
2023-02-19 20:12:34 +00:00
|
|
|
<div class="card card-outline card-primary shadow">
|
2023-02-19 20:04:30 +00:00
|
|
|
<div class="card-header">
|
|
|
|
<h3 class="card-title">Server Configuration</h3>
|
|
|
|
</div>
|
|
|
|
<!-- /.card-header -->
|
|
|
|
<div class="card-body table-responsive">
|
|
|
|
<table id="tbl_configuration" class="table table-bordered table-striped table-hover table-sm">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th>Configuration</th>
|
|
|
|
<th>Value</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
{% for config in configs %}
|
|
|
|
<tr class="odd gradeX">
|
|
|
|
<td>
|
|
|
|
<a href="https://doc.powerdns.com/authoritative/search.html?q={{ config['name'] }}"
|
2023-02-19 20:16:50 +00:00
|
|
|
target="_blank" class="btn btn-primary" title="Search Documentation">
|
2023-02-19 20:04:30 +00:00
|
|
|
<i class="fa-solid fa-search"></i> {{ config['name'] }}
|
|
|
|
</a>
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
{{ config['value'] }}
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
<!-- /.card-body -->
|
|
|
|
</div>
|
|
|
|
<!-- /.card -->
|
|
|
|
</div>
|
|
|
|
<!-- /.col -->
|
|
|
|
</div>
|
|
|
|
<!-- /.row -->
|
|
|
|
</div>
|
|
|
|
<!-- /.container-fluid -->
|
|
|
|
</section>
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block extrascripts %}
|
|
|
|
<script>
|
|
|
|
// Initialize DataTables
|
|
|
|
$("#tbl_configuration").DataTable({
|
|
|
|
"paging": true,
|
|
|
|
"lengthChange": true,
|
|
|
|
"searching": true,
|
|
|
|
"ordering": true,
|
|
|
|
"info": true,
|
|
|
|
"autoWidth": false
|
|
|
|
});
|
|
|
|
</script>
|
|
|
|
{% endblock %}
|