2016-07-23 15:56:36 +02:00
|
|
|
<template name="layoutButton">
|
|
|
|
|
<div id="{{this.id}}"
|
2016-09-05 15:20:30 +02:00
|
|
|
class="toolbarSectionButton rp-x-1 {{this.classes}} {{activeClass}} js-dropdown-toggle"
|
|
|
|
|
title="{{this.title}}"
|
|
|
|
|
data-target="#layoutChooser"
|
|
|
|
|
>
|
2016-07-23 15:56:36 +02:00
|
|
|
<div class="svgContainer">
|
2016-09-05 15:20:30 +02:00
|
|
|
{{#if this.svgLink}}
|
|
|
|
|
<svg>
|
2017-01-10 19:09:43 +01:00
|
|
|
<use xlink:href={{absoluteUrl this.svgLink}}></use>
|
2016-09-05 15:20:30 +02:00
|
|
|
</svg>
|
|
|
|
|
{{else}}
|
|
|
|
|
<i class={{iconClasses}}></i>
|
|
|
|
|
{{/if}}
|
2016-07-23 15:56:36 +02:00
|
|
|
</div>
|
|
|
|
|
<div class="buttonLabel">
|
|
|
|
|
{{this.title}}
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2016-09-05 15:20:30 +02:00
|
|
|
</template>
|