blacklist added to services site
This commit is contained in:
@@ -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
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user