Skip to content

Commit e157b8b

Browse files
authored
Merge pull request pterodactyl#2627 from pterodactyl/matthewpi/admin-patch-1
Tweaks to admin area
2 parents c757abf + d9ad4af commit e157b8b

File tree

2 files changed

+20
-17
lines changed

2 files changed

+20
-17
lines changed

resources/views/admin/mounts/index.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
@endsection
1212

1313
@section('content-header')
14-
<h1>Mounts<small>SoonTM</small></h1>
14+
<h1>Mounts<small>Configure and manage additional mount points for servers.</small></h1>
1515
<ol class="breadcrumb">
1616
<li><a href="{{ route('admin.index') }}">Admin</a></li>
1717
<li class="active">Mounts</li>

resources/views/admin/servers/view/manage.blade.php

Lines changed: 19 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -96,30 +96,33 @@
9696
</div>
9797
@endif
9898

99-
@if($canTransfer)
100-
<div class="col-sm-4">
101-
<div class="box box-success">
102-
<div class="box-header with-border">
103-
<h3 class="box-title">Transfer Server</h3>
104-
</div>
105-
<div class="box-body">
106-
<p>
107-
Hopefully, you will soon be able to move servers around without needing to do a bunch of confusing
108-
operations manually and it will work fluidly and with no problems.
109-
</p>
110-
</div>
111-
<div class="box-footer">
99+
<div class="col-sm-4">
100+
<div class="box box-success">
101+
<div class="box-header with-border">
102+
<h3 class="box-title">Transfer Server</h3>
103+
</div>
104+
<div class="box-body">
105+
<p>
106+
Transfer this server to another node connected to this panel.
107+
<strong>Warning!</strong> This feature has not been fully tested and may have bugs.
108+
</p>
109+
</div>
110+
111+
<div class="box-footer">
112+
@if($canTransfer)
112113
<button class="btn btn-success" data-toggle="modal" data-target="#transferServerModal">Transfer Server</button>
113-
</div>
114+
@else
115+
<button class="btn btn-success disabled">Transfer Server</button>
116+
<p style="padding-top: 1rem;">Transferring a server requires more than one node to be configured on your panel.</p>
117+
@endif
114118
</div>
115119
</div>
116-
@endif
120+
</div>
117121
</div>
118122

119123
<div class="modal fade" id="transferServerModal" tabindex="-1" role="dialog">
120124
<div class="modal-dialog" role="document">
121125
<div class="modal-content">
122-
<!-- TODO: Change route -->
123126
<form action="{{ route('admin.servers.view.manage.transfer', $server->id) }}" method="POST">
124127
<div class="modal-header">
125128
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>

0 commit comments

Comments
 (0)