updated all forms for new namespace standard
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
Remove User
|
||||
</div>
|
||||
<div class="card-body">
|
||||
{!! Form::open(['action' => 'AdminController@removeUser', 'method' => 'POST']) !!}
|
||||
{!! Form::open(['action' => 'Dashboard\AdminController@removeUser', 'method' => 'POST']) !!}
|
||||
<div class="form-group">
|
||||
{{ Form::label('user', 'User') }}
|
||||
{{ Form::select('user', $data['users'], null, ['class' => 'form-control']) }}
|
||||
@@ -43,7 +43,7 @@
|
||||
Add Permission for User
|
||||
</div>
|
||||
<div class="card-body">
|
||||
{!! Form::open(['action' => 'AdminController@addPermission', 'method' => 'POST']) !!}
|
||||
{!! Form::open(['action' => 'Dashboard\AdminController@addPermission', 'method' => 'POST']) !!}
|
||||
<div class="form-group">
|
||||
{{ Form::label('user', 'User') }}
|
||||
{{ Form::select('user', $data['users'], null, ['class' => 'form-control']) }}
|
||||
@@ -64,7 +64,7 @@
|
||||
Modify User Role
|
||||
</div>
|
||||
<div class="card-body">
|
||||
{!! Form::open(['action' => 'AdminController@modifyRole', 'method' => 'POST']) !!}
|
||||
{!! Form::open(['action' => 'Dashboard\AdminController@modifyRole', 'method' => 'POST']) !!}
|
||||
<div class="form-group">
|
||||
{{ Form::label('user', 'User') }}
|
||||
{{ Form::select('user', $data['users'], null, ['class' => 'form-control']) }}
|
||||
@@ -85,7 +85,7 @@
|
||||
Add Allowed Login
|
||||
</div>
|
||||
<div class="card-body">
|
||||
{!! Form::open(['action' => 'AdminController@addAllowedLogin', 'method' => 'POST']) !!}
|
||||
{!! Form::open(['action' => 'Dashboard\AdminController@addAllowedLogin', 'method' => 'POST']) !!}
|
||||
<div class="form-group">
|
||||
{{ Form::label('allowedEntityId', 'Allowed Entity ID') }}
|
||||
{{ Form::text('allowedEntityId', '', ['class' => 'form-control']) }}
|
||||
@@ -113,7 +113,7 @@
|
||||
Remove Allowed Login
|
||||
</div>
|
||||
<div class="card-body">
|
||||
{!! Form::open(['action' => 'AdminController@removeAllowedLogin', 'method' => 'POST']) !!}
|
||||
{!! Form::open(['action' => 'Dashboard\AdminController@removeAllowedLogin', 'method' => 'POST']) !!}
|
||||
<div class="form-group">
|
||||
{{ Form::label('removeAllowedLogin', 'Remove Entity') }}
|
||||
{{ Form::select('removeAllowedLogin', $entities, null, ['class' => 'form-control']) }}
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
<th>Accept?</th>
|
||||
</thead>
|
||||
<tbody>
|
||||
{!! Form::open(['action' => 'ContractAdminController@storeEndContract', 'method' => 'POST']) !!}
|
||||
{!! Form::open(['action' => 'Contracts\ContractAdminController@storeEndContract', 'method' => 'POST']) !!}
|
||||
{{ Form::hidden('contract_id', $contract['contract_id']) }}
|
||||
@foreach($bids as $bid)
|
||||
<tr>
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
New Contracts
|
||||
</div>
|
||||
<div class="card-body">
|
||||
{!! Form::open(['action' => 'ContractAdminController@storeNewContract', 'method' => 'POST']) !!}
|
||||
{!! Form::open(['action' => 'Contracts\ContractAdminController@storeNewContract', 'method' => 'POST']) !!}
|
||||
<div class="form-group">
|
||||
{{ Form::label('name', 'Contract Name') }}
|
||||
{{ Form::text('name', '', ['class' => 'form-control', 'placeholder' => 'Some Name']) }}
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
Enter Bid
|
||||
</div>
|
||||
<div class="card-body">
|
||||
{!! Form::open(['action' => 'ContractController@storeBid', 'method' => 'POST']) !!}
|
||||
{!! Form::open(['action' => 'Contracts\ContractController@storeBid', 'method' => 'POST']) !!}
|
||||
<div class="form-group">
|
||||
{{ Form::label('bid', 'Bid') }}
|
||||
{{ Form::text('bid', '', ['class' => 'form-control', 'placeholder' => '1.0']) }}
|
||||
|
||||
@@ -9,13 +9,13 @@
|
||||
<td>{{ $bid['corporation_name'] }}</td>
|
||||
<td>{{ $bid['bid_amount'] }}</td>
|
||||
@if(auth()->user()->character_id == $bid['character_id'])
|
||||
{{ Form::open(['action' => 'ContractController@displayModifyBid', 'method' => 'POST']) }}
|
||||
{{ Form::open(['action' => 'Contracts\ContractController@displayModifyBid', 'method' => 'POST']) }}
|
||||
{{ Form::hidden('id', $bid['id']) }}
|
||||
{{ Form::hidden('contract_id', $bid['contract_id']) }}
|
||||
{{ Form::submit('Modify Bid', ['class' => 'btn btn-primary']) }}
|
||||
{!! Form::close() !!}
|
||||
|
||||
{{ Form::open(['action' => 'ContractController@deleteBid', 'method' => 'POST']) }}
|
||||
{{ Form::open(['action' => 'Contracts\ContractController@deleteBid', 'method' => 'POST']) }}
|
||||
{{ Form::hidden('id', $bid['id']) }}
|
||||
{{ Form::hidden('contract_id', $bid['contract_id']) }}
|
||||
{{ Form::submit('Delete Bid', ['class' => 'btn btn-primary']) }}
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
Type: {{ $contract['type'] }}<br>
|
||||
End Date: {{ $contract['end_date'] }}<br>
|
||||
Description: {{ $contract['body'] }}<br>
|
||||
{!! Form::open(['action' => 'ContractController@modifyBid', 'method' => 'POST']) !!}
|
||||
{!! Form::open(['action' => 'Contracts\ContractController@modifyBid', 'method' => 'POST']) !!}
|
||||
<div class="form-group">
|
||||
{{ Form::label('bid', 'Bid') }}
|
||||
{{ Form::text('bid', '', ['class' => 'form-control', 'placeholder' => '1.0']) }}
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
@section('content')
|
||||
<div class="container">
|
||||
<h2>Add A New Moon</h2>
|
||||
{!! Form::open(['action' => 'MoonsAdminController@storeMoon', 'method' => 'POST']) !!}
|
||||
{!! Form::open(['action' => 'Moons\MoonsAdminController@storeMoon', 'method' => 'POST']) !!}
|
||||
<div class="form-group col-md-6">
|
||||
{{ Form::label('region', 'Region') }}
|
||||
{{ Form::text('region', '', ['class' => 'form-control', 'placeholder' => 'Region']) }}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
@extends('layouts.b4')
|
||||
@section('content')
|
||||
|
||||
{!! Form::open(['action' => 'MoonsAdminController@updateMoonPaid', 'method' => 'POST']) !!}
|
||||
{!! Form::open(['action' => 'Moons\MoonsAdminController@updateMoonPaid', 'method' => 'POST']) !!}
|
||||
<div class="container col-md-12">
|
||||
<table class="table table-striped">
|
||||
<thead>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
@section('content')
|
||||
<div class="container">
|
||||
<h2>Update Existing Moon</h2>
|
||||
{!! Form::open(['action' => 'MoonsAdminController@storeUpdateMoon', 'method' => 'POST']) !!}
|
||||
{!! Form::open(['action' => 'Moons\MoonsAdminController@storeUpdateMoon', 'method' => 'POST']) !!}
|
||||
<div class="form-group col-md-6">
|
||||
{{ Form::label('system', 'System') }}
|
||||
{{ Form::text('system', '', ['class' => 'form-control', 'placeholder' => 'System']) }}
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
?>
|
||||
<div class="container">
|
||||
<h2>Select Scopes for ESI</h2>
|
||||
{!! Form::open(['action' => 'EsiScopeController@redirectToProvider', 'method' => 'POST']) !!}
|
||||
{!! Form::open(['action' => 'Auth\EsiScopeController@redirectToProvider', 'method' => 'POST']) !!}
|
||||
@foreach($scopes as $scope)
|
||||
@if($scope->scope == 'publicData')
|
||||
<div class="form-group col-md-6">
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
@section('content')
|
||||
<div class="container">
|
||||
<h2>Pick the Corporation</h2>
|
||||
{!! Form::open(['action' => 'StructureController@displayCorpTaxes', 'method' => 'GET']) !!}
|
||||
{!! Form::open(['action' => 'Structures\StructureController@displayCorpTaxes', 'method' => 'GET']) !!}
|
||||
<div class="form-group col-md-4">
|
||||
{{ Form::label('corpId', 'Corporation') }}
|
||||
{{ Form::select('corpId', $corps, null, ['class' => 'form-control']) }}
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
Add Tax Ratio for Structure
|
||||
</div>
|
||||
<div class="card-body">
|
||||
{!! Form::open(['action' => 'StructureAdminController@storeTaxRatio', 'method' => 'POST']) !!}
|
||||
{!! Form::open(['action' => 'Structures\StructureAdminController@storeTaxRatio', 'method' => 'POST']) !!}
|
||||
<div class="form-group">
|
||||
{{ Form::label('corpId', 'Corporation ID:') }}
|
||||
{{ Form::text('corpId', '', ['class' => 'form-control']) }}
|
||||
@@ -38,7 +38,7 @@
|
||||
Update Tax Ratio for Structure
|
||||
</div>
|
||||
<div class="card-body">
|
||||
{!! Form::open(['action' => 'StructureAdminController@updateTaxRatio', 'method' => 'POST']) !!}
|
||||
{!! Form::open(['action' => 'Structures\StructureAdminController@updateTaxRatio', 'method' => 'POST']) !!}
|
||||
<div class="form-group">
|
||||
{{ Form::label('corporation', 'Corporation Name') }}
|
||||
{{ Form::text('corporation', '', ['class' => 'form-control']) }}
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
@section('content')
|
||||
<div class="container">
|
||||
<h2>Register Structure</h2>
|
||||
{!! Form::open(['action' => 'RegisterStructureController@storeStructure', 'method' => 'POST']) !!}
|
||||
{!! Form::open(['action' => 'Structures\RegisterStructureController@storeStructure', 'method' => 'POST']) !!}
|
||||
<div class="form-group">
|
||||
{{ Form::label('region', 'Region') }}
|
||||
{{ Form::text('region', '', ['class' => 'form-control']) }}
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<h3>Your username is: {{ $name }} </h3><br>
|
||||
{!! Form::open(['action' => 'WikiController@changePassword', 'method' => 'POST']) !!}
|
||||
{!! Form::open(['action' => 'Wiki\WikiController@changePassword', 'method' => 'POST']) !!}
|
||||
<div class="form-group col-md-6">
|
||||
{{ Form::label('password', 'Password') }}
|
||||
{{ Form::password('password', ['class' => 'form-control']) }}
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<h3>Your Username is: {{ $name }} </h3><br>
|
||||
{!! Form::open(['action' => 'WikiController@storeRegister', 'method' => 'POST']) !!}
|
||||
{!! Form::open(['action' => 'Wiki\WikiController@storeRegister', 'method' => 'POST']) !!}
|
||||
<div class="form-group col-md-6">
|
||||
{{ Form::label('password', 'Password') }}
|
||||
{{ Form::password('password', ['class' => 'form-control']) }}
|
||||
|
||||
Reference in New Issue
Block a user