Export PDNS version to frontend

This commit is contained in:
Jeroen Boonstra
2018-02-28 13:39:05 +01:00
parent 83475ae17c
commit d5d0948ab8
5 changed files with 28 additions and 24 deletions

View File

@ -206,6 +206,7 @@
{% endblock %}
{% block extrascripts %}
<script>
PDNS_VERSION = '{{ pdns_version }}'
// set up history data table
$("#tbl_history").DataTable({
"paging" : false,
@ -214,7 +215,7 @@
"ordering" : false,
"info" : false,
"autoWidth" : false
});
});
// set up domain list
$("#tbl_domain_list").DataTable({
"paging" : true,