forked from GitHub-Mirrors/foundry-sw5e
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:
parent
f16383841b
commit
5bb253d9c3
56 changed files with 5440 additions and 3827 deletions
21
templates/apps/actor-armor.html
Normal file
21
templates/apps/actor-armor.html
Normal 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>
|
16
templates/apps/property-attribution.html
Normal file
16
templates/apps/property-attribution.html
Normal 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>
|
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue