updated streamline-setup v2

This commit is contained in:
2025-01-15 08:53:49 -08:00
committed by alec.turner
parent a2ce9248f0
commit 4b569f81b0
20228 changed files with 2932048 additions and 63204 deletions
@@ -0,0 +1,97 @@
<?php
$hospital_information = \Streamline\Models\HospitalInformation::first();
?>
<nav class="navbar navbar-default navbar-static-top m-b-0">
<div class="navbar-header">
<a class="navbar-toggle hidden-sm hidden-md hidden-lg " href="javascript:void(0)" data-toggle="collapse"
data-target=".navbar-collapse">
<i class="ti-menu"></i>
</a>
<div class="top-left-part" style="background-color: white">
<a class="logo" href="<?php echo e(route('home')); ?>">
<b>
<img src="<?php echo e(asset('uploads/streamline/color/60X60-06.png')); ?>" style="height: 45px; width: 45px;"
alt="home" />
</b>
<span class="hidden-xs"><img src="<?php echo e(asset('uploads/streamline/color/280X50-06.png')); ?>"
style="height: 25px; width: 130px;" alt="home" /></span>
</a>
</div>
<ul class="nav navbar-top-links navbar-left hidden-xs">
<li>
<a href="javascript:void(0)"
class="open-close-custom hidden-xs waves-effect waves-light d-flex align-items-center"
id="open-close-custom">
<i class="icon-arrow-left-circle ti-menu" style="font-size: 20px"></i>
</a>
</li>
<li>
<img src="<?php echo e(asset(isset($hospital_information->logo) ? $hospital_information->logo : 'uploads/logo/logo-sm.png')); ?>"
height="60px" alt="">
</li>
</ul>
<ul class="nav navbar-top-links navbar-right pull-right d-flex align-items-center justify-content-between">
<?php if(session()->has('patient_id') && possible_patient_record_duplicates(session()->get('patient_id'))): ?>
<li>
<div class="alert alert-info position-relative py-2 px-3 my-0 mx-3 br-5">
<button type="button" class="close position-absolute right-0 top-0" style="z-index: 1;"
data-dismiss="alert">×</button>
<span>
<a href="<?php echo e(url('possible_duplicate_patients')); ?>/<?php echo e(session()->get('patient_id')); ?>"
target="_blank"><?php echo e(__('layout.has_possible_duplicates')); ?> &nbsp;&nbsp;</a>
</span>
</li>
<?php endif; ?>
<li>
<?php if(session()->has('patient_id')): ?>
<a href="/patient_episodes/"
style="color: #337ab7; background-color: #e6e600; text-shadow: none; height: 5px; line-height: normal"
class="d-flex align-items-center"><?php echo e(__('layout.patient_home')); ?></a>
<?php endif; ?>
</li>
<li>
<?php if(session()->has('patient_id')): ?>
<a href="/patient_finance/home"
style="background: #b6895e; color: white; text-shadow: none; height: 5px; line-height: normal"
class="d-flex align-items-center"><?php echo e(__('layout.finance_home')); ?></a>
<?php endif; ?>
</li>
<li class="dropdown">
<a class="dropdown-toggle profile-pic" data-toggle="dropdown" href="#"> <img
src="<?php echo e(asset('uploads/users/' . (Auth::user()->photo ?? 'placeholder.png'))); ?>"
alt="<?php echo e(Auth::user()->username); ?>" width="36" class="img-rounded"><b
class="hidden-xs"><?php echo e(Auth::user()->first_name . ' ' . Auth::user()->last_name); ?></b> </a>
<ul class="dropdown-menu dropdown-user animated flipInY">
<li><a href="<?php echo e(route('users.show', Auth::user()->id)); ?>"><i class="ti-eye"></i>
<?php echo e(__('layout.view_profile')); ?></a></li>
<li><a href="<?php echo e(route('users.edit', Auth::user()->id)); ?>"><i class="ti-user"></i>
<?php echo e(__('layout.edit_profile')); ?></a></li>
<li><a href="<?php echo e(route('logout')); ?>"
onclick="event.preventDefault(); document.getElementById('logout-form').submit();"><i
class="fa fa-power-off"></i> <?php echo e(__('layout.sign_out')); ?></a></li>
<form id="logout-form" action="<?php echo e(route('logout')); ?>" method="POST" style="display: none;">
<?php echo e(csrf_field()); ?>
</form>
</ul>
</li>
<?php if(Auth::user()->can('manage-frequently-asked-questions')): ?>
<li class="dropdown">
<a class="dropdown-toggle profile-pic" data-toggle="dropdown" href="#">
<i class="fa fa-question-circle"></i>
<b class="hidden-xs"><?php echo e(__('layout.help')); ?></b>
</a>
<ul class="dropdown-menu dropdown-user animated flipInY">
<li><a href="<?php echo e(route('frequently_asked_questions.index')); ?>">
<?php echo e(__('layout.frequently_asked_question')); ?></a></li>
<li><a target="_blank" a href="https://support.streamlinehealth.org/">
<?php echo e(__('layout.streamline_support_system')); ?></a></li>
</ul>
</li>
<?php endif; ?>
</ul>
</div>
</nav>
<?php /**PATH /var/www/html/resources/views/layouts/top.blade.php ENDPATH**/ ?>