$.ajax({ url: 'servers/localhost', type: 'GET', dataType: 'json',
success: function(data) {
- $("#version").text("PowerDNS "+data["daemon_type"]+" "+data["version"]);
+ $("#version").text(data["daemon_type"]+" "+data["version"]);
var bouw="<table><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>");