Make a unique ArmourSheet so that it can have a better UX for indicating protection locations
This commit is contained in:
parent
2b88bcc2ef
commit
94942c8eab
9 changed files with 407 additions and 6 deletions
109
templates/Apps/ArmourSheet/content.hbs
Normal file
109
templates/Apps/ArmourSheet/content.hbs
Normal file
|
|
@ -0,0 +1,109 @@
|
|||
<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>
|
||||
Loading…
Add table
Add a link
Reference in a new issue