admin test dashboard
This commit is contained in:
@@ -1,51 +1,13 @@
|
|||||||
@extends('layouts.admin.b4')
|
@extends('layouts.admin.b4')
|
||||||
@section('content')
|
@section('content')
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<h2>Admin Dashboard Test</h2><br>
|
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<div class="card-header">
|
<div class="card-header">
|
||||||
<h2>User Information</h2>
|
<h2>W4RP Statistics</h2>
|
||||||
</div>
|
</div>
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<div class="container">
|
<h2>Stuff</h2>
|
||||||
{!! Form::open(['action' => 'Dashboard\AdminController@searchUsers', 'method' => 'POST']) !!}
|
|
||||||
<div class="form-group">
|
|
||||||
{{ Form::label('parameter', 'Seach For A User') }}
|
|
||||||
{{ Form::text('parameter', '', ['class' => 'form-control', 'placeholder' => 'CCP Antiquarian']) }}
|
|
||||||
</div>
|
|
||||||
{{ Form::submit('Search', ['class' => 'btn btn-primary']) }}
|
|
||||||
{!! Form::close() !!}
|
|
||||||
</div>
|
|
||||||
<table class="table table-striped table-bordered">
|
|
||||||
<thead>
|
|
||||||
<th>Name</th>
|
|
||||||
<th>Role</th>
|
|
||||||
<th>Permissions</th>
|
|
||||||
<th>Action</th>
|
|
||||||
</thead>
|
|
||||||
<tbody>
|
|
||||||
@foreach($usersArr as $user)
|
|
||||||
<tr>
|
|
||||||
<td>{{ $user->name }}</td>
|
|
||||||
<td>{{ $user->role }}</td>
|
|
||||||
<td>{{ $user->permission }}</td>
|
|
||||||
<td>
|
|
||||||
{!! Form::open(['action' => 'Dashboard\AdminController@displayModifyUser', 'method' => 'POST']) !!}
|
|
||||||
{{ Form::hidden('user', $user->name) }}
|
|
||||||
{{ Form::submit('Modify User', ['class' => 'btn btn-primary']) }}
|
|
||||||
{!! Form::close() !!}
|
|
||||||
{!! Form::open(['action' => 'Dashboard\AdminController@removeUser', 'method' => 'POST']) !!}
|
|
||||||
{{ Form::hidden('user', $user->name) }}
|
|
||||||
{{ Form::submit('Remove User', ['class' => 'btn btn-danger']) }}
|
|
||||||
{!! Form::close() !!}
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
@endforeach
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<br>
|
|
||||||
{{ $usersArr->links() }}
|
|
||||||
</div>
|
</div>
|
||||||
@endsection
|
@endsection
|
||||||
@@ -1,8 +1,8 @@
|
|||||||
@extends('layouts.b4')
|
@extends('layouts.admin.b4')
|
||||||
@section('content')
|
@section('content')
|
||||||
<br>
|
<br>
|
||||||
{!! Form::open(['action' => 'Moons\MoonsAdminController@storeMoonRemoval', 'method' => 'POST']) !!}
|
{!! Form::open(['action' => 'Moons\MoonsAdminController@storeMoonRemoval', 'method' => 'POST']) !!}
|
||||||
<div class="container col-md-12">
|
<div class="container">
|
||||||
<table class="table table-striped">
|
<table class="table table-striped">
|
||||||
<thead>
|
<thead>
|
||||||
<th>System</th>
|
<th>System</th>
|
||||||
@@ -42,7 +42,7 @@
|
|||||||
{{ Form::submit('Update', ['class' => 'btn btn-primary']) }}
|
{{ Form::submit('Update', ['class' => 'btn btn-primary']) }}
|
||||||
{!! Form::close() !!}
|
{!! Form::close() !!}
|
||||||
<br>
|
<br>
|
||||||
<div class="container-fluid">
|
<div class="container">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col">
|
<div class="col">
|
||||||
<div class="card">
|
<div class="card">
|
||||||
|
|||||||
Reference in New Issue
Block a user