2021-08-22 08:15:58 -04:00
|
|
|
@extends('layouts.simple')
|
2016-02-26 18:44:02 -05:00
|
|
|
|
2017-08-26 12:17:04 -04:00
|
|
|
@section('body')
|
2016-02-26 18:44:02 -05:00
|
|
|
|
2016-03-05 13:09:21 -05:00
|
|
|
<div class="container small">
|
2019-02-02 10:49:57 -05:00
|
|
|
|
2022-03-26 17:36:05 -04:00
|
|
|
@include('settings.parts.navbar', ['selected' => 'roles'])
|
2019-02-02 10:49:57 -05:00
|
|
|
|
|
|
|
<div class="card content-wrap auto-height">
|
|
|
|
|
|
|
|
<div class="grid half v-center">
|
|
|
|
<h1 class="list-heading">{{ trans('settings.role_user_roles') }}</h1>
|
|
|
|
|
|
|
|
<div class="text-right">
|
2019-08-04 09:26:39 -04:00
|
|
|
<a href="{{ url("/settings/roles/new") }}" class="button outline">{{ trans('settings.role_create') }}</a>
|
2017-08-26 12:17:04 -04:00
|
|
|
</div>
|
2016-05-22 05:44:31 -04:00
|
|
|
</div>
|
2019-02-02 10:49:57 -05:00
|
|
|
|
|
|
|
<table class="table">
|
|
|
|
<tr>
|
|
|
|
<th>{{ trans('settings.role_name') }}</th>
|
|
|
|
<th></th>
|
|
|
|
<th class="text-center">{{ trans('settings.users') }}</th>
|
|
|
|
</tr>
|
|
|
|
@foreach($roles as $role)
|
|
|
|
<tr>
|
2019-08-04 09:26:39 -04:00
|
|
|
<td><a href="{{ url("/settings/roles/{$role->id}") }}">{{ $role->display_name }}</a></td>
|
2021-07-03 08:34:48 -04:00
|
|
|
<td>
|
|
|
|
@if($role->mfa_enforced)
|
|
|
|
<span title="{{ trans('settings.role_mfa_enforced') }}">@icon('lock') </span>
|
|
|
|
@endif
|
|
|
|
{{ $role->description }}
|
|
|
|
</td>
|
2019-02-02 10:49:57 -05:00
|
|
|
<td class="text-center">{{ $role->users->count() }}</td>
|
|
|
|
</tr>
|
|
|
|
@endforeach
|
|
|
|
</table>
|
|
|
|
|
|
|
|
|
2016-05-22 05:44:31 -04:00
|
|
|
</div>
|
2016-02-26 18:44:02 -05:00
|
|
|
</div>
|
|
|
|
|
|
|
|
@stop
|