foundry-sw5e/templates/apps/actor-flags.html
supervj 68a1b6a9f0 System 1.1.1 ** Requires Foundry 0.7.6
System main update to be inline with dnd5e 1.1.1

Added active effects to as many sheets as I thought applicable. Please check loot, I made an attempt but it may be broken

All .less .css and actor .html updates were made to the old actors.  New actors may be broken with this update

removed templates\actors\oldActor\parts\actor-effects.html for newer templates\actors\parts\active-effects.html

removed module\apps\cast-dialog, templates\apps\cast-cast.html, and templates\items\cast.html.  I do not think they are used, I think they were deprecated when powers were treated as items, if not we can add them back in.

**NOTE** REQUIRES Foundry 0.7.6
2020-11-12 17:30:07 -05:00

48 lines
1.6 KiB
HTML

<form class="{{cssClass}}" autocomplete="off">
<section class="form-body">
<p class="notes">{{localize 'SW5E.FlagsInstructions'}}</p>
{{#each flags as |fs section|}}
<h3 class="form-header">{{localize section}}</h3>
{{#each fs as |flag key|}}
<div class="form-group">
<label>{{localize flag.name}}</label>
{{#if flag.isCheckbox}}
<input type="checkbox" name="{{key}}" data-dtype="Boolean" {{checked flag.value}}/>
{{else if flag.isSelect}}
<select name="{{key}}" data-dtype="{{flag.type}}">
{{#select flag.value}}
{{#each flag.choices as |v k|}}
<option value="{{k}}">{{localize v}}</option>
{{/each}}
{{/select}}
</select>
{{else}}
<input type="text" name="{{key}}" value="{{flag.value}}" placeholder="{{flag.placeholder}}" data-dtype="{{flag.type}}"/>
{{/if}}
<p class="notes">{{localize flag.hint}}</p>
</div>
{{/each}}
{{/each}}
<h3 class="form-header">{{localize "SW5E.Bonuses"}}</h3>
<p class="notes">{{localize "SW5E.BonusesHint"}}</p>
{{#each bonuses as |b|}}
<div class="form-group">
<label>{{localize b.label}}</label>
<input type="text" name="{{b.name}}" value="{{b.value}}"/>
</div>
{{/each}}
</section>
<footer class="form-footer">
<button type="submit" name="submit">
<i class="far fa-save"></i> {{localize 'SW5E.FlagsSave'}}
</button>
</footer>
</form>