Datamodel + Appv2 migration, WIP
This commit is contained in:
40
templates/item/feature-sheet.hbs
Normal file
40
templates/item/feature-sheet.hbs
Normal file
@@ -0,0 +1,40 @@
|
||||
<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">
|
||||
{{#each tabs}}
|
||||
<a class="item {{#if (eq ../activeTab this.id)}}active{{/if}}" data-tab="{{this.id}}">
|
||||
{{#if this.icon}}<i class="{{this.icon}}"></i>{{/if}}
|
||||
{{localize this.label}}
|
||||
</a>
|
||||
{{/each}}
|
||||
</nav>
|
||||
|
||||
{{!-- Sheet Body --}}
|
||||
<section class="sheet-body">
|
||||
{{!-- Description Tab --}}
|
||||
<div class="tab description {{#if (eq activeTab 'description')}}active{{/if}}" 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 enrichedDescription target="system.description" button=true editable=isEditable engine="prosemirror"}}
|
||||
</div>
|
||||
|
||||
{{!-- Properties Tab --}}
|
||||
<div class="tab properties {{#if (eq activeTab 'properties')}}active{{/if}}" data-group="primary" data-tab="properties">
|
||||
{{> "systems/bol/templates/item/parts/properties/feature-properties.hbs"}}
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
Reference in New Issue
Block a user