Read powerdns api setting from DB

This commit is contained in:
Khanh Ngo
2018-08-20 09:59:19 +07:00
parent f8f4ddcc85
commit 0b7580c82f
6 changed files with 100 additions and 126 deletions

View File

@ -156,7 +156,7 @@
{% endblock %}
{% block extrascripts %}
<script>
PDNS_VERSION = '{{ pdns_version }}'
PDNS_VERSION = '{{ SETTING.get("pdns_version") }}'
// set up history data table
$("#tbl_history").DataTable({
"paging" : false,