mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-12 11:41:08 +01:00
enhance armor and weapon sheet
This commit is contained in:
parent
c4a03b2d54
commit
ef4652ab1a
20 changed files with 367 additions and 378 deletions
21
templates/sheets/items/armor/header.hbs
Normal file
21
templates/sheets/items/armor/header.hbs
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
<header class='item-sheet-header'>
|
||||
<img class='profile' src='{{source.img}}' data-action='editImage' data-edit='img' />
|
||||
<div class='item-info'>
|
||||
<line-div></line-div>
|
||||
<h1 class='item-name'><input type='text' name='name' value='{{source.name}}' /></h1>
|
||||
<div class='item-description'>
|
||||
<h3>
|
||||
{{localize 'TYPES.Item.armor'}}
|
||||
</h3>
|
||||
<h3>
|
||||
{{localize "DAGGERHEART.Sheets.Armor.baseScore"}}:
|
||||
{{source.system.baseScore}}
|
||||
<span>-</span>
|
||||
{{localize "DAGGERHEART.Sheets.Armor.baseThresholds.base"}}:
|
||||
{{source.system.baseThresholds.major}}
|
||||
<span>/</span>
|
||||
{{source.system.baseThresholds.severe}}
|
||||
</h3>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
21
templates/sheets/items/armor/settings.hbs
Normal file
21
templates/sheets/items/armor/settings.hbs
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
<section
|
||||
class='tab {{tabs.settings.cssClass}} {{tabs.settings.id}}'
|
||||
data-tab='{{tabs.settings.id}}'
|
||||
data-group='{{tabs.settings.group}}'
|
||||
>
|
||||
|
||||
<fieldset class="two-columns">
|
||||
<legend>{{localize tabs.settings.label}}</legend>
|
||||
<span>{{localize "DAGGERHEART.Sheets.Armor.baseScore"}}</span>
|
||||
{{formField systemFields.baseScore value=source.system.baseScore}}
|
||||
|
||||
<span>{{localize "DAGGERHEART.Sheets.Armor.feature"}}</span>
|
||||
{{formField systemFields.feature value=source.system.feature localize=true blank=""}}
|
||||
|
||||
<span>{{localize "DAGGERHEART.Sheets.Armor.baseThresholds.base"}}</span>
|
||||
<div class="nest-inputs">
|
||||
{{ formField systemFields.baseThresholds.fields.major value=source.system.baseThresholds.major label=(localize "DAGGERHEART.Sheets.Armor.baseThresholds.major") }}
|
||||
{{ formField systemFields.baseThresholds.fields.severe value=source.system.baseThresholds.severe label=(localize "DAGGERHEART.Sheets.Armor.baseThresholds.severe") }}
|
||||
</div>
|
||||
</fieldset>
|
||||
</section>
|
||||
Loading…
Add table
Add a link
Reference in a new issue