ripcrypt/templates/Apps/ArmourSheet/content.hbs

109 lines
2.1 KiB
Handlebars

<div class="contents">
<div class="contents__left">
<label for="">
{{ rc-i18n "RipCrypt.common.access" }}
</label>
<select name="system.access" id="">
{{ rc-options system.access accesses localize=true }}
</select>
<label for="">
{{ rc-i18n "RipCrypt.common.weightRating" }}
</label>
<select name="system.weight" id="">
{{ rc-options system.weight weights localize=true }}
</select>
<rc-border
var:border-color="var(--accent-1)"
>
<span slot="title">Cost</span>
<div slot="content" class="content">
<label
for="{{ meta.idp }}"
>
Gold
</label>
<input
type="number"
id="{{ meta.idp }}"
name="system.cost.gold"
value="{{ system.cost.gold }}"
>
<label
for="{{ meta.idp }}"
>
Silver
</label>
<input
type="number"
id="{{ meta.idp }}"
name="system.cost.silver"
value="{{ system.cost.silver }}"
>
<label
for="{{ meta.idp }}"
>
Copper
</label>
<input
type="number"
id="{{ meta.idp }}"
name="system.cost.copper"
value="{{ system.cost.copper }}"
>
</div>
</rc-border>
</div>
<hr class="vertical">
<div class="contents__right">
<span class="section-pill">Location</span>
<armour-summary
var:row-gap="8px"
>
<div slot="head">
<input
type="checkbox"
aria-label=""
value="head"
{{ checked protects.head }}
name="system.location"
>
</div>
<div slot="body">
<input
type="checkbox"
aria-label=""
value="body"
{{ checked protects.body }}
name="system.location"
>
</div>
<div slot="arms">
<input
type="checkbox"
aria-label=""
value="arms"
{{ checked protects.arms }}
name="system.location"
>
</div>
<div slot="legs">
<input
type="checkbox"
aria-label=""
value="legs"
{{ checked protects.legs }}
name="system.location"
>
</div>
</armour-summary>
<input
type="number"
class="center"
aria-label="Damage reduction"
data-tooltip="Damage reduction"
min="0"
name="system.protection"
value="{{ system.protection }}"
>
</div>
</div>