wiki purge added back

This commit is contained in:
2019-05-20 01:54:02 -05:00
parent bc900f87cc
commit 94cb7cd030
2 changed files with 15 additions and 1 deletions

View File

@@ -111,7 +111,17 @@
</div>
</div>
<div id="wiki" class="tab-pane fade">
This is a placeholder
<div class="container">
<div class="row">
{!! Form::open(['action' => 'Wiki\WikiController@purgeUsers', 'method' => 'POST']) !!}
<div class="form-group">
{{ Form::label('admin', 'This action will log the administrator who peformed the action.') }}
{{ Form::hidden('admin', auth()->user()->character_id) }}
</div>
{{ Form::submit('Purge Wiki', ['class' => 'btn btn-primary']) }}
{!! Form::close() !!}
</div>
</div>
</div>
<div id="taxes" class="tab-pane fade">
<div class="container-fluid">

View File

@@ -13,9 +13,13 @@
<td>{{ $user['name'] }}</td>
<td>{{ $user['role'] }}</td>
<td>
@if($user['permissions'])
@foreach($user['permissions'] as $perm)
{{ implode(', ', $perm) }}
@endforeach
@else
None
@endif
</td>
<td>
{!! Form::open(['action' => 'Dashboard\AdminController@removeUser', 'method' => 'POST']) !!}