blacklist added to services site

This commit is contained in:
2019-10-28 05:20:05 -05:00
parent a9105b05eb
commit 4e2ff481f5
10 changed files with 260 additions and 3 deletions
+16
View File
@@ -0,0 +1,16 @@
@extends('layouts.b4')
@section('content')
<div class="container">
{!! Form::open(['action' => 'Corps\BlacklistController@AddToBlacklist', 'method' => 'POST']) !!}
<div class="form-group">
{{ Form::label('name', 'Character Name') }}
{{ Form::text('name', '', ['class' => 'form-control', 'placeholder' => 'CCP Antiquarian']) }}
</div>
<div class="form-group">
{{ Form::label('reason', 'Reason') }}
{{ Form::textarea('reason', '', ['class' => 'form-control', 'placeholder' => 'Just another antiquated dev.']) }}
</div>
{{ Form::submit('Submit', ['class' => 'btn btn-primary']) }}
{!! Form::close() !!}
</div>
@endsection
+32
View File
@@ -0,0 +1,32 @@
@extends('layouts.b4')
@section('content')
<div class="container">
<div class="card">
<div class="card-header">
<h2>Alliance Blacklist</h2>
</div>
<div class="card-body">
@if($blacklist != null)
<table class="table table-bordered table-striped">
<thead>
<th>Character Id</th>
<th>Character Name</th>
<th>Reason</th>
</thead>
<tbody>
@foreach($blacklist as $bl)
<tr>
<td>{{ $bl->characer_id }}</td>
<td>{{ $bl->name }}</td>
<td>{{ $bl->reason }}</td>
</tr>
@endforeach
</tbody>
</table>
@else
<b><h3>No Characters Found</h3></b>
@endif
</div>
</div>
</div>
@endsection
@@ -0,0 +1,12 @@
@extends('layouts.b4')
@section('content')
<div class="container">
{!! Form::open(['action' => 'Corps\BlacklistController@RemoveFromBlacklist', 'method' => 'POST']) !!}
<div class="form-group">
{{ Form::label('name', 'Character Name') }}
{{ Form::text('name', '', ['class' => 'form-control', 'placeholder' => 'CCP Antiquarian']) }}
</div>
{{ Form::submit('Submit', ['class' => 'btn btn-primary']) }}
{!! Form::close() !!}
</div>
@endsection