2016-06-07 19:09:47 +02:00
|
|
|
<template name="studySeriesQuickSwitch">
|
2016-06-16 08:57:04 -03:00
|
|
|
<div class="quickSwitch {{side}} clearfix">
|
|
|
|
|
<div class="switchSection {{#if eq side 'left'}}pull-right{{else}}pull-left{{/if}}">
|
2016-06-07 19:09:47 +02:00
|
|
|
<div class="label">Study</div>
|
2016-06-14 10:36:54 -03:00
|
|
|
<div class="studySwitch"></div>
|
|
|
|
|
<div class="switchHover studyHover clearfix">
|
|
|
|
|
<div class="scrollArea">
|
2016-06-15 11:14:30 -03:00
|
|
|
{{>studyTimepointBrowser timepointViewType=timepointViewType viewportIndex=viewportIndex}}
|
2016-06-14 10:36:54 -03:00
|
|
|
</div>
|
2016-06-07 19:09:47 +02:00
|
|
|
</div>
|
|
|
|
|
</div>
|
2016-06-16 08:57:04 -03:00
|
|
|
<div class="switchSection {{#if eq side 'left'}}pull-right{{else}}pull-left{{/if}}">
|
|
|
|
|
{{#let thumbnailsList=(thumbnails currentStudy)}}
|
|
|
|
|
<div class="label">Series</div>
|
|
|
|
|
<div class="seriesSwitch clearfix">
|
|
|
|
|
{{#each thumbnail in thumbnailsList}}
|
|
|
|
|
{{#if lt @index 8}}
|
|
|
|
|
<div class="seriesItem {{#if eq side 'left'}}pull-right{{else}}pull-left{{/if}} {{#if isSeriesActive thumbnail.stack.seriesInstanceUid viewportIndex}}active{{/if}}"></div>
|
|
|
|
|
{{else}}
|
|
|
|
|
{{#if eq @index 8}}
|
|
|
|
|
<div class="seriesItem count {{#if eq side 'left'}}pull-right{{else}}pull-left{{/if}}">{{thumbnailsList.length}}</div>
|
|
|
|
|
{{/if}}
|
|
|
|
|
{{/if}}
|
2016-06-14 10:36:54 -03:00
|
|
|
{{/each}}
|
|
|
|
|
</div>
|
2016-06-16 08:57:04 -03:00
|
|
|
<div class="switchHover seriesHover clearfix">
|
|
|
|
|
<div class="scrollArea">
|
|
|
|
|
{{#each thumbnail in thumbnailsList}}
|
|
|
|
|
{{>thumbnailEntry thumbnail=thumbnail viewportIndex=viewportIndex}}
|
|
|
|
|
{{/each}}
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
{{/let}}
|
2016-06-07 19:09:47 +02:00
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|