Added ability to add/edit buffs
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
<!-- data is the CustomBuff -->
|
||||
<template name="applyBuffDialog">
|
||||
<div class="fit layout vertical">
|
||||
<app-header-layout has-scrolling-region class="feedback flex">
|
||||
<app-header fixed effects="waterfall">
|
||||
<app-toolbar>
|
||||
Apply Buff
|
||||
</app-toolbar>
|
||||
</app-header>
|
||||
<div class="form flex">
|
||||
<paper-dropdown-menu class=flex label="Target" style="flex-basis: 150px; max-width: 200px;">
|
||||
<dicecloud-selector selected="default" class="dropdown-content target-dropdown">
|
||||
{{#if canApplyToSelf}}
|
||||
<paper-item name="default" style="width: 150px;">
|
||||
Self
|
||||
</paper-item>
|
||||
{{else}}
|
||||
<paper-item name="default" style="width: 150px;">
|
||||
Choose a character
|
||||
</paper-item>
|
||||
{{/if}}
|
||||
{{#each character in writableCharacters}}
|
||||
<paper-item name="{{character._id}}">
|
||||
{{character.name}}
|
||||
</paper-item>
|
||||
{{/each}}
|
||||
</dicecloud-selector>
|
||||
</paper-dropdown-menu>
|
||||
</div>
|
||||
</app-header-layout>
|
||||
<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>
|
||||
Reference in New Issue
Block a user