mirror of
https://gitlab.com/signalytic/client-external/streamline/streamline-emr.git
synced 2026-09-11 18:51:31 +00:00
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
118 lines
5.5 KiB
PHP
Executable File
118 lines
5.5 KiB
PHP
Executable File
@extends('layouts.main')
|
|
|
|
@push('styles')
|
|
<link href="{{ asset('/elite/bower_components/datatables/jquery.dataTables.min.css') }}" rel="stylesheet" type="text/css" />
|
|
<link href="{{ asset('elite/tables/css/buttons.dataTables.min.css') }}" rel="stylesheet" type="text/css" />
|
|
@endpush
|
|
|
|
@section('content')
|
|
<div class="row bg-title">
|
|
<div class="col-lg-3 col-md-4 col-sm-4 col-xs-12">
|
|
<h4 class="page-title">{{ __('frequently_asked_questions.faq') }}</h4>
|
|
</div>
|
|
<div class="col-lg-9 col-sm-8 col-md-8 col-xs-12">
|
|
<ol class="breadcrumb">
|
|
<li><a href="{{ route('home') }}">{{ __('frequently_asked_questions.dashboard') }}</a></li>
|
|
<li><a class="btn btn-outline-success btn-sm btn-rounded" href="{{ route('frequently_asked_questions.create') }}">{{ __('frequently_asked_questions.add_faq_module') }}</a></li>
|
|
<li class="active">{{ __('frequently_asked_questions.add_faq_module') }}</li>
|
|
</ol>
|
|
</div>
|
|
</div>
|
|
|
|
@include('frequently_asked_questions.menu')
|
|
|
|
@include('flash::message')
|
|
|
|
<div class="row">
|
|
<div class="col-md-12">
|
|
<div class="panel">
|
|
<div class="panel-body">
|
|
<h3><b>{{ __('frequently_asked_questions.modules') }}</b></h3>
|
|
{{ Form::open(['route' => 'modules.store', 'data-toggle' => 'validator']) }}
|
|
|
|
<div class="form-group">
|
|
{{ Form::label('name', __('frequently_asked_questions.module_name')) }}
|
|
{{ Form::text('name', '', ['class' => 'form-control compulsory', 'required']) }}
|
|
<div class="help-block with-errors"></div>
|
|
</div>
|
|
|
|
{{ Form::button(__('frequently_asked_questions.save_module'),['type'=>'submit','class'=>'btn btn-success waves-effect waves-light m-r-10']) }}
|
|
|
|
{{ Form::close() }}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="row">
|
|
<div class="col-sm-12">
|
|
<div class="white-box">
|
|
<p class="text-muted m-b-30">{{ __('frequently_asked_questions.export_csv') }}</p>
|
|
<div class="table-responsive">
|
|
<table class="table table-striped success-bordered-table color-bordered-table">
|
|
<thead>
|
|
<tr>
|
|
<th>#</th>
|
|
<th>{{ __('frequently_asked_questions.name') }}</th>
|
|
<th>{{ __('frequently_asked_questions.created_by') }}</th>
|
|
<th></th>
|
|
</tr>
|
|
</thead>
|
|
<tfoot>
|
|
<tr>
|
|
<th>#</th>
|
|
<th>{{ __('frequently_asked_questions.name') }}</th>
|
|
<th>{{ __('frequently_asked_questions.created_by') }}</th>
|
|
<th></th>
|
|
</tr>
|
|
</tfoot>
|
|
<tbody>
|
|
@php $count = 1; @endphp
|
|
@if(count($modules) > 0)
|
|
@foreach($modules as $module)
|
|
<tr>
|
|
<td>{{ $count }}.</td>
|
|
<td>{{ (!is_null($module->name) ? $module->name : '') }}</td>
|
|
<th>{{ get_full_name($module->created_by, 'id', 'first_name', 'last_name', 'users') }}</th>
|
|
{{-- <td>--}}
|
|
{{-- <a href="/frequently_asked_questions/{{ $question->id }}/edit/" class="btn btn-warning btn-rounded btn-sm"><i class="fa fa-pencil"></i> Edit</a>--}}
|
|
{{-- </td>--}}
|
|
<td>
|
|
{{ Form::model($module->id ,['method' => 'DELETE', 'route' => ['modules.destroy', $module->id]]) }}
|
|
<button type="submit" class="btn btn-danger btn-rounded btn-sm" onclick="return confirm('Are you sure?')"><i class="fa fa-trash"></i> {{ __('frequently_asked_questions.delete') }}</button>
|
|
{{ Form::close() }}
|
|
</td>
|
|
</tr>
|
|
@php ++$count; @endphp
|
|
@endforeach
|
|
@endif
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@endsection
|
|
|
|
@push('scripts')
|
|
|
|
<script src="{{ asset('elite/bower_components/datatables/jquery.dataTables.min.js') }}"></script>
|
|
|
|
<script src="{{ asset('elite/tables/js/dataTables.buttons.min.js') }}"></script>
|
|
<script src="{{ asset('elite/tables/js/buttons.flash.min.js') }}"></script>
|
|
<script src="{{ asset('elite/tables/js/jszip.min.js') }}"></script>
|
|
<script src="{{ asset('elite/tables/js/pdfmake.min.js') }}"></script>
|
|
<script src="{{ asset('elite/tables/js/vfs_fonts.js') }}"></script>
|
|
<script src="{{ asset('elite/tables/js/buttons.html5.min.js') }}"></script>
|
|
<script src="{{ asset('elite/tables/js/buttons.print.min.js') }}"></script>
|
|
|
|
<script>
|
|
$('.table').DataTable({
|
|
dom: 'Bfrtip',
|
|
buttons: [
|
|
'copy', 'csv', 'excel', 'pdf', 'print'
|
|
],
|
|
pageLength : 100,
|
|
});
|
|
</script>
|
|
@endpush |