Implement the Inventory tab's sub-navigation (closes #97)
This commit is contained in:
parent
2065596686
commit
5f09f92790
12 changed files with 90 additions and 23 deletions
|
|
@ -21,6 +21,10 @@ export const partials = [
|
|||
|
||||
// The v2 PC sheet partials
|
||||
`actors/char-sheet/v2/partials/stats.v2.pc.hbs`,
|
||||
`actors/char-sheet/v2/partials/inventory/inventory.v2.pc.hbs`,
|
||||
`actors/char-sheet/v2/partials/inventory/player.v2.pc.hbs`,
|
||||
`actors/char-sheet/v2/partials/inventory/storage.v2.pc.hbs`,
|
||||
`actors/char-sheet/v2/partials/inventory/transportation.v2.pc.hbs`,
|
||||
];
|
||||
|
||||
export const icons = [
|
||||
|
|
|
|||
|
|
@ -12,10 +12,16 @@ export class PlayerSheetv2 extends GenericActorSheet {
|
|||
tabs: [
|
||||
{
|
||||
group: `page`,
|
||||
navSelector: `nav`,
|
||||
navSelector: `nav.page`,
|
||||
contentSelector: `.page-content`,
|
||||
initial: `stats`,
|
||||
initial: `inventory`,
|
||||
},
|
||||
{
|
||||
group: `inventory`,
|
||||
navSelector: `nav.inventory`,
|
||||
contentSelector: `.tab[data-tab="inventory"]`,
|
||||
initial: `player`,
|
||||
}
|
||||
],
|
||||
}
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue