diff --git a/resources/views/admin/dashboards/users.blade.php b/resources/views/admin/dashboards/users.blade.php new file mode 100644 index 000000000..c4978249a --- /dev/null +++ b/resources/views/admin/dashboards/users.blade.php @@ -0,0 +1,47 @@ +@extends('admin.layouts.b4') +@section('content') +
+
+
+ User Information +
+
+ + + + + + + + + @foreach($userArr as $user) + + + + + + + @endforeach + +
NameRolePermissionsAction
{{ $user['name'] }}{{ $user['role'] }} + @if($user['permissions']) + @foreach($user['permissions'] as $perm) + {{ implode(', ', $perm) }} + @endforeach + @else + No Permissions + @endif + + {!! 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() !!} +
+
+
+
+@endsection \ No newline at end of file