ohif-viewer/Packages/viewerbase/client/components/viewer/toolbarSectionButton/toolbarSectionButton.html

23 lines
672 B
HTML
Raw Normal View History

2016-06-07 19:09:47 +02:00
<template name="toolbarSectionButton">
{{ #if this.buttonTemplateName }}
{{> UI.dynamic template=this.buttonTemplateName data=this }}
{{ else }}
<div id="{{this.id}}"
class="toolbarSectionButton rp-x-1 {{this.classes}} {{activeClass}}"
title="{{this.title}}">
2016-06-07 19:09:47 +02:00
<div class="svgContainer">
{{ #if this.svgLink }}
2016-06-07 19:09:47 +02:00
<svg>
<use xlink:href={{this.svgLink}}></use>
2016-06-07 19:09:47 +02:00
</svg>
{{ else }}
<i class={{iconClasses}}></i>
{{ /if }}
2016-06-07 19:09:47 +02:00
</div>
<div class="buttonLabel">
{{this.title}}
2016-06-07 19:09:47 +02:00
</div>
</div>
{{ /if }}
2016-06-13 20:51:05 +02:00
</template>