From b165f04b78ed07c0e09bfd714409f761017c8dad Mon Sep 17 00:00:00 2001 From: Dane Everitt Date: Thu, 30 Mar 2017 16:20:51 -0400 Subject: [PATCH] Fix up file display in sidebar as well as socket.io warnings, closes #357 --- .../pterodactyl/js/frontend/server.socket.js | 10 +++++-- .../pterodactyl/layouts/master.blade.php | 28 ++++++------------- 2 files changed, 16 insertions(+), 22 deletions(-) diff --git a/public/themes/pterodactyl/js/frontend/server.socket.js b/public/themes/pterodactyl/js/frontend/server.socket.js index 3e97c2a62..4c0e77fa8 100644 --- a/public/themes/pterodactyl/js/frontend/server.socket.js +++ b/public/themes/pterodactyl/js/frontend/server.socket.js @@ -38,9 +38,13 @@ var Server = (function () { }, newest_on_top: true, delay: 2000, + offset: { + x: 20, + y: 60, + }, animate: { - enter: 'animated zoomInDown', - exit: 'animated zoomOutDown' + enter: 'animated bounceInUp', + exit: 'animated bounceOutDown' } }); @@ -56,7 +60,7 @@ var Server = (function () { message: 'There was an error attempting to establish a WebSocket connection to the Daemon. This panel will not work as expected.

' + err, }, { type: 'danger', - delay: 0 + delay: 0, }); } }); diff --git a/resources/themes/pterodactyl/layouts/master.blade.php b/resources/themes/pterodactyl/layouts/master.blade.php index 3a204523a..8481a5e89 100644 --- a/resources/themes/pterodactyl/layouts/master.blade.php +++ b/resources/themes/pterodactyl/layouts/master.blade.php @@ -127,24 +127,14 @@ @can('list-files', $server) -
  • - - - @lang('navigation.server.file_management') - - - + > + + @lang('navigation.server.file_management') -
  • @endcan @can('list-subusers', $server) @@ -154,7 +144,7 @@ @endif > - Subusers + @lang('navigation.server.subusers') @endcan @@ -235,8 +225,8 @@