mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-12-15 23:53:38 +08:00
4b0c4e621a
Also changed up how base URL setting was being done by manipulating incoming request URLs instead of altering then on generation.
41 lines
1.2 KiB
PHP
41 lines
1.2 KiB
PHP
@extends('simple-layout')
|
|
|
|
@section('body')
|
|
|
|
<div class="container small">
|
|
|
|
<div class="py-m">
|
|
@include('settings.navbar', ['selected' => 'roles'])
|
|
</div>
|
|
|
|
<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">
|
|
<a href="{{ url("/settings/roles/new") }}" class="button outline">{{ trans('settings.role_create') }}</a>
|
|
</div>
|
|
</div>
|
|
|
|
<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>
|
|
<td><a href="{{ url("/settings/roles/{$role->id}") }}">{{ $role->display_name }}</a></td>
|
|
<td>{{ $role->description }}</td>
|
|
<td class="text-center">{{ $role->users->count() }}</td>
|
|
</tr>
|
|
@endforeach
|
|
</table>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
@stop
|