41 lines
1.2 KiB
Plaintext
41 lines
1.2 KiB
Plaintext
extends layout
|
|
|
|
block content
|
|
script.
|
|
$(document).ready(function(){
|
|
var ctable = $('#connections-table').dataTable( {
|
|
autoWidth: true,
|
|
searching: false,
|
|
ordering: false,
|
|
responsive: true,
|
|
lengthChange: true,
|
|
processing: true,
|
|
ajax: {
|
|
url: '/ext/connections',
|
|
dataSrc: function ( json ) {
|
|
return json.data;
|
|
}
|
|
},
|
|
columns: [
|
|
{ data: 'address', width: '25%' },
|
|
{ data: 'protocol', width: '25%' },
|
|
{ data: 'version', width:'25%' },
|
|
{ data: 'country', width: '25%'}
|
|
]
|
|
});
|
|
});
|
|
.col-md-12(style="margin-bottom: 4%")
|
|
.row.text-center(style='margin-bottom:15px;')
|
|
i #{settings.locale.net_warning}
|
|
.panel.panel-default
|
|
.panel-heading
|
|
strong #{settings.locale.net_connections}
|
|
table#connections-table.table.table-bordered.table-striped
|
|
thead
|
|
tr
|
|
th.text-center #{settings.locale.net_address}
|
|
th.text-center #{settings.locale.net_protocol}
|
|
th.text-center #{settings.locale.net_subversion}
|
|
th.text-center #{settings.locale.net_country}
|
|
tbody.text-center
|