FIX: Spell header
parent
ddeb26bd8a
commit
65eba9aea5
|
@ -1,21 +1,25 @@
|
|||
<section class="inventory spells resizable" data-base-size="320">
|
||||
<div class="item-titles flexrow" style="line-height:15px">
|
||||
<div class="item-name">{{localize "OSE.category.spells"}}</div>
|
||||
<div class="item-controls">
|
||||
<a class="item-control item-reset" title='{{localize "OSE.spells.ResetSlots"}}'><i class="fas fa-sync"></i></a>
|
||||
<a class="item-control item-create" data-type="spell" title="{{localize 'OSE.Add'}}"><i
|
||||
class="fa fa-plus"></i></a>
|
||||
</div>
|
||||
</div>
|
||||
{{#each spells as |spellGroup id|}}
|
||||
<div>
|
||||
<li class="item-titles flexrow">
|
||||
<div class="item-caret"><i class="fas fa-caret-down"></i> </div>
|
||||
<div class="item-name">{{localize "OSE.spells.Level"}} {{id}}</div>
|
||||
<div class="field-short">
|
||||
<a class="item-control item-reset" title='{{localize "OSE.spells.ResetSlots"}}'><i class="fas fa-sync"></i></a>
|
||||
</div>
|
||||
<div class="field-short">{{localize 'OSE.spells.Slots'}}</div>
|
||||
<div class="field-long flexrow">
|
||||
<input type="text" value="{{lookup @root.slots.used @key}}"
|
||||
name="data.spells.{{id}}.value" data-dtype="Number" placeholder="0" disabled>/<input type="text"
|
||||
value="{{lookup (lookup ../actor.data.spells @key) 'max'}}" name="data.spells.{{id}}.max" data-dtype="Number"
|
||||
placeholder="0"></div>
|
||||
<input type="text" value="{{lookup @root.slots.used @key}}" name="data.spells.{{id}}.value" data-dtype="Number"
|
||||
placeholder="0" disabled>/<input type="text" value="{{lookup (lookup ../actor.data.spells @key) 'max'}}"
|
||||
name="data.spells.{{id}}.max" data-dtype="Number" placeholder="0"></div>
|
||||
<div class="item-controls">
|
||||
<a class="item-control item-create" data-type="spell" data-lvl="{{id}}" title="{{localize 'OSE.Add'}}"><i
|
||||
class="fa fa-plus"></i></a>
|
||||
class="fa fa-plus"></i></a>
|
||||
</div>
|
||||
</li>
|
||||
<ol class="item-list">
|
||||
|
@ -31,9 +35,11 @@
|
|||
</a>
|
||||
</div>
|
||||
<div class="field-long memorize flexrow">
|
||||
<input type="text" value="{{item.data.cast}}" data-dtype="Number" placeholder="0" data-field="cast" title="{{localize 'OSE.spells.Cast'}}">
|
||||
<input type="text" value="{{item.data.cast}}" data-dtype="Number" placeholder="0" data-field="cast"
|
||||
title="{{localize 'OSE.spells.Cast'}}">
|
||||
/
|
||||
<input type="text" value="{{item.data.memorized}}" data-field="memorize" data-dtype="Number" placeholder="0" title="{{localize 'OSE.spells.Memorized'}}"></div>
|
||||
<input type="text" value="{{item.data.memorized}}" data-field="memorize" data-dtype="Number" placeholder="0"
|
||||
title="{{localize 'OSE.spells.Memorized'}}"></div>
|
||||
<div class="item-controls">
|
||||
{{#if ../../owner}}
|
||||
<a class="item-control item-show" title='{{localize "OSE.Show"}}'><i class="fas fa-eye"></i></a>
|
||||
|
|
Loading…
Reference in New Issue