mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-10 02:13:44 +02:00
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:
@@ -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()
|
||||
]);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user