Files
streamline-emr/docker/streamline-src/resources/views/layouts/top.blade.php
T
alec.turner a424394109 Build modified streamline images
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
2024-03-10 16:17:50 -07:00

70 lines
4.4 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" id="open-close-custom"><i class="icon-arrow-left-circle ti-menu"></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">
@if(session()->has('patient_id') && possible_patient_record_duplicates(session()->get('patient_id')))
<li>
<div class="alert alert-info" style="padding: 5px; margin-top: 10px; margin-right: 5px;">
<button type="button" class="close" data-dismiss="alert">×</button>
<span style="padding-top: 5px;">
<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;">{{ __('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;">{{ __('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) }}" 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>