bol/templates/item/item-sheet.hbs
ZigmundKreud 7531937e52 Support des propriétés d'items
Amélioration de l'interface
Améliorations cosmétiques
2021-12-24 04:51:14 +01:00

36 lines
1.7 KiB
Handlebars

<form class="{{cssClass}}" autocomplete="off">
<div class="wrap flexrow">
<div class="main flex1">
{{> "systems/bol/templates/item/parts/item-header.hbs"}}
{{!-- Sheet Tab Navigation --}}
<nav class="sheet-tabs tabs" data-group="primary">
<a class="item" data-tab="description">{{localize "BOL.ui.tab.description"}}</a>
<a class="item" data-tab="properties">{{localize "BOL.ui.tab.details"}}</a>
</nav>
{{!-- Sheet Body --}}
<section class="sheet-body">
<div class="tab flexrow active no-wrap" data-group="primary" data-tab="description">
{{#if itemProperties}}
<div class="item-properties">
<ol class="properties-list">
{{#each itemProperties}}
<li>{{localize this}}</li>
{{/each}}
</ol>
</div>
{{/if}}
{{editor content=data.description target="data.description" button=true owner=owner editable=editable}}
</div>
<div class="tab properties" data-group="primary" data-tab="properties">
{{#if (equals item.type "item")}}
{{> "systems/bol/templates/item/parts/properties/item-properties.hbs"}}
{{/if}}
{{#if (equals item.type "feature")}}
{{> "systems/bol/templates/item/parts/properties/feature-properties.hbs"}}
{{/if}}
</div>
</section>
</div>
</div>
</form>