110 lines
3.6 KiB
HTML
110 lines
3.6 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
|
|
<meta
|
|
name="description"
|
|
content="Open Health Imaging Foundation DICOM Viewer"
|
|
/>
|
|
<meta
|
|
name="viewport"
|
|
content="width=device-width,initial-scale=1.0,minimum-scale=1,maximum-scale=1,user-scalable=no"
|
|
/>
|
|
<link
|
|
rel="shortcut icon"
|
|
type="image/png"
|
|
href="/images/logo.png"
|
|
sizes="16x16 32x32 64x64"
|
|
/>
|
|
<meta name="theme-color" content="#000000" />
|
|
<meta http-equiv="cleartype" content="on" />
|
|
<meta name="MobileOptimized" content="320" />
|
|
<meta name="HandheldFriendly" content="True" />
|
|
<meta name="apple-mobile-web-app-capable" content="yes" />
|
|
|
|
<link rel="manifest" href="./manifest.json" />
|
|
<link rel="stylesheet" href="index.css" />
|
|
|
|
<!-- Latest compiled and minified CSS -->
|
|
<link
|
|
rel="stylesheet"
|
|
href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"
|
|
integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u"
|
|
crossorigin="anonymous"
|
|
/>
|
|
|
|
<!-- WEB FONTS -->
|
|
<link
|
|
href="https://fonts.googleapis.com/css?family=Sanchez"
|
|
rel="stylesheet"
|
|
/>
|
|
<link
|
|
rel="stylesheet"
|
|
href="https://use.fontawesome.com/releases/v5.7.2/css/all.css"
|
|
integrity="sha384-fnmOCqbTlWIlj8LyTjo7mOUStjsKC4pOpQbqyi7RrhN7udi9RwhKkMHpvLbHG9Sr"
|
|
crossorigin="anonymous"
|
|
/>
|
|
|
|
<title>OHIF Standalone Viewer</title>
|
|
<base href="http://localhost:5000/" />
|
|
</head>
|
|
|
|
<body>
|
|
<noscript>
|
|
You need to enable JavaScript to run this app.
|
|
</noscript>
|
|
|
|
<div id="root"></div>
|
|
|
|
<!-- Load React. -->
|
|
<!-- Note: when deploying, replace "development.js" with "production.min.js". -->
|
|
<script src="https://unpkg.com/react@16/umd/react.development.js"></script>
|
|
<script src="https://unpkg.com/react-dom@16/umd/react-dom.development.js"></script>
|
|
|
|
<script>
|
|
"use strict";
|
|
|
|
var process = {
|
|
env: {
|
|
NODE_ENV: "production"
|
|
}
|
|
};
|
|
|
|
window.process = process;
|
|
</script>
|
|
|
|
<script src="deps/index.umd.js" crossorigin></script>
|
|
|
|
<!-- Load our React component. -->
|
|
<script src="servers.js"></script>
|
|
<script>
|
|
let props = { routerBasename: "/", rootUrl: "http://localhost:5000" };
|
|
props.servers = dicomWebServers.servers;
|
|
/*
|
|
|
|
White labelling example
|
|
|
|
// Note that you can't write JSX here, so you can use the online JSX compiler:
|
|
// https://babeljs.io/repl/#?babili=false&browsers=&build=&builtIns=false&spec=false&loose=false&code_lz=GYVwdgxgLglg9mABACwKYBt1wBQEpEDeAUIogE6pQhlIA8AholPWQOaUC8ARAPoBG6emADWXchm5g4cAA6owqMoikVgiimTERBAZx0A5egFtU3NPQAmigLR8yQi2OSqzUKDIBcAei_2LMCHp0GCN6VhgwVgA6CDgjLgA-ElIU1LS02hDWRB0yCA4AcmQ3Tx8_AKCQsIjo2KMvAHcZa1iwKHkoLxAZLEsdLwAmAAYARgB2LxGRrwgyWTkLFrmZBetwMGNURYGomUiCxC8k9JOU2i96BIBuIgBfIiA&debug=false&forceAllTransforms=false&shippedProposals=false&circleciRepo=&evaluate=false&fileSize=false&timeTravel=false&sourceType=module&lineWrap=true&presets=react&prettier=false&targets=&version=6.26.0&envVersion=
|
|
*/
|
|
function RadicalImagingLogo() {
|
|
return React.createElement(
|
|
"a",
|
|
{
|
|
target: "_blank",
|
|
rel: "noopener noreferrer",
|
|
className: "header-brand",
|
|
href: "http://radicalimaging.com"
|
|
},
|
|
React.createElement("h5", {}, "RADICAL IMAGING")
|
|
);
|
|
}
|
|
const Viewer = window.OHIFStandaloneViewer.App;
|
|
const app = React.createElement(Viewer, props, null);
|
|
|
|
ReactDOM.render(app, document.getElementById("root"));
|
|
</script>
|
|
</body>
|
|
</html>
|