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,126 @@
@extends('layouts.main')
@push('styles')
<link href="{{ asset('elite/bower_components/select2/select2.min.css') }}" rel="stylesheet" />
<style>
.no-padding {
padding: 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">{{ __('general_settings.personal_settings') }}</h4>
</div>
<div class="col-lg-9 col-sm-8 col-md-8 col-xs-12">
<ol class="breadcrumb">
<li><a href="{{ route('home') }}">{{ __('general_settings.dashboard') }}</a></li>
<li class="active">{{ __('general_settings.edit_general_settings') }}</li>
</ol>
</div>
</div>
<div class="row">
<div class="col-sm-12">
@include('flash::message')
<div class="white-box">
@if (session()->has('streamline_setup'))
<h3><font color="blue">{{ __('general_settings.streamline_setup') }}</font></h3>
@endif
{{ Form::open(['route' => 'personal_settings.save']) }}
<div class="row">
<div class="col-md-6">
<div class="card card-outline-secondary text-dark" style="max-height:500px;overflow:auto;">
<div class="card-block no-padding">
<ul class="feeds">
<li id="system_language_setting_list">
<div class="bg-info"><i class="fa fa-eye text-white"></i></div>{{ __('general_settings.manage_user_language') }} <i class="fa fa-lg fa-angle-right float-right" style="padding-top: 12.5px;"></i>
</li>
</ul>
</div>
</div>
</div>
<div class="col-md-6">
<div id="no_setting_selected_div">
<div class="card card-inverse card-danger text-center text-white">
<div class="card-block">
<p>{{ __('general_settings.settings_info') }}</p>
</div>
</div>
</div>
<div id="system_language_div" style="display: none">
<h3 class="text-center">{{ __('general_settings.set_personal_system_language') }}</h3>
<h4>{{ __('general_settings.description') }}</h4>
<div class="card card-inverse card-secondary text-center text-white">
<div class="card-block">
<p>{{ __('general_settings.set_language_explanation_with_example') }}</p>
</div>
</div>
<h4>{{ __('general_settings.options') }}</h4>
<div class="card card-outline-secondary text-dark">
<div class="card-block">
{{ Form::select('system_language', ['1'=>'English', '2' => 'Portuguese', '3' => 'French'] , $general_settings->system_language, ['id'=>'system_language','class'=>'form-control']) }}
</div>
</div>
</div>
</div>
</div>
<br><br>
@if (session()->has('streamline_setup'))
{{ Form::button(__('general_settings.finish'),['type'=>'submit','class'=>'btn btn-success waves-effect waves-light m-r-10']) }}
@else
{{ Form::button(__('general_settings.save_settings'),['type'=>'submit','class'=>'btn btn-success waves-effect waves-light m-r-10']) }}
{{ Form::button(__('general_settings.cancel'),['type'=>'reset','class'=>'btn btn-default waves-effect waves-light']) }}
@endif
{{ Form::close() }}
</div>
</div>
</div>
@endsection
@push('scripts')
<script src="{{ asset('elite/js/validator.js') }}"></script>
<script src="{{ asset('elite/bower_components/select2/select2.min.js') }}"></script>
<script>
$(document).ready(function(){
$('#service_id').select2({});
});
$('#system_language_setting_list').click(function () {
enable_disable_divs("system_language_div");
});
function enable_disable_divs(div_to_enable) {
let settings = ['system_language_div'];
for (const setting of settings){
if (setting == div_to_enable) {
$('#' + div_to_enable).show();
} else {
$('#' + setting).hide();
}
}
}
function show(id) {
if (document.getElementById(id).style.display == 'none') {
document.getElementById(id).style.display = '';
}
}
function hide(id) {
document.getElementById(id).style.display = 'none';
}
</script>
@endpush