merged with main

This commit is contained in:
WBHarry 2025-06-29 23:05:14 +02:00
commit 0aa08deaa3
41 changed files with 805 additions and 446 deletions

View file

@ -8,11 +8,11 @@
<div class="icon">
<i class="fa-solid fa-magnifying-glass"></i>
</div>
<input type="text" name="" id="" placeholder="Search...">
<input type="search" name="search" class="search-inventory" placeholder="Search...">
</div>
<a><i class="fa-solid fa-filter"></i></a>
</div>
<div class="items-section">
{{> 'systems/daggerheart/templates/sheets/global/partials/inventory-fieldset-items.hbs' title=(localize 'TYPES.Item.weapon') type='weapon' isGlassy=true}}
{{> 'systems/daggerheart/templates/sheets/global/partials/inventory-fieldset-items.hbs' title=(localize 'TYPES.Item.armor') type='armor' isGlassy=true}}
@ -20,23 +20,23 @@
{{> 'systems/daggerheart/templates/sheets/global/partials/inventory-fieldset-items.hbs' title=(localize 'TYPES.Item.miscellaneous') type='miscellaneous' isGlassy=true}}
</div>
<div class="currency-section">
<div class="currency-section">
<div class="input">
<span>{{localize "DAGGERHEART.Sheets.PC.Gold.Coins"}}</span>
<span>{{localize this.inventory.currency.coins}}</span>
{{formInput systemFields.gold.fields.coins value=source.system.gold.coins enriched=source.system.gold.coins localize=true toggled=true}}
</div>
<div class="input">
<span>{{localize "DAGGERHEART.Sheets.PC.Gold.Handfulls"}}</span>
<span>{{localize this.inventory.currency.handfulls}}</span>
{{formInput systemFields.gold.fields.handfulls value=source.system.gold.handfulls enriched=source.system.gold.handfulls localize=true toggled=true}}
</div>
<div class="input">
<span>{{localize "DAGGERHEART.Sheets.PC.Gold.Bags"}}</span>
<span>{{localize this.inventory.currency.bags}}</span>
{{formInput systemFields.gold.fields.bags value=source.system.gold.bags enriched=source.system.gold.bags localize=true toggled=true}}
</div>
<div class="input">
<span>{{localize "DAGGERHEART.Sheets.PC.Gold.Chests"}}</span>
<span>{{localize this.inventory.currency.chests}}</span>
{{formInput systemFields.gold.fields.chests value=source.system.gold.chests enriched=source.system.gold.chests localize=true toggled=true}}
</div>
</div>
</section>

View file

@ -8,7 +8,7 @@
<div class="icon">
<i class="fa-solid fa-magnifying-glass"></i>
</div>
<input type="text" name="" id="" placeholder="Search...">
<input type="search" name="search" class="search-loadout" placeholder="Search...">
</div>
<a><i class="fa-solid fa-filter"></i></a>
<button class="btn-toggle-view" data-action="toggleLoadoutView" data-value="{{this.abilities.loadout.listView}}">

View file

@ -1,4 +1,4 @@
<li class="card-item" data-item-id="{{item.id}}">
<li class="card-item" data-item-id="{{item.id}}" data-item-id="{{item.id}}">
<img src="{{item.img}}" data-action="useItem" class="card-img" />
<div class="card-label">
<div class="controls">

View file

@ -1,10 +1,10 @@
<fieldset class="left-main-container" style="padding-top: 0; margin-top: 8px;">
<legend class="legend" style="line-height: 2px;">{{localize "DAGGERHEART.Sheets.PC.Gold.Title"}}</legend>
<legend class="legend" style="line-height: 2px;">{{localize this.inventory.currency.title}}</legend>
<div class="gold-section">
<fieldset class="gold-fieldset">
<legend>
{{localize "DAGGERHEART.Sheets.PC.Gold.Coins"}}
{{localize this.inventory.currency.coins}}
</legend>
<div class="gold-column">
<div class="gold-row">
@ -27,7 +27,7 @@
</fieldset>
<fieldset class="gold-fieldset">
<legend>
{{localize "DAGGERHEART.Sheets.PC.Gold.Handfulls"}}
{{localize this.inventory.currency.handfulls}}
</legend>
<div class="gold-column">
<div class="gold-row">
@ -50,7 +50,7 @@
</fieldset>
<fieldset class="gold-fieldset">
<legend>
{{localize "DAGGERHEART.Sheets.PC.Gold.Bags"}}
{{localize this.inventory.currency.bags}}
</legend>
<div class="gold-column">
<div class="gold-row">
@ -76,7 +76,7 @@
</fieldset>
<fieldset class="gold-fieldset" style="min-width: 56px;">
<legend>
{{localize "DAGGERHEART.Sheets.PC.Gold.Chests"}}
{{localize this.inventory.currency.chests}}
</legend>
<div class="gold-column">