2015-12-13 09:34:12 +00:00
|
|
|
{% extends "base.html" %}
|
2018-08-18 11:41:59 +00:00
|
|
|
{% set active_page = "admin_console" %}
|
2018-08-18 15:42:18 +00:00
|
|
|
{% block title %}<title>Admin Console - {{ SITE_NAME }}</title>{% endblock %}
|
2015-12-13 09:34:12 +00:00
|
|
|
|
|
|
|
{% block dashboard_stat %}
|
2016-04-23 16:49:35 +00:00
|
|
|
<!-- Content Header (Page header) -->
|
|
|
|
<section class="content-header">
|
2016-06-18 04:41:01 +00:00
|
|
|
<h1>
|
2019-12-02 03:32:03 +00:00
|
|
|
PowerDNS server configuration & statistics
|
2016-06-18 04:41:01 +00:00
|
|
|
</h1>
|
|
|
|
<ol class="breadcrumb">
|
2019-12-02 03:32:03 +00:00
|
|
|
<li><a href="{{ url_for('dashboard.dashboard') }}"><i class="fa fa-dashboard"></i> Home</a></li>
|
2016-06-18 04:41:01 +00:00
|
|
|
<li class="active">Admin Console</li>
|
|
|
|
</ol>
|
2016-04-23 16:49:35 +00:00
|
|
|
</section>
|
2015-12-13 09:34:12 +00:00
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block content %}
|
2016-04-23 16:49:35 +00:00
|
|
|
<section class="content">
|
2016-06-18 04:41:01 +00:00
|
|
|
<div class="row">
|
|
|
|
<div class="col-xs-12">
|
|
|
|
<div class="box">
|
|
|
|
<div class="box-header">
|
|
|
|
<h3 class="box-title">PDNS Statistics</h3>
|
|
|
|
</div>
|
|
|
|
<div class="box-body">
|
|
|
|
<table id="tbl_statistics" class="table table-bordered table-striped">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th width="6%">Docs</th>
|
|
|
|
<th>Statistic</th>
|
|
|
|
<th>Value</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
{% for statistic in statistics %}
|
|
|
|
<tr class="odd gradeX">
|
2022-05-27 11:01:40 +00:00
|
|
|
<td><a href="https://doc.powerdns.com/authoritative/search.html?q={{ statistic['name'] }}"
|
2019-12-02 03:32:03 +00:00
|
|
|
target="_blank" class="btn btn-flat btn-xs blue"><i
|
|
|
|
class="fa fa-search"></i></a></td>
|
2016-06-18 04:41:01 +00:00
|
|
|
<td>{{ statistic['name'] }}</td>
|
|
|
|
<td>{{ statistic['value'] }}</td>
|
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
<!-- /.box-body -->
|
|
|
|
</div>
|
|
|
|
<!-- /.box -->
|
|
|
|
</div>
|
|
|
|
<!-- /.col -->
|
|
|
|
</div>
|
|
|
|
<!-- /.row -->
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-xs-12">
|
|
|
|
<div class="box">
|
|
|
|
<div class="box-header">
|
|
|
|
<h3 class="box-title">PDNS Configuration</h3>
|
|
|
|
</div>
|
|
|
|
<div class="box-body">
|
|
|
|
<table id="tbl_configuration" class="table table-bordered table-striped">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th width="6%">Docs</th>
|
|
|
|
<th>Statistic</th>
|
|
|
|
<th>Value</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
{% for config in configs %}
|
|
|
|
<tr class="odd gradeX">
|
2022-05-27 11:01:40 +00:00
|
|
|
<td><a href="https://doc.powerdns.com/authoritative/search.html?q={{ config['name'] }}"
|
2019-12-02 03:32:03 +00:00
|
|
|
target="_blank" class="btn btn-flat btn-xs blue"><i
|
|
|
|
class="fa fa-search"></i></a></td>
|
2016-06-18 04:41:01 +00:00
|
|
|
<td>{{ config['name'] }}</td>
|
2019-12-02 03:32:03 +00:00
|
|
|
<td>
|
|
|
|
{{ config['value'] }}
|
|
|
|
</td>
|
|
|
|
</tr>
|
2016-06-18 04:41:01 +00:00
|
|
|
{% endfor %}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
<!-- /.box-body -->
|
|
|
|
</div>
|
|
|
|
<!-- /.box -->
|
|
|
|
</div>
|
|
|
|
<!-- /.col -->
|
|
|
|
</div>
|
|
|
|
<!-- /.row -->
|
2016-04-23 16:49:35 +00:00
|
|
|
</section>
|
2015-12-13 09:34:12 +00:00
|
|
|
{% endblock %}
|
2016-04-23 16:49:35 +00:00
|
|
|
{% block extrascripts %}
|
2015-12-13 09:34:12 +00:00
|
|
|
<script>
|
2019-12-02 03:32:03 +00:00
|
|
|
// set up statistics data table
|
|
|
|
$("#tbl_statistics").DataTable({
|
|
|
|
"paging": true,
|
|
|
|
"lengthChange": false,
|
|
|
|
"searching": true,
|
|
|
|
"ordering": true,
|
|
|
|
"info": true,
|
|
|
|
"autoWidth": false
|
|
|
|
});
|
2016-04-23 16:49:35 +00:00
|
|
|
|
2019-12-02 03:32:03 +00:00
|
|
|
// set up configuration data table
|
|
|
|
$("#tbl_configuration").DataTable({
|
|
|
|
"paging": true,
|
|
|
|
"lengthChange": false,
|
|
|
|
"searching": true,
|
|
|
|
"ordering": true,
|
|
|
|
"info": true,
|
|
|
|
"autoWidth": false
|
|
|
|
});
|
2015-12-13 09:34:12 +00:00
|
|
|
</script>
|
|
|
|
{% endblock %}
|