mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-18 16:09:03 +01:00
Reduce Action Selection click number & Style Action Type Dialog
This commit is contained in:
parent
0632a8c6bb
commit
549140d861
7 changed files with 133 additions and 34 deletions
|
|
@ -5,8 +5,11 @@
|
|||
<ul class="actions-list">
|
||||
{{#each types}}
|
||||
<li class="action-item">
|
||||
<input type="radio" name="type" value="{{id}}" {{#if (eq @index 0)}}checked{{/if}}>
|
||||
<span class="label">{{localize name}}</span>
|
||||
<label class="label" for="{{id}}">
|
||||
<i class="fa-solid {{icon}} fa-xl"></i>
|
||||
<span class="label">{{localize name}}</span>
|
||||
</label>
|
||||
<input type="radio" name="type" id="{{id}}" value="{{id}}" {{#if (eq @index 0)}}checked{{/if}}>
|
||||
</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
|
|
|
|||
|
|
@ -5,8 +5,10 @@
|
|||
<ul class="actions-list">
|
||||
{{#each actions}}
|
||||
<li class="action-item">
|
||||
<input type="radio" id="action-{{_id}}" name="actionId" value="{{_id}}" {{#if (eq @index 0)}}checked{{/if}}>
|
||||
<label class="label" for="action-{{_id}}">{{ name }}</label>
|
||||
<button type="button" class="list-button" data-action-id="{{id}}" data-action="choose">
|
||||
<img src="{{ img }}">
|
||||
<span>{{ name }}</span>
|
||||
</button>
|
||||
</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue