Add a context menu for the material so that it can be edited and deleted (closes #133)
This commit is contained in:
parent
c7bafee6b6
commit
fe4abd073f
8 changed files with 42 additions and 17 deletions
|
|
@ -85,8 +85,7 @@
|
|||
data-tooltip="{{dd-i18n 'dotdungeon.common.delete'}}"
|
||||
data-tooltip-direction="RIGHT"
|
||||
class="aspect__button--delete"
|
||||
data-embedded-delete
|
||||
data-embedded-id="{{item.uuid}}"
|
||||
data-embedded-delete="{{item.uuid}}"
|
||||
>
|
||||
<div aria-hidden="true" class="icon icon--20">
|
||||
{{{ icons.garbage-bin }}}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
<div class="material">
|
||||
<div class="material" data-embedded-id="{{item.uuid}}">
|
||||
<label
|
||||
for="{{meta.idp}}-{{item.uuid}}-quantity-input"
|
||||
class="material__label"
|
||||
|
|
|
|||
|
|
@ -85,8 +85,7 @@
|
|||
data-tooltip="{{dd-i18n 'dotdungeon.common.delete'}}"
|
||||
data-tooltip-direction="RIGHT"
|
||||
class="pet__button--delete"
|
||||
data-embedded-delete
|
||||
data-embedded-id="{{item.uuid}}"
|
||||
data-embedded-delete="{{item.uuid}}"
|
||||
>
|
||||
<div aria-hidden="true" class="icon icon--20">
|
||||
{{{ icons.garbage-bin }}}
|
||||
|
|
|
|||
|
|
@ -89,8 +89,7 @@
|
|||
data-tooltip="{{dd-i18n 'dotdungeon.common.delete'}}"
|
||||
data-tooltip-direction="RIGHT"
|
||||
class="untyped__button--delete"
|
||||
data-embedded-delete
|
||||
data-embedded-id="{{item.uuid}}"
|
||||
data-embedded-delete="{{item.uuid}}"
|
||||
>
|
||||
<div aria-hidden="true" class="icon icon--20">
|
||||
{{{ icons.garbage-bin }}}
|
||||
|
|
|
|||
|
|
@ -104,8 +104,7 @@
|
|||
data-tooltip="{{dd-i18n 'dotdungeon.common.delete'}}"
|
||||
data-tooltip-direction="RIGHT"
|
||||
class="weapon__button--delete"
|
||||
data-embedded-delete
|
||||
data-embedded-id="{{item.uuid}}"
|
||||
data-embedded-delete="{{item.uuid}}"
|
||||
>
|
||||
<div aria-hidden="true" class="icon icon--20">
|
||||
{{{ icons.garbage-bin }}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue