mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-03-07 14:36:13 +01:00
Merge branch 'v14-Dev' into feature/1354-Armor-Effect
This commit is contained in:
commit
934659910f
50 changed files with 987 additions and 102 deletions
|
|
@ -1,5 +1,5 @@
|
|||
<div class="daggerheart chat action">
|
||||
<details class="action-move">
|
||||
<details class="action-move" {{this.open}}>
|
||||
<summary class="action-section">
|
||||
<img class="action-img" src="{{action.img}}" />
|
||||
<div class="action-header">
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
<h2 class="title">{{this.title}}</h2>
|
||||
<span class="label">{{localize 'DAGGERHEART.UI.Chat.deathMove.title'}}</span>
|
||||
</div>
|
||||
<i class="fa-solid {{this.chevron}}"></i>
|
||||
<i class="fa-solid fa-chevron-down"></i>
|
||||
</summary>
|
||||
<div class="description">
|
||||
{{{this.description}}}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<div class="daggerheart chat downtime">
|
||||
<ul class="downtime-moves-list">
|
||||
{{#each moves as | move index |}}
|
||||
<details class="downtime-move">
|
||||
<details class="downtime-move" {{@root.open}}>
|
||||
<summary class="downtime-label">
|
||||
<img class="downtime-image" src="{{move.img}}" />
|
||||
<div class="header-label">
|
||||
|
|
|
|||
|
|
@ -37,17 +37,19 @@
|
|||
{{!-- <menu id="scene-navigation-active" class="scene-navigation-menu flexcol">
|
||||
{{#each scenes.active as |scene|}}
|
||||
<li class="scene-wrapper">
|
||||
<div class="ui-control scene {{scene.cssClass}}" data-scene-id="{{scene.id}}" data-action="viewScene" {{#if scene.tooltip}}data-tooltip-text="{{scene.tooltip}}"{{/if}}>
|
||||
<span class="scene-name ellipsis">{{scene.name}}</span>
|
||||
{{#if scene.users}}
|
||||
<ul class="scene-players">
|
||||
{{#each scene.users as |user|}}
|
||||
<li class="scene-player" style="--color-bg:{{user.color}}; --color-border:{{user.border}}"
|
||||
data-tooltip aria-label="{{user.name}}">{{user.letter}}</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
{{/if}}
|
||||
</div>
|
||||
<ul>
|
||||
<li class="ui-control scene {{scene.cssClass}}" data-scene-id="{{scene.id}}" data-action="viewScene" {{#if scene.tooltip}}data-tooltip-text="{{scene.tooltip}}"{{/if}}>
|
||||
<span class="scene-name ellipsis">{{scene.name}}</span>
|
||||
{{#if scene.users}}
|
||||
<ul class="scene-players">
|
||||
{{#each scene.users as |user|}}
|
||||
<li class="scene-player" style="--color-bg:{{user.color}}; --color-border:{{user.border}}"
|
||||
data-tooltip aria-label="{{user.name}}">{{user.letter}}</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
{{/if}}
|
||||
</li>
|
||||
</ul>
|
||||
{{#if scene.hasEnvironments}}
|
||||
<button class="ui-control scene-environment {{#if (gt scene.environments.length 1)}}many-environments{{/if}}" data-action="openSceneEnvironment" data-scene-id="{{scene.id}}"><img src="{{scene.environmentImage}}" /> </button>
|
||||
{{/if}}
|
||||
|
|
@ -57,9 +59,11 @@
|
|||
<menu id="scene-navigation-inactive" class="scene-navigation-menu flexcol">
|
||||
{{#each scenes.inactive as |scene|}}
|
||||
<li class="scene-wrapper">
|
||||
<div class="ui-control scene {{scene.cssClass}}" data-scene-id="{{scene.id}}" data-action="viewScene" {{#if scene.tooltip}}data-tooltip-text="{{scene.tooltip}}"{{/if}}>
|
||||
<ul>
|
||||
<li class="ui-control scene {{scene.cssClass}}" data-scene-id="{{scene.id}}" data-action="viewScene" {{#if scene.tooltip}}data-tooltip-text="{{scene.tooltip}}"{{/if}}>
|
||||
<span class="scene-name ellipsis">{{scene.name}}</span>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
{{/each}}
|
||||
</menu> --}}
|
||||
|
|
|
|||
19
templates/ui/tooltip/armorManagement.hbs
Normal file
19
templates/ui/tooltip/armorManagement.hbs
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
<div class="daggerheart armor-management-container">
|
||||
{{#each sources as |source|}}
|
||||
<div class="armor-source-container">
|
||||
<label class="armor-source-label">{{source.name}}</label>
|
||||
<div class="status-bar armor-slots">
|
||||
<div class='status-value'>
|
||||
<input class="bar-input armor-marks-input" value="{{source.value}}" data-uuid="{{source.uuid}}" type="number">
|
||||
<span>/</span>
|
||||
<span class="bar-label">{{source.max}}</span>
|
||||
</div>
|
||||
<progress
|
||||
class='progress-bar stress-color'
|
||||
value='{{source.value}}'
|
||||
max='{{source.max}}'
|
||||
></progress>
|
||||
</div>
|
||||
</div>
|
||||
{{/each}}
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue