+
{{ server['stats']['world_size'] }}
|
-
+ |
{% if server['stats']['int_ping_results'] %}
{{ server['stats']['online'] }} / {{ server['stats']['max'] }} {{ translate('dashboard', 'max',
data['lang']) }}
{% if server['stats']['desc'] != 'False' %}
- {{ server['stats']['desc'] }}
+ {{ server['stats']['desc'] }}
{% end %}
{% if server['stats']['version'] != 'False' %}
@@ -237,7 +237,7 @@
{% end %}
|
-
+ |
{% if server['stats']['running'] %}
{{ translate('dashboard', 'online',
data['lang']) }}
@@ -438,7 +438,7 @@
var motd = "";
if (server.desc) {
motd = `` + server.desc + ``;
- server_infos = server_infos + ' ' + motd + ' ' + " ";
+ server_infos = server_infos + '' + motd + ' ' + " ";
}
/* Version */
@@ -651,20 +651,20 @@
document.getElementById('first').setAttribute('draggable', false);
$('.dataTables_length').addClass('bs-select');
});
- $('#servers_table').on('search.dt', function() {
- let value = $('.dataTables_filter input').val()
- if(value === ''){
- const table = document.querySelector("table");
- for (const row of table.rows) {
- row.setAttribute('draggable', true)
- }
- }else{
- const table = document.querySelector("table");
- for (const row of table.rows) {
- row.setAttribute('draggable', false)
- }
+ $(document).mousedown(function( event ) {
+ let value = $('.dataTables_filter input').val()
+ if(value === ''){
+ const table = document.querySelector("table");
+ for (const row of table.rows) {
+ row.setAttribute('draggable', true)
}
- } );
+ }else{
+ const table = document.querySelector("table");
+ for (const row of table.rows) {
+ row.setAttribute('draggable', false)
+ }
+ }
+} );
{% end %}
|