Anpassung-des-Character-Sheet-Headers-#13 #28

Merged
oskaloq merged 19 commits from Anpassung-des-Character-Sheet-Headers-#13 into develop 2024-01-07 22:53:18 +01:00
7 changed files with 7 additions and 4 deletions
Showing only changes of commit 9bcf456f17 - Show all commits

Binary file not shown.

After

Width:  |  Height:  |  Size: 173 KiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -36,7 +36,7 @@
.flexpart { .flexpart {
gap: 0; gap: 0;
padding: 0; padding: 0;
margin: 10px; margin: 5px;
background-color: beige; background-color: beige;
border: 2px solid black; border: 2px solid black;
} }

View File

@ -23,7 +23,10 @@
</div> </div>
<div class="flexpart"> <div class="flexpart">
<div class="flexpart-header"><img src="icons/tools/hand/scale-balances-merchant-brown.webp" class="flexpart-icon">{{localize "TYPES.Item.item"}}</div> <div class="flexpart-header">
<img src="icons/tools/hand/scale-balances-merchant-brown.webp" class="flexpart-icon">
{{localize "TYPES.Item.item"}}
</div>
<table> <table>
<thead class="theader"> <thead class="theader">
<tr> <tr>
@ -39,6 +42,7 @@
<tr height = 10px></tr> <tr height = 10px></tr>
</tr> </tr>
{{#each data.calc.gear.items as |item itemId|}} {{#each data.calc.gear.items as |item itemId|}}
{{#unless item.containerId}}
<tr data-item="{{itemId}}"> <tr data-item="{{itemId}}">
<td class="padding"> <td class="padding">
<span class="edit-item">{{item.label}}</span> <span class="edit-item">{{item.label}}</span>
@ -61,6 +65,7 @@
<td class="fixed-value">{{#if item.rollExist}}<button class="roll-button roll-consumable-item"></button>{{/if}}</td> <td class="fixed-value">{{#if item.rollExist}}<button class="roll-button roll-consumable-item"></button>{{/if}}</td>
<td class="fixed-value"><a class="item-delete" title="Delete Item"><i class="fas fa-trash"></i></a></td> <td class="fixed-value"><a class="item-delete" title="Delete Item"><i class="fas fa-trash"></i></a></td>
</tr> </tr>
{{/unless}}
{{/each}} {{/each}}
</tbody> </tbody>
</table> </table>
@ -83,7 +88,6 @@
</thead> </thead>
<tbody> <tbody>
<tr height = 10px></tr> <tr height = 10px></tr>
</tr>
{{#each data.calc.gear.containers as |item itemId|}} {{#each data.calc.gear.containers as |item itemId|}}
<tr data-item="{{itemId}}"> <tr data-item="{{itemId}}">
<td class="padding"> <td class="padding">
@ -123,7 +127,6 @@
</thead> </thead>
<tbody> <tbody>
<tr height = 10px></tr> <tr height = 10px></tr>
</tr>
{{#each ../data.calc.gear.items as |item itemId|}} {{#each ../data.calc.gear.items as |item itemId|}}
{{#if (eq item.containerId containerId)}} {{#if (eq item.containerId containerId)}}
<tr data-item="{{itemId}}"> <tr data-item="{{itemId}}">