120 - Countdowns (#158)

* Added the shell of the Countdown application

* Added countdown automation

* Fixed overflow layout and added confirmation on countdown removal

* Added ownership to countdowns
This commit is contained in:
WBHarry 2025-06-21 21:37:22 +02:00 committed by GitHub
parent 3464717958
commit c15d55a505
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
33 changed files with 1222 additions and 137 deletions

View file

@ -0,0 +1,22 @@
<div class="ownership-outer-container">
<div class="form-group">
<label>{{localize "DAGGERHEART.OwnershipSelection.Default"}}</label>
<div class="form-fields">
<select name="ownership.default" data-dtype="Number">
{{selectOptions @root.ownershipOptions selected=ownership.default labelAttr="label" valueAttr="value" }}
</select>
</div>
</div>
{{#each ownership.players as |player id|}}
<div class="ownership-container">
{{#if player.img}}<img src="{{player.img}}" />{{/if}}
<div>{{player.name}}</div>
<select name="{{concat "ownership.players." id ".type"}}" data-dtype="Number">
{{selectOptions @root.ownershipOptions selected=player.ownership labelAttr="label" valueAttr="value" }}
</select>
</div>
{{/each}}
<footer class="flexrow">
<button type="submit">{{localize "Save"}}</button>
</footer>
</div>