* Add initial version of ViewportPlugin class * Move entrypoints from OHIFPlugin to OHIF.plugins * Add URL route to DICOMWeb server for Standalone Viewer
19 lines
792 B
HTML
19 lines
792 B
HTML
<template name="gridLayout">
|
|
<div id='imageViewerViewports'>
|
|
{{#each viewport in viewports}}
|
|
<div class="viewportContainer {{getClass @index}} {{ activeClass @index }}" style="height:{{height}}%;width:{{width}}%;">
|
|
{{ #if eq viewport.plugin 'cornerstone'}}
|
|
<div class="removable">
|
|
{{>imageViewerViewport (clone viewport)}}
|
|
</div>
|
|
{{ else }}
|
|
<div class="viewport-plugin-{{viewport.plugin}}"
|
|
style="height:100%; width: 100%">
|
|
</div>
|
|
{{ /if }}
|
|
{{>seriesQuickSwitch (clone this viewport=viewport viewportIndex=@index)}}
|
|
</div>
|
|
{{/each}}
|
|
</div>
|
|
</template>
|