You've already forked fm-dx-webserver
mirror of
https://github.com/KubaPro010/fm-dx-webserver.git
synced 2026-02-27 06:23:53 +01:00
bugfixes
This commit is contained in:
@@ -25,12 +25,12 @@ function OnPlayButtonClick(_ev) {
|
||||
Stream.Stop();
|
||||
} else {
|
||||
Stream.Start();
|
||||
const $playbutton = $('.playbutton');
|
||||
$playbutton.find('.fa-solid').toggleClass('fa-play fa-stop');
|
||||
$playbutton.addClass('bg-gray').prop('disabled', true);
|
||||
setTimeout(() => {
|
||||
$playbutton.removeClass('bg-gray').prop('disabled', false);
|
||||
}, 3000);
|
||||
const $playbutton = $('.playbutton');
|
||||
$playbutton.find('.fa-solid').toggleClass('fa-play fa-stop');
|
||||
}
|
||||
} catch (error) {
|
||||
console.error(error);
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
var currentDate = new Date('April 6, 2024 01:00:00');
|
||||
var currentDate = new Date('April 22, 2024 22:00:00');
|
||||
var day = currentDate.getDate();
|
||||
var month = currentDate.getMonth() + 1; // Months are zero-indexed, so add 1
|
||||
var year = currentDate.getFullYear();
|
||||
var formattedDate = day + '/' + month + '/' + year;
|
||||
var currentVersion = 'v1.1.9b [' + formattedDate + ']';
|
||||
var currentVersion = 'v1.1.9c [' + formattedDate + ']';
|
||||
|
||||
getInitialSettings();
|
||||
|
||||
@@ -25,4 +25,4 @@ function getInitialSettings() {
|
||||
console.error('Error:', error);
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
@@ -59,6 +59,7 @@
|
||||
<th>IP Address</th>
|
||||
<th>Location</th>
|
||||
<th>Online since</th>
|
||||
<th></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@@ -68,11 +69,12 @@
|
||||
<td><%= user.ip %></td>
|
||||
<td><%= user.location %></td>
|
||||
<td><%= user.time %></td>
|
||||
<td><a href="./kick?user=<% user.ip %>">Kick</a></td>
|
||||
</tr>
|
||||
<% }); %>
|
||||
<% } else { %>
|
||||
<tr>
|
||||
<td colspan="3" style="text-align: center">No users online</td>
|
||||
<td colspan="4" style="text-align: center">No users online</td>
|
||||
</tr>
|
||||
<% } %>
|
||||
</tbody>
|
||||
|
||||
Reference in New Issue
Block a user