daggerheart/templates/sheets/actors/adversary/header.hbs
WBHarry 53f15a7fde
Some checks are pending
Project CI / build (24.x) (push) Waiting to run
[Feature] NPC Actors (#1949)
2026-05-30 21:11:43 -04:00

52 lines
No EOL
2 KiB
Handlebars

<header class='adversary-header-sheet'>
<line-div></line-div>
<div class="name-row">
<h1
class="input actor-name"
contenteditable="plaintext-only"
data-property="name"
placeholder="{{localize "DAGGERHEART.GENERAL.actorName"}}"
autocomplete="off"
spellcheck="false"
>{{source.name}}</h1>
</div>
<div class="tags">
<div class="tag">
<span>
{{localize (concat 'DAGGERHEART.GENERAL.Tiers.' source.system.tier)}}
</span>
</div>
<div class="tag">
<span>{{adversaryType}}</span>
</div>
{{#if (eq source.system.type 'horde')}}
<div class="tag">
<span>{{source.system.hordeHp}}</span>
<span>/{{localize "DAGGERHEART.GENERAL.HitPoints.short"}}</span>
</div>
{{/if}}
<div class="tag" data-tooltip="DAGGERHEART.UI.Tooltip.tokenSize">
<i class="fa-solid fa-circle-user"></i>
{{#unless (eq source.system.size 'custom')}}
<span>{{localize (concat "DAGGERHEART.CONFIG.TokenSize." source.system.size)}}</span>
{{else}}
<span>{{source.prototypeToken.width}}x{{source.prototypeToken.height}}</span>
{{/unless}}
</div>
</div>
<line-div></line-div>
<div class="adversary-info">
<span class="description">
<i>{{{description}}}</i>
</span>
<span class="motives-and-tatics">
<b>{{localize 'DAGGERHEART.ACTORS.Adversary.FIELDS.motivesAndTactics.label'}}: </b>{{{source.system.motivesAndTactics}}}
</span>
</div>
{{#> 'systems/daggerheart/templates/sheets/global/tabs/tab-navigation.hbs'}}
<button type="button" data-action="openSettings" data-tooltip-text="{{localize "DAGGERHEART.UI.Tooltip.openSheetSettings"}}">
<i class="fa-solid fa-wrench"></i>
</button>
{{/ 'systems/daggerheart/templates/sheets/global/tabs/tab-navigation.hbs'}}
</header>