2016-06-07 19:09:47 +02:00
|
|
|
<template name="studySeriesQuickSwitch">
|
2016-06-16 17:08:02 +02:00
|
|
|
<div class="quickSwitchWrapper {{side}}">
|
2016-06-22 16:06:12 +02:00
|
|
|
<div class="quickSwitch js-quick-switch clearfix rp-t-1 {{#if eq side 'right'}}rp-l-3{{/if}}{{#if eq side 'left'}}rp-r-3{{/if}}">
|
|
|
|
|
<div class="switchSection switchSectionStudy rp-x-1 {{#if eq side 'right'}}pull-left{{else}}pull-right{{/if}}">
|
2016-06-16 17:08:02 +02:00
|
|
|
<div class="label">Study</div>
|
|
|
|
|
<div class="studySwitch">
|
|
|
|
|
<div class="studyBox"></div>
|
|
|
|
|
<div class="switchHover studyHover clearfix">
|
|
|
|
|
<div class="scrollArea">
|
2016-06-22 14:10:23 +02:00
|
|
|
{{>studyTimepointBrowser timepointViewType='key' currentStudy=this.currentStudy viewportIndex=this.viewportIndex}}
|
2016-06-16 17:08:02 +02:00
|
|
|
</div>
|
|
|
|
|
</div>
|
2016-06-14 15:36:54 +02:00
|
|
|
</div>
|
2016-06-07 19:09:47 +02:00
|
|
|
</div>
|
2016-06-22 16:06:12 +02:00
|
|
|
<div class="switchSection switchSectionSeries rp-x-1 {{#if eq side 'right'}}pull-left{{else}}pull-right{{/if}}">
|
2016-06-17 13:29:56 +02:00
|
|
|
{{#let thumbnailsList=(studyThumbnails currentStudy)}}
|
2016-06-16 17:08:02 +02:00
|
|
|
<div class="label">Series</div>
|
|
|
|
|
<div class="seriesSwitch clearfix">
|
2016-06-16 13:57:04 +02:00
|
|
|
{{#each thumbnail in thumbnailsList}}
|
2016-06-16 17:08:02 +02:00
|
|
|
{{#if lt @index 8}}
|
2016-06-22 16:06:12 +02:00
|
|
|
<div class="seriesItem {{#if eq side 'right'}}pull-left{{else}}pull-right{{/if}} {{#if isSeriesActive thumbnail.stack.seriesInstanceUid viewportIndex}}active{{/if}}"></div>
|
2016-06-16 17:08:02 +02:00
|
|
|
{{else}}
|
|
|
|
|
{{#if eq @index 8}}
|
2016-06-22 16:06:12 +02:00
|
|
|
<div class="seriesItem count {{#if eq side 'right'}}pull-left{{else}}pull-right{{/if}}">{{thumbnailsList.length}}</div>
|
2016-06-16 17:08:02 +02:00
|
|
|
{{/if}}
|
|
|
|
|
{{/if}}
|
2016-06-16 13:57:04 +02:00
|
|
|
{{/each}}
|
2016-06-16 17:08:02 +02:00
|
|
|
<div class="switchHover seriesHover clearfix">
|
|
|
|
|
<div class="scrollArea">
|
2016-06-20 14:51:27 +02:00
|
|
|
<div class="thumbnailsWrapper">
|
|
|
|
|
{{#each thumbnail in thumbnailsList}}
|
|
|
|
|
{{>thumbnailEntry thumbnail=thumbnail viewportIndex=viewportIndex}}
|
|
|
|
|
{{/each}}
|
|
|
|
|
</div>
|
2016-06-16 17:08:02 +02:00
|
|
|
</div>
|
|
|
|
|
</div>
|
2016-06-16 13:57:04 +02:00
|
|
|
</div>
|
2016-06-16 17:08:02 +02:00
|
|
|
{{/let}}
|
|
|
|
|
</div>
|
2016-06-07 19:09:47 +02:00
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|