34 lines
1.2 KiB
HTML
34 lines
1.2 KiB
HTML
<!-- data is the CustomBuff -->
|
|
<template name="applyBuffDialog">
|
|
<div class="fit layout vertical applyBuffDialog">
|
|
<app-header fixed effects="waterfall">
|
|
<app-toolbar>
|
|
Apply Buff
|
|
</app-toolbar>
|
|
</app-header>
|
|
<div class="flex layout horizontal" style="height:100%">
|
|
<div class="flex" style="margin-right: 16px; height: 100%; max-width: 240px; overflow-y: auto;">
|
|
{{> characterPicker selfId=buff.charId includeSelf=canApplyToSelf writableOnly=true}}
|
|
</div>
|
|
<div class="flex buff-description" style="height: 100%; overflow-y: auto">
|
|
<hr style="margin: 16px 0 16px 0;">
|
|
{{#if buff.description}}
|
|
<div>{{#markdown}}{{evaluateString buff.charId buff.description}}{{/markdown}}</div>
|
|
<hr style="margin: 16px 0 16px 0;">
|
|
{{/if}}
|
|
{{> effectsViewList charId=buff.charId parentId=buff._id}}
|
|
{{> proficiencyViewList charId=buff.charId parentId=buff._id}}
|
|
{{> attacksViewList charId=buff.charId parentId=buff._id}}
|
|
</div>
|
|
</div>
|
|
<div class="buttons layout horizontal end-justified">
|
|
<paper-button id="cancelButton">
|
|
Cancel
|
|
</paper-button>
|
|
<paper-button id="applyButton" disabled={{cantApply}}>
|
|
Apply
|
|
</paper-button>
|
|
</div>
|
|
</div>
|
|
</template>
|