Update Core to 1.4.1

Update Core to 1.4.1 and internal Version to 1.4.1.R1-A8
This commit is contained in:
supervj 2021-08-06 16:38:15 -04:00
parent f16383841b
commit 5bb253d9c3
56 changed files with 5440 additions and 3827 deletions

View file

@ -0,0 +1,21 @@
<form>
<div class="ac-field form-group">
<input type="number" name="ac.flat" value="{{value}}" {{#if valueDisabled}}disabled{{/if}}>
</div>
<div class="form-group select">
<label>{{localize "SW5E.ArmorClassCalculation"}}</label>
<select name="ac.calc">
{{selectOptions calculations selected=ac.calc labelAttr="label"}}
</select>
</div>
<div class="form-group stacked">
<label>{{localize "SW5E.ArmorClassFormula"}}</label>
<input type="text" name="ac.formula" value="{{formula}}" {{#if formulaDisabled}}disabled{{/if}}>
</div>
<button type="submit" name="submit" value="1">
<i class="far fa-save"></i> {{ localize "SW5E.TraitSave" }}
</button>
</form>

View file

@ -0,0 +1,16 @@
<div class="property-attribution">
<table>
{{#each sources as |source|}}
<tr>
<td class="attribution-value mode-{{source.mode}}{{#if source.negative}} negative{{/if}}">
{{source.value}}
</td>
<td class="attribution-label">{{source.label}}</td>
</tr>
{{/each}}
<tr class="total">
<td class="attribution-value">{{total}}</td>
<td class="attribution-label">{{localize "SW5E.PropertyTotal"}}</td>
</tr>
</table>
</div>

View file

@ -1,19 +1,27 @@
<form autocomplete="off" onsubmit="event.preventDefault();">
<ol class="trait-list">
{{#each choices as |choice key|}}
<li>
<label class="checkbox">
<input type="checkbox" name="{{key}}" data-dtype="Boolean" {{checked choice.chosen}}>
{{choice.label}}
</label>
</li>
{{/each}}
</ol>
{{#*inline "traitList"}}
<ol class="trait-list">
{{#each choices as |choice key|}}
<li>
<label class="checkbox">
<input type="checkbox" name="{{key}}" data-dtype="Boolean" {{checked choice.chosen}}>
{{choice.label}}
</label>
{{#if choice.children}}
{{> traitList choices=choice.children}}
{{/if}}
</li>
{{/each}}
</ol>
{{/inline}}
{{> traitList}}
{{#if allowCustom}}
<div class="form-group stacked">
<label>{{ localize "SW5E.TraitSelectorSpecial" }}</label>
<input type="text" name="custom" value="{{custom}}" data-dtype="String"/>
</div>
<div class="form-group stacked">
<label>{{ localize "SW5E.TraitSelectorSpecial" }}</label>
<input type="text" name="custom" value="{{custom}}" data-dtype="String"/>
</div>
{{/if}}
<button type="submit" name="submit" value="1"><i class="far fa-save"></i> {{ localize "SW5E.TraitSave"}}</button>
</form>