mirror of
https://gitlab.com/signalytic/client-external/streamline/streamline-emr.git
synced 2026-09-13 11:41:31 +00:00
updated streamline-setup v2
This commit is contained in:
@@ -0,0 +1,45 @@
|
||||
|
||||
@extends('layouts.main')
|
||||
|
||||
@section('title', __('permissions.permissions'))
|
||||
|
||||
@section('content')
|
||||
|
||||
<div class="col-lg-10 col-lg-offset-1">
|
||||
<h1><i class="fa fa-key"></i>{{ __('permissions.available_permissions') }}
|
||||
|
||||
<a href="{{ route('users.index') }}" class="btn btn-default pull-right">{{ __('permissions.users') }}</a>
|
||||
<a href="{{ route('roles.index') }}" class="btn btn-default pull-right">{{ __('permissions.roles') }}</a></h1>
|
||||
<hr>
|
||||
<div class="table-responsive">
|
||||
<table class="table table-bordered table-striped">
|
||||
|
||||
<thead>
|
||||
<tr>
|
||||
<th>{{ __('permissions.permissions') }}</th>
|
||||
<th>{{ __('permissions.operation') }}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach ($permissions as $permission)
|
||||
<tr>
|
||||
<td>{{ $permission->name }}</td>
|
||||
<td>
|
||||
<a href="{{ URL::to('permissions/'.$permission->id.'/edit') }}" class="btn btn-info pull-left" style="margin-right: 3px;">{{ __('permissions.edit') }}</a>
|
||||
|
||||
{{ Form::open(['method' => 'DELETE', 'route' => ['permissions.destroy', $permission->id] ]) }}
|
||||
{{ Form::submit(__('permissions.delete'), ['class' => 'btn btn-danger']) }}
|
||||
{{ Form::close() }}
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<a href="{{ URL::to('permissions/create') }}" class="btn btn-success">{{ __('permissions.add_permission') }}</a>
|
||||
|
||||
</div>
|
||||
|
||||
@endsection
|
||||
Reference in New Issue
Block a user