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}}
2022-09-27 20:47:30 +02:00
{{editor description target="system.description" button=true owner=owner editable=editable}}
</div>
<div class="tab properties" data-group="primary" data-tab="properties">
2022-01-09 14:34:19 +01:00
{{#if (eq item.type "item")}}
{{> "systems/bol/templates/item/parts/properties/item-properties.hbs"}}
{{/if}}
2022-01-09 14:34:19 +01:00
{{#if (eq item.type "feature")}}
{{> "systems/bol/templates/item/parts/properties/feature-properties.hbs"}}
{{/if}}
</div>
</section>
</div>
</div>
</form>