Merge pull request #2627 from pterodactyl/matthewpi/admin-patch-1
Tweaks to admin area
This commit is contained in:
commit
e157b8baf2
2 changed files with 20 additions and 17 deletions
|
@ -11,7 +11,7 @@
|
|||
@endsection
|
||||
|
||||
@section('content-header')
|
||||
<h1>Mounts<small>SoonTM</small></h1>
|
||||
<h1>Mounts<small>Configure and manage additional mount points for servers.</small></h1>
|
||||
<ol class="breadcrumb">
|
||||
<li><a href="{{ route('admin.index') }}">Admin</a></li>
|
||||
<li class="active">Mounts</li>
|
||||
|
|
|
@ -96,7 +96,6 @@
|
|||
</div>
|
||||
@endif
|
||||
|
||||
@if($canTransfer)
|
||||
<div class="col-sm-4">
|
||||
<div class="box box-success">
|
||||
<div class="box-header with-border">
|
||||
|
@ -104,22 +103,26 @@
|
|||
</div>
|
||||
<div class="box-body">
|
||||
<p>
|
||||
Hopefully, you will soon be able to move servers around without needing to do a bunch of confusing
|
||||
operations manually and it will work fluidly and with no problems.
|
||||
Transfer this server to another node connected to this panel.
|
||||
<strong>Warning!</strong> This feature has not been fully tested and may have bugs.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div class="box-footer">
|
||||
@if($canTransfer)
|
||||
<button class="btn btn-success" data-toggle="modal" data-target="#transferServerModal">Transfer Server</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@else
|
||||
<button class="btn btn-success disabled">Transfer Server</button>
|
||||
<p style="padding-top: 1rem;">Transferring a server requires more than one node to be configured on your panel.</p>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="modal fade" id="transferServerModal" tabindex="-1" role="dialog">
|
||||
<div class="modal-dialog" role="document">
|
||||
<div class="modal-content">
|
||||
<!-- TODO: Change route -->
|
||||
<form action="{{ route('admin.servers.view.manage.transfer', $server->id) }}" method="POST">
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
|
||||
|
|
Loading…
Reference in a new issue