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