Add delete server support as well as fix a few other bugs
Also a few JS fixes to make things work better and not clear the console every time the server is booted
This commit is contained in:
parent
9d2d726992
commit
4fe4881f77
7 changed files with 167 additions and 53 deletions
|
@ -317,7 +317,6 @@ $(window).load(function () {
|
|||
|
||||
// New Console Data Recieved
|
||||
socket.on('console', function (data) {
|
||||
console.log(JSON.stringify(data));
|
||||
$('#live_console').val($('#live_console').val() + data.line);
|
||||
$('#live_console').scrollTop($('#live_console')[0].scrollHeight);
|
||||
});
|
||||
|
@ -445,7 +444,8 @@ $(window).load(function () {
|
|||
|
||||
// Reset Console Data
|
||||
if (data === 2) {
|
||||
$("#live_console").val('');
|
||||
$('#live_console').val($('#live_console').val() + '\n --+ Server Detected as Booting + --\n');
|
||||
$('#live_console').scrollTop($('#live_console')[0].scrollHeight);
|
||||
}
|
||||
|
||||
// Server is On or Starting
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue