mirror of
https://gitlab.com/signalytic/client-external/streamline/streamline-emr.git
synced 2026-09-12 11:11:31 +00:00
Build modified streamline images
The official image from streamline does not currently work for the arm64 platform. As a temporary measure, the source code and docker build scripts have been lifted from the official images and are used to build locally. Some additional modifications are made to reduce overall image size, these are documented in docker/README.md
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
@extends('layouts.main')
|
||||
|
||||
@section('title', __('permissions.add_permission'))
|
||||
|
||||
@section('content')
|
||||
|
||||
<div class='col-lg-4 col-lg-offset-4'>
|
||||
|
||||
<h1><i class='fa fa-key'></i> {{ __('permissions.add_permission') }}</h1>
|
||||
<br>
|
||||
|
||||
{{ Form::open(array('url' => 'permissions')) }}
|
||||
|
||||
<div class="form-group">
|
||||
{{ Form::label('name', __('permissions.permission_name')) }}
|
||||
{{ Form::text('name', '', array('class' => 'form-control')) }}
|
||||
</div><br>
|
||||
@if(!$roles->isEmpty())
|
||||
<h4>{{ __('permissions.assign_permission_to_roles') }}</h4>
|
||||
|
||||
@foreach ($roles as $role)
|
||||
{{ Form::checkbox('roles[]', $role->id ) }}
|
||||
{{ Form::label($role->name, ucfirst($role->name)) }}<br>
|
||||
|
||||
@endforeach
|
||||
@endif
|
||||
<br>
|
||||
{{ Form::submit(__('permissions.add'), array('class' => 'btn btn-success')) }}
|
||||
|
||||
{{ Form::close() }}
|
||||
|
||||
</div>
|
||||
|
||||
@endsection
|
||||
@@ -0,0 +1,24 @@
|
||||
@extends('layouts.main')
|
||||
|
||||
@section('title', __('permissions.edit_permission'))
|
||||
|
||||
@section('content')
|
||||
|
||||
<div class='col-lg-4 col-lg-offset-4'>
|
||||
|
||||
<h1><i class='fa fa-key'></i> {{ __('permissions.edit') }} {{$permission->name}}</h1>
|
||||
<br>
|
||||
{{ Form::model($permission, array('route' => array('permissions.update', $permission->id), 'method' => 'PUT')) }}{{-- Form model binding to automatically populate our fields with permission data --}}
|
||||
|
||||
<div class="form-group">
|
||||
{{ Form::label('name', __('permissions.permission_name')) }}
|
||||
{{ Form::text('name', null, array('class' => 'form-control')) }}
|
||||
</div>
|
||||
<br>
|
||||
{{ Form::submit(__('permissions.edit'), array('class' => 'btn btn-success')) }}
|
||||
|
||||
{{ Form::close() }}
|
||||
|
||||
</div>
|
||||
|
||||
@endsection
|
||||
@@ -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