More additions to server creation page.
Adds memory/disk/etc. fields as well as selecting the service type and option. Still need to add in the ability to set the variables once an option is selected.
This commit is contained in:
parent
e77cea6f99
commit
f47f0cd549
6 changed files with 189 additions and 21 deletions
|
@ -4,8 +4,8 @@ namespace Pterodactyl\Http\Controllers\Admin;
|
|||
|
||||
use Debugbar;
|
||||
use Pterodactyl\Models\Server;
|
||||
use Pterodactyl\Models\Node;
|
||||
use Pterodactyl\Models\Location;
|
||||
use Pterodactyl\Models\Service;
|
||||
|
||||
use Pterodactyl\Http\Controllers\Controller;
|
||||
use Illuminate\Http\Request;
|
||||
|
@ -38,7 +38,8 @@ class ServersController extends Controller
|
|||
public function getNew(Request $request)
|
||||
{
|
||||
return view('admin.servers.new', [
|
||||
'locations' => Location::all()
|
||||
'locations' => Location::all(),
|
||||
'services' => Service::all()
|
||||
]);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue