blades
This commit is contained in:
@@ -21,14 +21,10 @@ class FleetsController extends Controller
|
||||
return view('fleets.registerfleet');
|
||||
}
|
||||
|
||||
public function displayStandingFleet() {
|
||||
//Retrieve the fleet from the session
|
||||
$fleet = $request->session()->get('fleet');
|
||||
//Display standing fleets
|
||||
$display = $fleet->RenderFleetDisplay();
|
||||
public function displayFleets() {
|
||||
|
||||
//Return the view with the array of the fleet
|
||||
return view('fleets.displaystanding')->with('display', $display);
|
||||
return view('fleets.displayfleets');
|
||||
}
|
||||
|
||||
public function registerFleet(Request $request) {
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
@extends('layouts.b4')
|
||||
@section('content')
|
||||
<div class="container">
|
||||
<h1>Work in Progress aka NOTHING WORKS!</h1><br>
|
||||
<h2>Standing Fleet</h2>
|
||||
<a href="{{ route('/fleets/addpilot', ['id' => $charId]) }}">Join Standing Fleet</a>
|
||||
@if($fleetCommander == true)
|
||||
@@ -4,8 +4,8 @@
|
||||
<h2>Register A New Fleet</h2>
|
||||
{!! Form::open(['action' => 'FleetsController@registerFleet', 'method' => 'POST']) !!}
|
||||
<div class="form-group col-md-6">
|
||||
{{ Form::label('fleet', 'Fleet') }}
|
||||
{{ Form::text('fleet', '', ['class' => 'form-control', 'placeholder' => 'Fleet URL']) }}
|
||||
{{ Form::label('fleetUri', 'Fleet') }}
|
||||
{{ Form::text('fleetUri', '', ['class' => 'form-control', 'placeholder' => 'Fleet URL']) }}
|
||||
</div>
|
||||
{{ Form::submit('Submit', ['class' => 'btn btn-primary']) }}
|
||||
{!! Form::close() !!}
|
||||
|
||||
@@ -45,9 +45,8 @@ Route::get('/scopes/select', 'EsiScopeController@displayScopes');
|
||||
Route::post('redirectToProvider', 'EsiScopeController@redirectToProvider');
|
||||
|
||||
//Fleet Controller display pages
|
||||
Route::get('/fleets/display');
|
||||
Route::get('/fleets/display', 'FleetsController@displayFleets');
|
||||
Route::get('/fleets/register', 'FleetsController@displayRegisterFleet');
|
||||
Route::get('/fleets/standing', 'FleetsController@displayStandingFleet');
|
||||
Route::get('/fleets/addpilot/{id}', 'FleetsController@addPilot');
|
||||
|
||||
//Admin Controller display pages
|
||||
|
||||
Reference in New Issue
Block a user