Files
streamline-emr/docker/streamline-src/resources/views/layouts/top.blade.php
T
alec.turner 4a89356390 Import latest app updates from streamline
An updated set of source files and initialization was provided by streamline to
address issues observed during initial testing. These files have been updated in
order to generate a new set of app images.
2024-04-11 11:16:51 -07:00

96 lines
5.3 KiB
PHP
Executable File
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
@php
$hospital_information = \Streamline\Models\HospitalInformation::first();
@endphp
<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="{{ route('home') }}">
<b>
<img src="{{ asset('uploads/streamline/color/60X60-06.png') }}" style="height: 45px; width: 45px;"
alt="home" />
</b>
<span class="hidden-xs"><img src="{{ 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="{{ 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">
@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="{{ url('possible_duplicate_patients') }}/{{ session()->get('patient_id') }}"
target="_blank">{{ __('layout.has_possible_duplicates') }} &nbsp;&nbsp;</a>
</span>
</li>
@endif()
<li>
@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">{{ __('layout.patient_home') }}</a>
@endif
</li>
<li>
@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">{{ __('layout.finance_home') }}</a>
@endif
</li>
<li class="dropdown">
<a class="dropdown-toggle profile-pic" data-toggle="dropdown" href="#"> <img
src="{{ asset('uploads/users/' . (Auth::user()->photo ?? 'placeholder.png')) }}"
alt="{{ Auth::user()->username }}" width="36" class="img-rounded"><b
class="hidden-xs">{{ Auth::user()->first_name . ' ' . Auth::user()->last_name }}</b> </a>
<ul class="dropdown-menu dropdown-user animated flipInY">
<li><a href="{{ route('users.show', Auth::user()->id) }}"><i class="ti-eye"></i>
{{ __('layout.view_profile') }}</a></li>
<li><a href="{{ route('users.edit', Auth::user()->id) }}"><i class="ti-user"></i>
{{ __('layout.edit_profile') }}</a></li>
<li><a href="{{ route('logout') }}"
onclick="event.preventDefault(); document.getElementById('logout-form').submit();"><i
class="fa fa-power-off"></i> {{ __('layout.sign_out') }}</a></li>
<form id="logout-form" action="{{ route('logout') }}" method="POST" style="display: none;">
{{ csrf_field() }}
</form>
</ul>
</li>
@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">{{ __('layout.help') }}</b>
</a>
<ul class="dropdown-menu dropdown-user animated flipInY">
<li><a href="{{ route('frequently_asked_questions.index') }}">
{{ __('layout.frequently_asked_question') }}</a></li>
<li><a target="_blank" a href="https://support.streamlinehealth.org/">
{{ __('layout.streamline_support_system') }}</a></li>
</ul>
</li>
@endif
</ul>
</div>
</nav>