Convert DS4ItemSheet and all item sheet templates from ApplicationV1 to ItemSheetV2. Add V2 action handlers, tab navigation, and form processing. Update effect management to use DialogV2. Preserve all functionality including tab state and override handling.
25 lines
895 B
Handlebars
25 lines
895 B
Handlebars
{{!--
|
|
SPDX-FileCopyrightText: 2021 Johannes Loher
|
|
|
|
SPDX-License-Identifier: MIT
|
|
--}}
|
|
|
|
<form class="{{cssClass}} ds4-sheet-form" autocomplete="off">
|
|
{{!-- Header --}}
|
|
{{> systems/ds4/templates/sheets/item/components/item-header.hbs}}
|
|
|
|
{{!-- Sheet Tab Navigation --}}
|
|
<nav class="ds4-sheet-tab-nav tabs" data-group="primary">
|
|
<a class="ds4-sheet-tab-nav__item" data-action="changeTab" data-tab="description">{{localize 'DS4.HeadingDescription'}}</a>
|
|
<a class="ds4-sheet-tab-nav__item" data-action="changeTab" data-tab="effects">{{localize 'DS4.HeadingEffects'}}</a>
|
|
</nav>
|
|
|
|
{{!-- Sheet Body --}}
|
|
<section class="ds4-sheet-body">
|
|
{{!-- Description Tab --}}
|
|
{{> systems/ds4/templates/sheets/item/tabs/description.hbs}}
|
|
|
|
{{!-- Effects Tab --}}
|
|
{{> systems/ds4/templates/sheets/item/tabs/effects.hbs}}
|
|
</section>
|
|
</form>
|