srp blades
This commit is contained in:
36
resources/views/srp/admin/process.blade.php
Normal file
36
resources/views/srp/admin/process.blade.php
Normal file
@@ -0,0 +1,36 @@
|
||||
@extends('layouts.b4')
|
||||
@section('content')
|
||||
{!! Form::open(['action' => 'SRP\SRPController@processForm', 'method' => 'POST']) !!}
|
||||
<div class="container col-md-12">
|
||||
<table class="table table-striped">
|
||||
<thead>
|
||||
<th>Timestamp</th>
|
||||
<th>Pilot</th>
|
||||
<th>Fleet Commander</th>
|
||||
<th>zKillboard Link</th>
|
||||
<th>Total Loss Value</th>
|
||||
<th>Type of Ship</th>
|
||||
<th>Fleet Type</th>
|
||||
<th>Actual SRP</th>
|
||||
<th>Pay Out</th>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach($srp as $row)
|
||||
<tr>
|
||||
<td>{{ $row['created_at'] }}</td>
|
||||
<td>{{ $row['pilot'] }}</td>
|
||||
<td>{{ $row['fc'] }}</td>
|
||||
<td>{{ $row['link'] }}</td>
|
||||
<td>{{ $row['loss'] }}</td>
|
||||
<td>{{ $row['ship_type'] }}</td>
|
||||
<td>{{ $row['fleet_type'] }}</td>
|
||||
<td>{{ $row['actual_srp'] }}</td>
|
||||
<td>{{ Form::radio('pay_out', $row['id'], false, ['class' => 'form-control']) }}</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
{{ Form::submit('Pay Out', ['class' => 'form-control']) }}
|
||||
{!! Form::close() !!}
|
||||
@endsection
|
||||
4
resources/views/srp/admin/stats.blade.php
Normal file
4
resources/views/srp/admin/stats.blade.php
Normal file
@@ -0,0 +1,4 @@
|
||||
@extends('layouts.b4')
|
||||
@section('content')
|
||||
|
||||
@endsection
|
||||
36
resources/views/srp/srpform.blade.php
Normal file
36
resources/views/srp/srpform.blade.php
Normal file
@@ -0,0 +1,36 @@
|
||||
@extends('layouts.b4')
|
||||
@section('content')
|
||||
<div class="container">
|
||||
<h2>Ship Replacement Program Form</h2>
|
||||
<h3>Enter the details of your loss.</h3>
|
||||
{!! Form::open([
|
||||
'action' => 'SRP\SRPController@storeSRPFile',
|
||||
'method' => 'POST'
|
||||
]) !!}
|
||||
{{ Form::label('FC', 'Fleet Commander') }}
|
||||
{{ Form::text('FC', null, ['class' => 'form-control']) }}
|
||||
{{ Form::label('FleetType', 'Fleet Type') }}
|
||||
{{ Form::radio('FleetType', [
|
||||
'Home Defense',
|
||||
'Legacy Ops',
|
||||
'Strat Op',
|
||||
'CTA'], false, ['class' => 'form-control']) }}
|
||||
{{ Form::label('zKillboard', 'zKillboard Link') }}
|
||||
{{ Form::text('zKillboard', null, ['class' => 'form-control']) }}
|
||||
{{ Form::label('LossValue', 'Loss Value') }}
|
||||
{{ Form::text('LossValue', null, ['class' => 'form-control', 'placeholder' => '1.00']) }}
|
||||
{{ Form::label('ShipType', 'Type of Ship') }}
|
||||
{{ Form::radio('ShipType', [
|
||||
'T1FDC' => 'T1 Frig / Dessie / Cruiser',
|
||||
'T1BC' => 'T1 Battlecruiser',
|
||||
'T2F' => 'T2 Frigate',
|
||||
'T3D' => 'T3 Destroyer',
|
||||
'T1T2Logi' => 'T1 & T2 Logisticis',
|
||||
'RI' => 'Recons / Interdictors',
|
||||
'T2C' => 'T2 Cruiser',
|
||||
'T3C' => 'T3 Cruiser',
|
||||
'COM' => 'Command Ship'
|
||||
], false, ['class' => 'form-control']) }}
|
||||
{{ Form::submit('Submit', ['class' => 'btn btn-primary']) }}
|
||||
</div>
|
||||
@endsection
|
||||
Reference in New Issue
Block a user