added invalidity hints to item side-properties
- added :invalid definition to side-properties CSS - defined common color for invalidity - now using disabled input for automatically calculated properties
This commit is contained in:
parent
150a0ea487
commit
637b70c5d2
6 changed files with 22 additions and 7 deletions
|
@ -29,6 +29,7 @@
|
|||
{{#*inline "talentRankValue"}}
|
||||
<input class="item-num-val item-change" data-dtype="Number" type="number" min="0" step="1"
|
||||
{{#if (eq property 'base') }}max="{{item.data.data.talentRank.max}}"{{/if}}
|
||||
{{disabled}}
|
||||
data-property="data.talentRank.{{property}}" value="{{lookup item.data.data.talentRank property}}"
|
||||
title="{{localize localizeString}}" />
|
||||
{{/inline}}
|
||||
|
@ -61,7 +62,7 @@
|
|||
{{> talentRankValue item=item property='mod' localizeString='DS4.TalentRankMod'}}
|
||||
<span> = </span>
|
||||
{{!-- derived total rank --}}
|
||||
<span>{{item.data.data.talentRank.total}}</span>
|
||||
{{> talentRankValue item=item property='total' localizeString='DS4.TalentRankTotal' disabled='disabled'}}
|
||||
</div>
|
||||
{{!-- description --}}
|
||||
<div class="flex4 item-description">{{{item.data.data.description}}}</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue