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
This commit is contained in:
2024-03-10 16:17:50 -07:00
parent 2ffc3c408a
commit a424394109
13506 changed files with 1860172 additions and 6 deletions
@@ -0,0 +1,56 @@
<div class="white-box" style="border-radius: 5px;">
<div class="row">
<div class="col-md-8 offset-2">
<img class="img-rounded img-responsive" alt="user" src="/uploads/streamline_images/person-place-holder.jpg">
</div>
</div>
<div class="user-btm-box">
<!-- .row -->
<div class="row text-center m-t-10">
<div class="col-md-6 b-r"><strong>{{ __('patient_file.patient_number') }}</strong>
<p>{{ $patient->number }}</p>
</div>
<div class="col-md-6"><strong>{{ __('patient_file.patient_names') }}</strong>
<p>{{ $patient->first_name }} {{ $patient->last_name }}</p>
</div>
</div>
<!-- /.row -->
<hr/>
<!-- .row -->
<div class="row text-center m-t-10">
<div class="col-md-6 b-r"><strong>{{ __('patient_file.gender') }}</strong>
<p>{{ $patient->gender == 1 ? __('patient_file.male') : __('patient_file.female') }}</p>
</div>
<div class="col-md-6"><strong>{{ __('patient_file.age') }}</strong>
@php
$dob = new Carbon\Carbon($patient->date_of_birth);
$age = $dob->diffInYears(Carbon\Carbon::now());
@endphp
<p>{{ $age }} {{ __('patient_file.years') }}</p>
</div>
</div>
<hr/>
<div class="row">
<div class="col-sm-6 text-center">
@if (session()->has('patient_id'))
<a style="background: yellow" class="btn btn-rounded btn-block" href="/patient_episodes/">{{ __('patient_file.patient_home') }}</a>
@endif
</div>
<div class="col-sm-6 text-center">
@if (session()->has('patient_id'))
<a style="background: #b6895e; color: white; text-shadow: none;" class="btn btn-rounded btn-block" href="/patient_finance/home">{{ __('patient_file.finance_home') }}</a>
@endif
</div>
</div>
<hr/>
<div class="row">
<div class="col-sm-12 text-center">
<button class="btn btn-primary btn-block btn-rounded waves-effect waves-light" type="button" data-toggle="modal" data-target="#demographicsModal">
{{ __('patient_file.patient_demographic') }}
</button>
</div>
</div>
</div>
</div>