31 lines
761 B
HTML
31 lines
761 B
HTML
<!--needs to be given charId, parentId and parentCollection-->
|
|
<template name="customBuffEditList">
|
|
{{#if buffs.count}}
|
|
<div class="buffs">
|
|
<div class="paper-font-title" style="margin-bottom: 8px;">
|
|
Buffs
|
|
</div>
|
|
<table class="wideTable" style="width: 100%;">
|
|
{{#each buff in buffs}}
|
|
{{> customBuffEditListItem buff=buff}}
|
|
{{/each}}
|
|
</table>
|
|
</div>
|
|
{{/if}}
|
|
<paper-button id="addBuffButton"
|
|
class="red-button"
|
|
raised>
|
|
Add Buff
|
|
</paper-button>
|
|
</template>
|
|
|
|
<template name="customBuffEditListItem">
|
|
<div class="buff layout horizontal center" data-id={{buff._id}}>
|
|
{{> customBuffView buff=buff}}
|
|
<div>
|
|
<paper-icon-button class="edit-buff" icon="create">
|
|
</paper-icon-button>
|
|
</div>
|
|
</div>
|
|
</template>
|