mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-12 03:31:07 +01:00
Added menu with refresh tools
This commit is contained in:
parent
18b6194afe
commit
4622d7ae51
11 changed files with 269 additions and 1 deletions
22
templates/sidebar/daggerheart-menu/main.hbs
Normal file
22
templates/sidebar/daggerheart-menu/main.hbs
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
<div>
|
||||
<fieldset>
|
||||
<legend>{{localize "Refresh Features"}}</legend>
|
||||
|
||||
<div class="menu-refresh-container">
|
||||
<div class="menu-refresh-inner-container">
|
||||
{{#each refreshables as |type key|}}
|
||||
<div class="experience-chip {{#if type.selected}}selected{{/if}}" data-action="selectRefreshable" data-type="{{key}}">
|
||||
{{#if type.selected}}
|
||||
<span><i class="fa-solid fa-circle"></i></span>
|
||||
{{else}}
|
||||
<span><i class="fa-regular fa-circle"></i></span>
|
||||
{{/if}}
|
||||
<span>{{type.label}}</span>
|
||||
</div>
|
||||
|
||||
{{/each}}
|
||||
</div>
|
||||
<button data-action="refreshActors" {{disabled disableRefresh}}>{{localize "Refresh"}}</button>
|
||||
</div>
|
||||
</fieldset>
|
||||
</div>
|
||||
6
templates/ui/chat/refreshMessage.hbs
Normal file
6
templates/ui/chat/refreshMessage.hbs
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
<div class="daggerheart chat refresh-message">
|
||||
<header>
|
||||
<div class="subtitle">{{localize "DAGGERHEART.UI.Chat.refreshMessage.header"}}</div>
|
||||
<div class="types">{{types}}</div>
|
||||
</header>
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue