foundryvtt-shadows-over-sol/templates/dialog-combat-actions.html

59 lines
2.3 KiB
HTML
Raw Normal View History

2021-02-03 15:33:07 +01:00
<form class="combat-actions-dialog">
<h2 class="compdialog" id="combatActions">Combat Actions for round {{round}}</h2>
<section class="sheet-body">
<div class="tab" data-group="primary">
<div class="flexrow">
<label for="categorie generic-label">AP available : </label>
<select name="actionMax" id="actionMax" data-dtype="number">
{{#select actionMax}}
{{#each actionPoints as |point key|}}
<option value={{key}} {{#if (eq key 3)}}selected{{/if}}>{{point}}</option>
{{/each}}
{{/select}}
</select>
</div>
<div>
<label for="categorie generic-label">Remaining AP : <span id="remain-ap">3</span> </label>
</div>
<hr>
<div class="tab" data-group="primary">
<div class="flexrow">
<label for="categorie generic-label">Action in phase 3 (3 AP) </label>
<select name="action3" class='action-select' id="action3" data-dtype="number">
{{#select action3}}
{{#each actionsList as |action key|}}
<option value={{key}} {{#if (eq action.name "No Action")}}selected{{/if}}>{{action.name}} (min AP : {{action.data.minap}})</option>
{{/each}}
{{/select}}
</select>
</div>
<div class="tab" data-group="primary">
<div class="flexrow">
<label for="categorie generic-label">Action in phase 2 (2 AP) : </label>
<select name="action2" class='action-select' id="action2" data-dtype="number">
{{#select action2}}
{{#each actionsList as |action key|}}
<option value={{key}} {{#if (eq action.name "No Action")}}selected{{/if}}>{{action.name}} (min AP : {{action.data.minap}})</option>
{{/each}}
{{/select}}
</select>
</div>
<div class="tab" data-group="primary">
<div class="flexrow">
<label for="categorie generic-label">Action in phase 1 (1 AP) : </label>
<select name="action1" class='action-select' id="action1" data-dtype="number">
{{#select action1}}
{{#each actionsList as |action key|}}
<option value={{key}} {{#if (eq action.name "No Action")}}selected{{/if}}>{{action.name}} (min AP : {{action.data.minap}})</option>
{{/each}}
{{/select}}
</select>
</div>
</section>
</form>