Initial rework
This commit is contained in:
@@ -1,16 +1,16 @@
|
||||
<section class="flexcol">
|
||||
{{#each system.stats as |stat key|}}
|
||||
<Fieldset class="flexrow">
|
||||
<legend>{{capitalizeFirst key}}</legend>
|
||||
<legend><input type="text" value="{{capitalizeFirst stat.name}}" name="system.stats.{{key}}.name"></legend>
|
||||
<div class="flexrow flex-group-center">
|
||||
<!-- Die type dropdown -->
|
||||
<select name="system.stats.{{key}}.value">
|
||||
<option value="d20" {{#if (eq stat.value 'd20')}}selected{{/if}}>Superb</option>
|
||||
<option value="d12" {{#if (eq stat.value 'd12')}}selected{{/if}}>Impressive</option>
|
||||
<option value="d10" {{#if (eq stat.value 'd10')}}selected{{/if}}>Above Average</option>
|
||||
<option value="d8" {{#if (eq stat.value 'd8')}}selected{{/if}}>Below Average</option>
|
||||
<option value="d6" {{#if (eq stat.value 'd6')}}selected{{/if}}>Bad</option>
|
||||
<option value="d4" {{#if (eq stat.value 'd4')}}selected{{/if}}>Terrible</option>
|
||||
<option value="d20" {{#if (eq stat.value 'd20')}}selected{{/if}}>d20</option>
|
||||
<option value="d12" {{#if (eq stat.value 'd12')}}selected{{/if}}>d12</option>
|
||||
<option value="d10" {{#if (eq stat.value 'd10')}}selected{{/if}}>d10</option>
|
||||
<option value="d8" {{#if (eq stat.value 'd8')}}selected{{/if}}>d8</option>
|
||||
<option value="d6" {{#if (eq stat.value 'd6')}}selected{{/if}}>d6</option>
|
||||
<option value="d4" {{#if (eq stat.value 'd4')}}selected{{/if}}>d4</option>
|
||||
</select>
|
||||
|
||||
<!-- Stat rolling and input -->
|
||||
@@ -22,13 +22,13 @@
|
||||
<input type="number" name="system.stats.{{key}}.stat" value="{{stat.stat}}" data-dtype="Number"/>
|
||||
</Fieldset>
|
||||
|
||||
<!-- Magic rolling and input -->
|
||||
<!-- Magic rolling and input
|
||||
<Fieldset class="flexrow flex-group-center">
|
||||
<legend>Magic</legend>
|
||||
<span class="ability-mod rollable" data-roll="1{{stat.value}}x+1d4x+{{stat.stat}}" data-label="Magic Roll for {{key}}" data-key="{{key}}">
|
||||
<i class="fas fa-dice-d20"></i>
|
||||
</span>
|
||||
</Fieldset>
|
||||
</Fieldset>-->
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user