mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-03-07 14:36:13 +01:00
pushing in for the day
This commit is contained in:
parent
84458d8534
commit
8f9f0617cd
2 changed files with 9 additions and 8 deletions
|
|
@ -1,14 +1,16 @@
|
||||||
//Setting RollTable
|
//Setting RollTable
|
||||||
export default class DhRollTableSheet extends foundry.applications.sheets.RollTableSheet {
|
export default class DhRollTableSheet extends foundry.applications.sheets.RollTableSheet {
|
||||||
static get PARTS() {
|
static buildParts() {
|
||||||
const parts = super.PARTS;
|
const { footer, ...parts } = super.PARTS;
|
||||||
return {
|
return {
|
||||||
summary: {
|
...parts,
|
||||||
template: 'templates/sheets/rollTable/summary.hbs',
|
summary: { template: 'systems/daggerheart/templates/sheets/rollTable/summary.hbs' },
|
||||||
},
|
footer
|
||||||
...parts
|
}
|
||||||
};5
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static PARTS = DhRollTableSheet.buildParts();
|
||||||
|
|
||||||
static actions = {
|
static actions = {
|
||||||
addAltFormula: DhRollTableSheet.#onAddAltFormula,
|
addAltFormula: DhRollTableSheet.#onAddAltFormula,
|
||||||
removeAltForuma: DhRollTableSheet.#onRemoveAltFormula
|
removeAltForuma: DhRollTableSheet.#onRemoveAltFormula
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
<section class="tab{{#if tab.active}} active{{/if}}" data-group="{{tab.group}}" data-tab="{{tab.id}}">
|
<section class="tab{{#if tab.active}} active{{/if}}" data-group="{{tab.group}}" data-tab="{{tab.id}}">
|
||||||
NEW TABLE TEST
|
|
||||||
{{formGroup fields.description value=source.description rootId=rootId}}
|
{{formGroup fields.description value=source.description rootId=rootId}}
|
||||||
{{formGroup fields.formula value=source.formula placeholder=formulaPlaceholder rootId=rootId}}
|
{{formGroup fields.formula value=source.formula placeholder=formulaPlaceholder rootId=rootId}}
|
||||||
{{formGroup fields.replacement value=source.replacement rootId=rootId}}
|
{{formGroup fields.replacement value=source.replacement rootId=rootId}}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue