mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-12 11:41:08 +01:00
* FEAT: create isNPC geeter and add the prop on metada on actors FEAT: create common method for documents sheets FEAT: create BaseActorSheet and implementation * FIX: tabs label * REFACTOR: remove unused methods REFACTOR: simplify CharacterSheet's click actions methods REFACTOR: minor fix on DHActor class * REFACTOR: remove unused methods REFACTOR: create method on BaseActorSheet REFACTOR: make Datamodel metadata getter * REFACTOR: remove unused method on setting sheet FEAT: create BaseActorSetting FIX: add type="button" to button on actor's sheet * FIX jsdoc * PRETTIER --------- Co-authored-by: Joaquin Pereyra <joaquinpereyra98@users.noreply.github.com>
49 lines
No EOL
1.8 KiB
Handlebars
49 lines
No EOL
1.8 KiB
Handlebars
<header class='environment-header-sheet'>
|
|
<img class='profile' src='{{source.img}}' data-action='editImage' data-edit='img' />
|
|
<div class='item-container'>
|
|
<div class="item-info">
|
|
<h1 class='item-name'><input type='text' name='name' value='{{source.name}}' /></h1>
|
|
<div class="tags">
|
|
<div class="tag">
|
|
<span>
|
|
{{localize (concat 'DAGGERHEART.GENERAL.Tiers.' source.system.tier)}}
|
|
</span>
|
|
</div>
|
|
{{#if source.system.type}}
|
|
<div class="tag">
|
|
<span>
|
|
{{localize (concat 'DAGGERHEART.CONFIG.EnvironmentType.' source.system.type '.label')}}
|
|
</span>
|
|
</div>
|
|
{{/if}}
|
|
</div>
|
|
</div>
|
|
<div class="status-number">
|
|
<div class='status-value armor-slots'>
|
|
{{#if source.system.difficulty}}
|
|
<p>{{source.system.difficulty}}</p>
|
|
{{else}}
|
|
<p>-</p>
|
|
{{/if}}
|
|
</div>
|
|
<div class="status-label">
|
|
<h4>Difficulty</h4>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<line-div></line-div>
|
|
<div class="environment-info">
|
|
<div class="description">
|
|
<i>{{source.system.description}}</i>
|
|
</div>
|
|
<div class="impulses">
|
|
<b>{{localize 'DAGGERHEART.ACTORS.Environment.FIELDS.impulses.label'}}: </b>{{{source.system.impulses}}}
|
|
</div>
|
|
</div>
|
|
<div class="environment-navigation">
|
|
{{> 'systems/daggerheart/templates/sheets/global/tabs/tab-navigation.hbs'}}
|
|
<button type="button" data-action="openSettings">
|
|
<i class="fa-solid fa-wrench"></i>
|
|
</button>
|
|
</div>
|
|
</header> |