ohif-viewer/Packages/ohif-viewerbase/client/components/viewer/layoutButton/layoutButton.html
Evren Ozkan 76ebe11c8e OHIF-149 The viewer shall allow the root URL to be changed - WIP
- Use absoluteUrl for hard-coded paths in html and js
2017-01-10 13:09:43 -05:00

21 lines
613 B
HTML

<template name="layoutButton">
<div id="{{this.id}}"
class="toolbarSectionButton rp-x-1 {{this.classes}} {{activeClass}} js-dropdown-toggle"
title="{{this.title}}"
data-target="#layoutChooser"
>
<div class="svgContainer">
{{#if this.svgLink}}
<svg>
<use xlink:href={{absoluteUrl this.svgLink}}></use>
</svg>
{{else}}
<i class={{iconClasses}}></i>
{{/if}}
</div>
<div class="buttonLabel">
{{this.title}}
</div>
</div>
</template>