mirror of
https://gitlab.com/signalytic/client-external/streamline/streamline-emr.git
synced 2026-09-13 11:41: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:
Executable
+34
@@ -0,0 +1,34 @@
|
||||
function GetClock() {
|
||||
var d = new Date();
|
||||
var hours = d.getHours();
|
||||
var mins = d.getMinutes();
|
||||
var secs = d.getSeconds();
|
||||
var am_pm;
|
||||
|
||||
if (hours == 0) {
|
||||
am_pm = " AM";
|
||||
hours = 12;
|
||||
} else if (hours < 12) {
|
||||
am_pm = " AM";
|
||||
} else if (hours == 12) {
|
||||
am_pm = " PM";
|
||||
} else if (hours > 12) {
|
||||
am_pm = " PM";
|
||||
hours -= 12;
|
||||
}
|
||||
|
||||
if (mins <= 9) {
|
||||
mins = "0" + mins;
|
||||
}
|
||||
|
||||
if (secs <= 9) {
|
||||
secs = "0" + secs;
|
||||
}
|
||||
|
||||
document.getElementById('clockbox').innerHTML = hours + ":" + mins + ":" + secs + am_pm;
|
||||
}
|
||||
|
||||
window.onload = function () {
|
||||
GetClock();
|
||||
setInterval(GetClock, 1000);
|
||||
}
|
||||
Reference in New Issue
Block a user