]> granicus.if.org Git - pdns/commitdiff
fill out acl and local to index.html
authorbert hubert <bert.hubert@netherlabs.nl>
Sat, 5 Dec 2015 19:50:25 +0000 (20:50 +0100)
committerbert hubert <bert.hubert@netherlabs.nl>
Sat, 5 Dec 2015 19:50:25 +0000 (20:50 +0100)
pdns/dnsdistdist/html/local.js

index 79f32d4f670d8c4bc6ccc0a5d705de2f56ff61a2..62a199e65016215cb52c1b88f21360d48b53a555 100644 (file)
@@ -182,6 +182,8 @@ $(document).ready(function() {
         $.ajax({ url: 'api/v1/servers/localhost', type: 'GET', dataType: 'json',
                  success: function(data) {
                      $("#version").text(data["daemon_type"]+" "+data["version"]);
+                     $("#acl").text(data["acl"]);
+                     $("#local").text(data["local"]);
                      var bouw='<table width="100%"><tr align=right><th>#</th><th align=left>Name</th><th align=left>Address</th><th>Status</th><th>Queries</th><th>Drops</th><th>QPS</th><th>Out</th><th>Weight</th><th>Order</th><th align=left>Pools</th></tr>';
                      $.each(data["servers"], function(a,b) {
                          bouw = bouw + ("<tr align=right><td>"+b["id"]+"</td><td align=left>"+b["name"]+"</td><td align=left>"+b["address"]+"</td><td>"+b["state"]+"</td>");