Working on Compatibility for FVTT v10
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
<ul class="identity-list">
|
||||
{{!-- Npc Type (minion / adversary) --}}
|
||||
<li>
|
||||
<select class="attribute-dtype" name="data.type" {{^if data.editable_not_soft_locked}}disabled{{/if}}>
|
||||
{{#select data.data.type}}
|
||||
{{#each data.data.types as |t|}}
|
||||
<select class="attribute-dtype" name="system.type" {{^if data.editable_not_soft_locked}}disabled{{/if}}>
|
||||
{{#select data.system.type}}
|
||||
{{#each data.types as |t|}}
|
||||
<option value="{{t.id}}">{{t.label}}</option>
|
||||
{{/each}}
|
||||
{{/select}}
|
||||
@@ -12,11 +12,11 @@
|
||||
{{!-- Martial --}}
|
||||
<li>
|
||||
<i class="i_bushi" title="{{localize 'l5r5e.social.npc.combat'}}"></i>
|
||||
<input class="centered-input select-on-focus" type="number" name="data.conflict_rank.martial" value="{{data.data.conflict_rank.martial}}" data-dtype="Number" min="0" placeholder="0" {{^if data.editable_not_soft_locked}}disabled{{/if}}/>
|
||||
<input class="centered-input select-on-focus" type="number" name="system.conflict_rank.martial" value="{{data.system.conflict_rank.martial}}" data-dtype="Number" min="0" placeholder="0" {{^if data.editable_not_soft_locked}}disabled{{/if}}/>
|
||||
</li>
|
||||
{{!-- Social --}}
|
||||
<li>
|
||||
<i class="i_courtier" title="{{localize 'l5r5e.social.npc.intrigue'}}"></i>
|
||||
<input class="centered-input select-on-focus" type="number" name="data.conflict_rank.social" value="{{data.data.conflict_rank.social}}" data-dtype="Number" min="0" placeholder="0" {{^if data.editable_not_soft_locked}}disabled{{/if}}/>
|
||||
<input class="centered-input select-on-focus" type="number" name="system.conflict_rank.social" value="{{data.system.conflict_rank.social}}" data-dtype="Number" min="0" placeholder="0" {{^if data.editable_not_soft_locked}}disabled{{/if}}/>
|
||||
</li>
|
||||
</ul>
|
||||
Reference in New Issue
Block a user