Amélioration fiche d'item

This commit is contained in:
ZigmundKreud 2021-12-15 12:37:17 +01:00
parent 0c24f49470
commit 4c349d89a8
2 changed files with 10 additions and 3 deletions

View File

@ -26,7 +26,7 @@ Hooks.once('init', async function () {
formula: "2d6+@attributes.mind.value+@aptitudes.init.value", formula: "2d6+@attributes.mind.value+@aptitudes.init.value",
decimals: 0 decimals: 0
}; };
0
// Define custom Entity classes // Define custom Entity classes
CONFIG.Actor.documentClass = BoLActor; CONFIG.Actor.documentClass = BoLActor;
CONFIG.Item.documentClass = BoLItem; CONFIG.Item.documentClass = BoLItem;

View File

@ -7,8 +7,15 @@
</div> </div>
<div class="header-field-group flexrow"> <div class="header-field-group flexrow">
<label class="header-field-label flex2">Experience</label><br/> <label class="header-field-label flex2">Experience</label><br/>
<input class="header-field-value flex3" type="text" name="data.details.xp.spent" value="{{numberFormat data.details.xp.spent decimals=0 sign=false}}" data-dtype="Number"/><br/> <div class="header-field-group flex3">
<input class="header-field-value flex3" type="text" name="data.details.xp.total" value="{{numberFormat data.details.xp.total decimals=0 sign=false}}" data-dtype="Number"/><br/> <label class="header-field-label flex1" style="font-size: 1.5em; color:#606060;">Dépensée</label><br/>
<input class="header-field-value flex1" type="text" name="data.details.xp.spent" value="{{numberFormat data.details.xp.spent decimals=0 sign=false}}" data-dtype="Number"/><br/>
</div>
<div class="header-field-group flex3">
<label class="header-field-label flex1" style="font-size: 1.5em; color:#606060;">&nbsp;Totale</label><br/>
<input class="header-field-value flex1" type="text" name="data.details.xp.total" value="{{numberFormat data.details.xp.total decimals=0 sign=false}}" data-dtype="Number"/><br/>
</div>
</div> </div>
</div> </div>
</header> </header>