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,89 @@
@extends('layouts.main')
@push('styles')
<link href="{{ asset('elite/bower_components/bootstrap-datepicker/bootstrap-datepicker.min.css') }}" rel="stylesheet" type="text/css" />
<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 type="text/css">
.color-bordered-table.success-bordered-table {
border-top: 0px;
}
</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">{{ __('blood_donations.new_blood_donation') }}</h4>
</div>
<div class="col-lg-9 col-sm-8 col-md-8 col-xs-12">
<ol class="breadcrumb">
<li><a href="{{ route('home') }}">{{ __('blood_donations.dashboard') }}</a></li>
<li><a href="{{ route('blood_donations.index') }}">{{ __('blood_donations.blood_donors') }}</a></li>
<li class="active">{{ __('blood_donations.new_blood_donation') }}</li>
</ol>
</div>
</div>
<div class="row">
<div class="col-sm-12">
<div class="white-box">
<div class="table-responsive">
<table class="table color-bordered-table success-bordered-table">
<thead>
<tr>
<th style="width: 20%">{{ __('blood_donations.blood_group') }}</th>
<th style="width: 20%">{{ __('blood_donations.name') }}</th>
<th style="width: 20%">{{ __('blood_donations.phone') }}</th>
<th style="width: 20%">{{ __('blood_donations.new_donation_date') }}</th>
<th style="width: 20%">{{ __('blood_donations.action') }}</th>
</tr>
</thead>
<tbody>
<tr>
@php $blood_group = \Streamline\Models\BloodGroup::find($donor->blood_group_id); @endphp
<td>{{ $blood_group->name }}</td>
<td>{{ $donor->first_name }} {{ $donor->last_name }}</td>
<td>{{ $donor->phone }}</td>
<td>
{{ Form::open(['method' => 'POST', 'route' => ['blood_donations.store']]) }}
<div class="input-group">
{{ Form::text('donation_date','',['class' => 'form-control compulsory', 'required','readonly','id'=>'datepicker-autoclose']) }}
<span class="input-group-addon"><i class="icon-calender"></i></span>
</div>
</td>
<td>
<input type="hidden" name="donor_id" value="{{ $donor->id }}">
<button type="submit" class="btn btn-success btn-sm"> {{ __('blood_donations.update') }}</button>
{{ Form::close() }}
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
@endsection
@push('scripts')
<!-- Date Picker Plugin JavaScript -->
<script src="{{ asset('elite/bower_components/bootstrap-datepicker/bootstrap-datepicker.min.js') }}"></script>
<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>
jQuery('#datepicker-autoclose').datepicker({
autoclose: true,
todayHighlight: true,
format: 'dd/mm/yyyy',
});
</script>
@endpush