RC-72 | Step | Display & Input

This commit is contained in:
Oliver-Akins 2024-12-30 22:25:33 -07:00
parent cf3cb7357b
commit e29c5a8cd0
4 changed files with 43 additions and 1 deletions

View file

@ -60,6 +60,36 @@
{{ level.glory }}
</div>
{{/if}}
{{#if meta.editable}}
<label
for="{{meta.idp}}-step"
class="step-label col-header"
>
{{ rc-i18n "RipCrypt.common.step" }}
</label>
<input
id="{{meta.idp}}-step"
type="number"
class="step row-alt"
name="system.level.step"
value="{{level.step}}"
min="1"
max="3"
>
{{else}}
<div
id="{{meta.idp}}-step-label"
class="step-label label col-header"
>
{{ rc-i18n "RipCrypt.common.step" }}
</div>
<div
class="step row-alt input"
aria-describedby="{{meta.idp}}-step-label"
>
{{ level.step }}
</div>
{{/if}}
{{!-- * Weapons --}}
<table class="weapons">