Add the buttons for creating new embedded items from the sheet
This commit is contained in:
parent
9b239831b8
commit
495e669ba6
5 changed files with 90 additions and 2 deletions
|
|
@ -205,7 +205,23 @@
|
|||
<table class="weapons">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="label col-header left-pill">{{ rc-i18n "RipCrypt.common.weapon.singular" }}</th>
|
||||
<th class="label col-header left-pill">
|
||||
{{ rc-i18n "RipCrypt.common.weapon.singular" }}
|
||||
<button
|
||||
class="transparent"
|
||||
data-action="createItem"
|
||||
data-item-types="weapon,ammo"
|
||||
data-default-item-type="weapon"
|
||||
data-tooltip="{{ rc-i18n "RipCrypt.tooltips.create-new-item" }}"
|
||||
aria-label="{{ rc-i18n "RipCrypt.tooltips.create-new-item" }}"
|
||||
>
|
||||
<rc-icon
|
||||
name="icons/plus"
|
||||
var:size="16px"
|
||||
var:fill="var(--accent-3)"
|
||||
></rc-icon>
|
||||
</button>
|
||||
</th>
|
||||
<th class="label col-header">{{ rc-i18n "RipCrypt.Apps.traits-range" }}</th>
|
||||
<th class="label col-header">{{ rc-i18n "RipCrypt.common.wear" }}</th>
|
||||
<th class="label col-header right-pill">{{ rc-i18n "RipCrypt.common.damage" }}</th>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue