mirror of
https://gitlab.com/signalytic/client-external/streamline/streamline-emr.git
synced 2026-09-12 11:11:31 +00:00
updated streamline-setup v2
This commit is contained in:
+176
@@ -0,0 +1,176 @@
|
||||
@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" />
|
||||
<style>
|
||||
table.dataTable thead th:after {
|
||||
content: "" !important;
|
||||
}
|
||||
|
||||
.show-on-hover {
|
||||
visibility: hidden !important;
|
||||
}
|
||||
|
||||
.show-on-hover-sec:hover .show-on-hover,
|
||||
.show-on-hover-sec:focus .show-on-hover {
|
||||
visibility: initial !important;
|
||||
}
|
||||
|
||||
.show-on-hover-none {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.show-on-hover-sec:hover .show-on-hover-none,
|
||||
.show-on-hover-sec:focus .show-on-hover-none {
|
||||
display: flex !important;
|
||||
gap: 4px
|
||||
}
|
||||
|
||||
td .show-on-hover-none * {
|
||||
text-transform: capitalize;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.show-on-hover-sec td {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
td .show-on-hover-none {
|
||||
position: absolute;
|
||||
bottom: .5rem;
|
||||
}
|
||||
|
||||
td .show-on-hover-none .dropdown ul {
|
||||
transform: translate(5px, 20px) !important;
|
||||
}
|
||||
|
||||
.active-box {
|
||||
font-weight: bold;
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
|
||||
.text-content-view::after {
|
||||
content: 'View';
|
||||
}
|
||||
|
||||
.text-content-edit::after {
|
||||
content: 'Edit';
|
||||
}
|
||||
|
||||
.text-content-options::after {
|
||||
content: 'Options ✢';
|
||||
border: none;
|
||||
}
|
||||
|
||||
.text-content-options.show::after {
|
||||
content: 'Options --';
|
||||
}
|
||||
|
||||
.text-content-archive::after {
|
||||
content: 'Archive record';
|
||||
}
|
||||
|
||||
.text-content-delete::after {
|
||||
content: 'Delete item';
|
||||
}
|
||||
|
||||
.text-content-delete-hard::after {
|
||||
content: 'Permanently delete item';
|
||||
}
|
||||
|
||||
.text-content-archive-restore::after {
|
||||
content: 'Restore from archive'
|
||||
}
|
||||
|
||||
.text-content-trash-restore::after {
|
||||
content: 'Restore from trash'
|
||||
}
|
||||
|
||||
.text-content-clear-logs::after {
|
||||
content: 'Clear record logs'
|
||||
}
|
||||
|
||||
|
||||
.right-0 {
|
||||
right: 0;
|
||||
}
|
||||
</style>
|
||||
@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">{{ __('labs.labs') }}</h4>
|
||||
</div>
|
||||
<div class="col-lg-9 col-sm-8 col-md-8 col-xs-12">
|
||||
<ol class="breadcrumb">
|
||||
<li><a href="{{ route('home') }}"><i class="fa fa-home"></i> {{ __('labs.home') }}</a></li>
|
||||
</ol>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-sm-12">
|
||||
@include('investigations::labs.menu')
|
||||
|
||||
@include('flash::message')
|
||||
|
||||
<div class="white-box" style="border-radius: 5px;">
|
||||
<div class="table-responsive">
|
||||
<table class="table table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>{{ __('labs.name') }}</th>
|
||||
<th>{{ __('labs.action') }}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tfoot>
|
||||
<tr>
|
||||
<th>{{ __('labs.name') }}</th>
|
||||
<th>{{ __('labs.action') }}</th>
|
||||
</tr>
|
||||
</tfoot>
|
||||
<tbody>
|
||||
@foreach ($labs as $item)
|
||||
<tr>
|
||||
<td>{{ $item->name }}</td>
|
||||
<td>
|
||||
{{ Form::model($item->id, ['method' => 'POST', 'route' => ['labs.activate', $item->id]]) }}
|
||||
<button type="submit" class="btn btn-warning"
|
||||
onclick="return confirm('<?php echo __('labs.are_you_sure'); ?>')"><i class="fa fa-check"></i>
|
||||
{{ __('labs.activate') }}</button>
|
||||
{{ Form::close() }}
|
||||
</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
</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'
|
||||
]
|
||||
});
|
||||
</script>
|
||||
@endpush
|
||||
Reference in New Issue
Block a user