2021-01-21 17:16:01 +01:00
|
|
|
<form class="flip-dialog">
|
|
|
|
|
|
|
|
<h2 class="compdialog" id="statSkillFlip">Flip Dialog !</h2>
|
|
|
|
|
|
|
|
{{#if (eq mode 'stat')}}
|
2021-01-24 23:18:50 +01:00
|
|
|
<h3 class="compdialog" id="flipSubTitle">
|
|
|
|
Stat Only Flip : {{localize stat.label}} ({{stat.value}}, {{stat.cardsuit}})
|
|
|
|
</h3>
|
2021-01-21 17:16:01 +01:00
|
|
|
{{else}}
|
2021-01-24 23:18:50 +01:00
|
|
|
<h3 class="compdialog" id="flipSubTitle">
|
|
|
|
Select Stat
|
|
|
|
<select name="stat" id="statSelect" data-dtype="String">
|
|
|
|
{{#select statList}}
|
|
|
|
{{#each statList as |stat key|}}
|
|
|
|
<option value={{key}}>{{localize stat.label}}</option>
|
|
|
|
{{/each}}
|
|
|
|
{{/select}}
|
|
|
|
</select>
|
|
|
|
</h3>
|
|
|
|
<h3 class="compdialog" id="flipSubTitle">
|
|
|
|
Skill Flip : {{skill.name}} ({{skill.data.value}})
|
|
|
|
</h3>
|
2021-01-21 17:16:01 +01:00
|
|
|
{{/if}}
|
|
|
|
|
|
|
|
<section class="sheet-body">
|
|
|
|
<div class="tab" data-group="primary">
|
|
|
|
<div class="flexrow">
|
2021-01-24 23:18:50 +01:00
|
|
|
<label for="categorie generic-label">Target Number (TN) : </label>
|
|
|
|
<select name="tn" id="tn" data-dtype="number">
|
|
|
|
{{#select tn}}
|
|
|
|
{{#each tnList as |key|}}
|
|
|
|
<option value={{key}} {{#if (eq key 10)}}selected{{/if}}>{{numberFormat key decimals=0 sign=false}}</option>
|
|
|
|
{{/each}}
|
|
|
|
{{/select}}
|
|
|
|
</select>
|
2021-01-21 17:16:01 +01:00
|
|
|
</div>
|
2021-01-24 23:18:50 +01:00
|
|
|
<div class="flexrow">
|
|
|
|
<label for="categorie generic-label">Flip Modifier</label>
|
|
|
|
<select name="modifier" id="modifier" data-dtype="number">
|
|
|
|
{{#select modifier}}
|
|
|
|
{{#each modifierList as |key|}}
|
|
|
|
<option value={{key}} {{#if (eq key 0)}}selected{{/if}}>{{numberFormat key decimals=0 sign=true}}</option>
|
|
|
|
{{/each}}
|
|
|
|
{{/select}}
|
|
|
|
</select>
|
|
|
|
</div>
|
|
|
|
<div id="flexrow">
|
|
|
|
<label class="generic-label">Click on deck to flip from deck, or click on the relevant Edge card to flip from it!</label>
|
2021-01-21 17:16:01 +01:00
|
|
|
</div>
|
2021-01-24 23:18:50 +01:00
|
|
|
<div id="flexrow">
|
|
|
|
<span class="class-view-deck" id="view-deck"></span>
|
|
|
|
<span class="class-view-edge" id="view-edge"></span>
|
2021-01-21 17:16:01 +01:00
|
|
|
</div>
|
2021-01-24 23:18:50 +01:00
|
|
|
<div id="flexrow">
|
|
|
|
<label class="generic-label"></label>
|
2021-01-21 17:16:01 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
|
2021-01-24 23:18:50 +01:00
|
|
|
</form>
|