mirror of
https://gitlab.com/signalytic/client-external/streamline/streamline-emr.git
synced 2026-09-11 18:51:31 +00:00
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:
Vendored
Executable
+51
@@ -0,0 +1,51 @@
|
||||
// Theme color settings
|
||||
$(document).ready(function(){
|
||||
function store(name, val) {
|
||||
if (typeof (Storage) !== "undefined") {
|
||||
localStorage.setItem(name, val);
|
||||
} else {
|
||||
window.alert('Please use a modern browser to properly view this template!');
|
||||
}
|
||||
}
|
||||
$("*[theme]").click(function(e){
|
||||
e.preventDefault();
|
||||
var currentStyle = $(this).attr('theme');
|
||||
store('theme', currentStyle);
|
||||
$('#theme').attr({href: 'elite/css/colors/'+currentStyle+'.css'})
|
||||
});
|
||||
|
||||
var currentTheme = get('theme');
|
||||
if(currentTheme)
|
||||
{
|
||||
$('#theme').attr({href: 'elite/css/colors/'+currentTheme+'.css'});
|
||||
}
|
||||
// color selector
|
||||
$('#themecolors').on('click', 'a', function(){
|
||||
$('#themecolors li a').removeClass('working');
|
||||
$(this).addClass('working')
|
||||
});
|
||||
|
||||
});
|
||||
function get(name) {
|
||||
|
||||
}
|
||||
|
||||
$(document).ready(function(){
|
||||
$("*[theme]").click(function(e){
|
||||
e.preventDefault();
|
||||
var currentStyle = $(this).attr('theme');
|
||||
store('theme', currentStyle);
|
||||
$('#theme').attr({href: 'elite/css/colors/'+currentStyle+'.css'})
|
||||
});
|
||||
|
||||
var currentTheme = get('theme');
|
||||
if(currentTheme)
|
||||
{
|
||||
$('#theme').attr({href: 'elite/css/colors/'+currentTheme+'.css'});
|
||||
}
|
||||
// color selector
|
||||
$('#themecolors').on('click', 'a', function(){
|
||||
$('#themecolors li a').removeClass('working');
|
||||
$(this).addClass('working')
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user