Reduce Action Selection click number & Style Action Type Dialog (#408)

* Reduce Action Selection click number & Style Action Type Dialog

* fixes

* Action Select buttons color
This commit is contained in:
Dapoulp 2025-07-25 19:13:21 +02:00 committed by GitHub
parent 26e3c38aa9
commit 3f95740b7a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
14 changed files with 228 additions and 684 deletions

View file

@ -2,11 +2,13 @@
<header class="dialog-header">
<h1>{{itemName}}</h1>
</header>
<ul class="actions-list">
<ul class="action-buttons-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 reverted" data-action-id="{{id}}" data-action="choose">
<img src="{{ img }}">
<span>{{ name }}</span>
</button>
</li>
{{/each}}
</ul>