Various enhancements

This commit is contained in:
2024-06-12 11:16:46 +02:00
parent dc4429f3e1
commit e92b2deacf
53 changed files with 207 additions and 151 deletions

View File

@@ -134,7 +134,7 @@
<span class="item-field-label-short">{{skill.system.bonus}}</span>
<span class="item-field-label-medium">{{skill.total}}%</span>
<label class="attribute-value checkbox"><input type="checkbox" class="skill-used-id" {{checked skill.system.used}}/></label>
<span class="item-field-label-short" data-tooltip="Start a cumulative task"><a class="start-cumulative-task"><i class="fa-solid fa-circle-plus"></i></a></span>
<span class="item-field-label-short" data-tooltip="Start an Extended Test"><a class="start-extended-test"><i class="fa-solid fa-circle-plus"></i></a></span>
<div class="item-controls item-controls-fixed">
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
</div>
@@ -160,14 +160,14 @@
<label class="short-label">&nbsp;</label>
</span>
</li>
{{#each tasks as |task key|}}
<li class="item flexrow list-item list-item-shadow" data-item-id="{{task._id}}">
<a class="item-edit item-name-img" title="Edit Item"><img class="sheet-competence-img" src="{{task.img}}" />
{{#each extendedTests as |test key|}}
<li class="item flexrow list-item list-item-shadow" data-item-id="{{test._id}}">
<a class="item-edit item-name-img" title="Edit Item"><img class="sheet-competence-img" src="{{test.img}}" />
</a>
<span class="item-field-label-vlong2"><i class="fa-solid fa-dice-d10"></i><a class="roll-skill">{{task.name}}</a></span>
<span class="item-field-label-long">{{task.system.skill}}</span>
<span class="item-field-label-short">{{task.system.nbrolls}}</span>
<span class="item-field-label-short">{{task.system.cumulated}}</span>
<span class="item-field-label-vlong2"><i class="fa-solid fa-dice-d10"></i><a class="roll-extended-test">{{test.name}}</a></span>
<span class="item-field-label-long">{{test.system.skill}}</span>
<span class="item-field-label-short">{{test.system.nbrolls}}</span>
<span class="item-field-label-short">{{test.system.cumulated}}</span>
<div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed">