bol/templates/item/item-sheet.hbs

36 lines
1.7 KiB
Handlebars
Raw Normal View History

<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">
2021-11-08 14:40:29 +01:00
<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>