vagabond-rpg-foundryvtt/templates/actor/parts/tabs.hbs
Cal Corum 8e097c9b2d Implement character sheet foundation with ApplicationV2
Add actor sheet implementation using Foundry VTT v13 ApplicationV2 API:
- Base actor sheet class with tab navigation, drag-drop, scroll preservation
- Character sheet with header, main tab (stats, saves, skills, attacks)
- NPC sheet structure (templates only, styling pending)
- Resource bars with fill effect and backdrop pills for legibility
- Responsive layout using CSS Container Queries
- Fix for ApplicationV2 tab switching (cleanup stale parts)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-14 16:43:28 -06:00

14 lines
395 B
Handlebars

{{!-- Sheet Tabs Navigation --}}
{{#if tabs.length}}
<nav class="sheet-tabs">
{{#each tabs}}
<button type="button" class="tab-button {{this.cssClass}}"
data-action="changeTab" data-tab="{{this.id}}"
data-tooltip="{{localize this.label}}">
<i class="{{this.icon}}"></i>
<span class="tab-label">{{localize this.label}}</span>
</button>
{{/each}}
</nav>
{{/if}}