.
This commit is contained in:
@@ -0,0 +1,34 @@
|
|||||||
|
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>Collection Viva Case Series</title>
|
||||||
|
<style type="text/css">
|
||||||
|
body, html
|
||||||
|
{
|
||||||
|
margin: 0; padding: 0; height: 100%; overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
#viewer
|
||||||
|
{
|
||||||
|
position:absolute; left: 0; right: 0; bottom: 0; top: 0px;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<iframe id="viewer" style="width: 100%; height: 100%; border: none; padding: 0px;" src="/ohif/viewer/dicomjson?url=https://www.penracourses.org.uk{% url 'atlas:case_dicom_json' current_case.pk %}"></iframe>
|
||||||
|
|
||||||
|
<script type="text/javascript">
|
||||||
|
var win2 = false;
|
||||||
|
|
||||||
|
document.addEventListener("DOMContentLoaded", function() {
|
||||||
|
console.log('ready');
|
||||||
|
const bc = new BroadcastChannel("test_channel");
|
||||||
|
bc.onmessage = (event) => {
|
||||||
|
console.log(event);
|
||||||
|
};
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
+2
-2
@@ -1371,8 +1371,8 @@ def collection_viva_series(request, pk, series_id):
|
|||||||
|
|
||||||
return render(
|
return render(
|
||||||
request,
|
request,
|
||||||
"atlas/collection_viva_case.html",
|
"atlas/collection_viva_series.html",
|
||||||
{"collection": collection, "current_case": series},
|
{"collection": collection, "current_series": series},
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user