File tree Expand file tree Collapse file tree 2 files changed +20
-17
lines changed
Expand file tree Collapse file tree 2 files changed +20
-17
lines changed Original file line number Diff line number Diff line change 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 >
Original file line number Diff line number Diff line change 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" >× ; </span ></button >
You can’t perform that action at this time.
0 commit comments