mirror of
https://gitlab.com/signalytic/client-external/streamline/streamline-emr.git
synced 2026-09-12 03:01:32 +00:00
updated streamline-setup v2
This commit is contained in:
+103
@@ -0,0 +1,103 @@
|
||||
@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">{{ __('symptoms.edit_all_symptoms') }}</h4>
|
||||
</div>
|
||||
<div class="col-lg-9 col-sm-8 col-md-8 col-xs-12">
|
||||
<ol class="breadcrumb">
|
||||
<li><a href="{{ route('home') }}">{{ __('symptoms.dashboard') }}</a></li>
|
||||
<li><a href="{{ route('clinical_data.index') }}">{{ __('symptoms.clinical_data_home') }}</a></li>
|
||||
<li><a href="{{ route('symptoms.index') }}">{{ __('symptoms.symptoms') }}</a></li>
|
||||
<li class="active">{{ __('symptoms.edit_all_symptoms') }}</li>
|
||||
</ol>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@include('clinical_data::symptoms.menu')
|
||||
|
||||
<div class="row">
|
||||
<div class="col-sm-12">
|
||||
<!--Flash messages at the top -->
|
||||
@include('flash::message')
|
||||
<div class="white-box">
|
||||
{{ Form::model($symptoms, ['method' => 'ANY', 'route' => ['symptoms.update_all'], 'data-toggle' => 'validator']) }}
|
||||
|
||||
<div class="table-responsive">
|
||||
<table class="table table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th hidden>{{ __('symptoms.id') }}</th>
|
||||
<th>{{ __('symptoms.symptom') }}</th>
|
||||
<th>{{ __('symptoms.prompt') }}</th>
|
||||
<th>{{ __('symptoms.reference_text') }}</th>
|
||||
<th>{{ __('symptoms.reference_link') }}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tfoot>
|
||||
<tr>
|
||||
<th hidden>{{ __('symptoms.id') }}</th>
|
||||
<th>{{ __('symptoms.symptom') }}</th>
|
||||
<th>{{ __('symptoms.prompt') }}</th>
|
||||
<th>{{ __('symptoms.reference_text') }}</th>
|
||||
<th>{{ __('symptoms.reference_link') }}</th>
|
||||
</tr>
|
||||
</tfoot>
|
||||
<tbody>
|
||||
@foreach($symptoms as $symptom)
|
||||
<tr>
|
||||
<td hidden>{{ Form::text('id[]', $symptom->id, ['class' => 'form-control']) }}</td>
|
||||
<td>
|
||||
<p style="display: none">{{ $symptom->name }}</p>
|
||||
{{ Form::text('name[]', $symptom->name, ['class' => 'form-control compulsory', 'required']) }}
|
||||
<div class="help-block with-errors"></div>
|
||||
</td>
|
||||
<td>{{ Form::textArea('prompts[]', $symptom->prompts, ['class' => 'form-control', 'rows' => 2]) }}</td>
|
||||
<td>{{ Form::textArea('reference_text[]', $symptom->reference_text, ['class' => 'form-control', 'rows' => 2]) }}</td>
|
||||
<td>{{ Form::textArea('reference_link[]', $symptom->reference_link, ['class' => 'form-control', 'rows' => 2]) }}</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
{{ Form::button(__('symptoms.submit'),['type'=>'submit','class'=>'btn btn-success waves-effect waves-light m-r-10']) }}
|
||||
{{ Form::button(__('symptoms.cancel'),['type'=>'reset','class'=>'btn btn-default waves-effect waves-light']) }}
|
||||
|
||||
{{ Form::close() }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@include('clinical_data::symptoms.menu')
|
||||
@endsection
|
||||
|
||||
@push('scripts')
|
||||
<script src="{{ asset('elite/js/validator.js') }}"></script>
|
||||
|
||||
<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',
|
||||
pageLength: 100,
|
||||
buttons: [
|
||||
'copy', 'csv', 'excel', 'pdf', 'print'
|
||||
]
|
||||
});
|
||||
</script>
|
||||
@endpush
|
||||
Reference in New Issue
Block a user