All fixes requested

This commit is contained in:
2023-05-07 14:03:14 +02:00
parent 2d328659b2
commit 536739fced
19 changed files with 894 additions and 224 deletions

View File

@ -4,7 +4,13 @@
<header class="sheet-header">
<div class="header-fields">
<div class="flexrow">
<img class="profile-img margin-image-right" src="{{img}}" data-edit="img" title="{{name}}" />
<img class="profile-img" src="{{img}}" data-edit="img" title="{{name}}" />
<div class="fixed-separator">
&nbsp;
</div>
<div class="flexcol">
<h1 class="charname "><input name="name" type="text" value="{{name}}" placeholder="Name" /></h1>
@ -117,10 +123,10 @@
<ul class="item-list alternate-list">
<li class="item">
<label class="item-field-label-medium">STR Dice</label>
<a class="roll-direct" data-roll-source="STR Dice" data-roll-formula="{{characteristics.str.strdice.rollFormula}}"><i class="fas fa-dice"></i>{{characteristics.str.strdice.displayFormula}}</a>
<a class="roll-lift-dice"><i class="fas fa-dice"></i>{{characteristics.str.strdice}}</a>
<label class="item-field-label-short">&nbsp;</label>
<label class="item-field-label-medium">Lift</label>
<input type="text" class="item-field-label-short update-field" data-field-name="system.characteristics.str.lift" value="{{characteristics.str.lift}}" data-dtype="String" />
<input type="text" class="item-field-label-short update-field" disabled data-field-name="system.characteristics.str.lift" value="{{characteristics.str.lift}}" data-dtype="String" />
<label class="item-field-label-short">&nbsp;</label>
<label class="item-field-label-medium">STR END</label>
<input type="text" class="item-field-label-short update-field" data-field-name="system.characteristics.str.strend" value="{{characteristics.str.strend}}" data-dtype="Number" />
@ -508,8 +514,14 @@
<span class="item-field-label-short">
<label class="item-field-label-short">Cost</label>
</span>
<span class="item-field-label-medium">
<label class="item-field-label-medium">Name</label>
</span>
<span class="item-field-label-long4">
<label class="item-field-label-long4">Power</label>
<label class="item-field-label-long4">Display</label>
</span>
<span class="item-field-label-medium">
<label class="item-field-label-medium">Effect</label>
</span>
<span class="item-field-label-short">
<label class="item-field-label-short">Roll</label>
@ -521,10 +533,11 @@
{{#each powers as |power key|}}
<li class="item stat flexrow list-item list-item-shadow" data-item-id="{{power._id}}">
<a class="item-edit item-name-img" title="Edit Item"><img class="sheet-competence-img"
src="{{power.img}}" /></a>
src="{{power.img}}" /></a>
<span class="item-field-label-short">{{power.system.cost}}</span>
<span class="item-field-label-long4">{{{power.enrichDescription}}}
</span>
<span class="item-field-label-medium">{{power.name}}</span>
<span class="item-field-label-long4">{{power.system.displayname}}</span>
<span class="item-field-label-medium"><a class="roll-damage" data-type="power"><i class="fas fa-dice"></i>{{power.system.damage}}</a></span>
{{#if power.system.hasroll}}
<span class="item-field-label-short"><a class="roll-item" data-type="power"><i class="fas fa-dice"></i>{{power.system.roll}}-</a></span>
{{else}}