pull/776/head
Jamie.Rees 8 years ago
parent 7ec76874bb
commit a2decbeb3f

@ -41,7 +41,7 @@
<button id="clearLogs" type="submit" class="btn btn-danger-outline ">Clear Logs</button>
</form>
<table id="example" class="table table-striped table-hover table-responsive">
<table id="logDatatable" class="table table-striped table-hover table-responsive">
<thead>
<tr>
<th>Message</th>
@ -63,7 +63,7 @@
var logsUrl = "/admin/loadlogs";
var url = createBaseUrl(baseUrl, logsUrl);
$('#example').DataTable({
$('#logDatatable').DataTable({
"ajax": url,
"columns": [
{ "data": "message" },
@ -147,5 +147,8 @@
});
$('body .dropdown-toggle').dropdown();
});
</script>
Loading…
Cancel
Save