mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-04-21 23:13:39 +02:00
Move general tab to top
This commit is contained in:
parent
bbdfebca0e
commit
62d40f8639
4 changed files with 19 additions and 23 deletions
|
|
@ -2769,7 +2769,8 @@
|
||||||
"colorset": "Theme",
|
"colorset": "Theme",
|
||||||
"material": "Material",
|
"material": "Material",
|
||||||
"system": "Dice Preset",
|
"system": "Dice Preset",
|
||||||
"font": "Font"
|
"font": "Font",
|
||||||
|
"critical": "Duality Critical Animation"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"variantRules": {
|
"variantRules": {
|
||||||
|
|
|
||||||
|
|
@ -51,7 +51,6 @@ export default class DHAppearanceSettings extends HandlebarsApplicationMixin(App
|
||||||
{ id: 'fear', label: 'DAGGERHEART.GENERAL.fear' },
|
{ id: 'fear', label: 'DAGGERHEART.GENERAL.fear' },
|
||||||
{ id: 'advantage', label: 'DAGGERHEART.GENERAL.Advantage.full' },
|
{ id: 'advantage', label: 'DAGGERHEART.GENERAL.Advantage.full' },
|
||||||
{ id: 'disadvantage', label: 'DAGGERHEART.GENERAL.Disadvantage.full' },
|
{ id: 'disadvantage', label: 'DAGGERHEART.GENERAL.Disadvantage.full' },
|
||||||
{ id: 'general', label: 'DAGGERHEART.GENERAL.general' }
|
|
||||||
],
|
],
|
||||||
initial: 'hope'
|
initial: 'hope'
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -46,6 +46,8 @@
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: 10px;
|
gap: 10px;
|
||||||
margin-bottom: 4px;
|
margin-bottom: 4px;
|
||||||
|
width: 100%;
|
||||||
|
padding: 0 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.label-container {
|
.label-container {
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,19 @@
|
||||||
<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}}">
|
||||||
<div class="title-hint">{{localize "DAGGERHEART.SETTINGS.Menu.appearance.diceSoNice.hint"}}</div>
|
<div class="title-hint">{{localize "DAGGERHEART.SETTINGS.Menu.appearance.diceSoNice.hint"}}</div>
|
||||||
|
<div class="field-section form-fields">
|
||||||
|
{{#if isGM}}
|
||||||
|
<div class="form-group">
|
||||||
|
<label for="dsn-overrideEnabled">{{localize "DAGGERHEART.SETTINGS.Menu.appearance.defaultAnimations"}}</label>
|
||||||
|
<input id="dsn-overrideEnabled" type="checkbox" class="default-animations-input" {{checked globalOverrides.diceSoNice.sfx.overrideEnabled}} />
|
||||||
|
</div>
|
||||||
|
{{/if}}
|
||||||
|
<div class="form-group">
|
||||||
|
<label>{{localize "DAGGERHEART.SETTINGS.Menu.appearance.diceSoNice.critical"}}</label>
|
||||||
|
<div class="form-fields">
|
||||||
|
{{formInput fields.diceSoNice.fields.sfx.fields.critical.fields.class value=setting.diceSoNice.sfx.critical.class blank="" localize=true}}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
<section class='tab-navigation'>
|
<section class='tab-navigation'>
|
||||||
<div class='navigation-container'>
|
<div class='navigation-container'>
|
||||||
<div class="navigation-inner-container">
|
<div class="navigation-inner-container">
|
||||||
|
|
@ -18,26 +31,7 @@
|
||||||
</section>
|
</section>
|
||||||
{{#each dsnTabs as |dsnTab|}}
|
{{#each dsnTabs as |dsnTab|}}
|
||||||
<section class="tab {{#if dsnTab.active}} active{{/if}}" data-group="{{dsnTab.group}}" data-tab="{{dsnTab.id}}">
|
<section class="tab {{#if dsnTab.active}} active{{/if}}" data-group="{{dsnTab.group}}" data-tab="{{dsnTab.id}}">
|
||||||
{{#if dsnTab.diceTab}}
|
{{> "systems/daggerheart/templates/settings/appearance-settings/diceSoNiceTab.hbs" dsnTab }}
|
||||||
{{> "systems/daggerheart/templates/settings/appearance-settings/diceSoNiceTab.hbs" dsnTab }}
|
|
||||||
{{else}}
|
|
||||||
<div class="field-section">
|
|
||||||
{{#if ../isGM}}
|
|
||||||
<h3>{{localize "DAGGERHEART.SETTINGS.Menu.appearance.globalSettings"}}</h3>
|
|
||||||
<div class="form-group">
|
|
||||||
<label for="dsn-overrideEnabled">{{localize "DAGGERHEART.SETTINGS.Menu.appearance.defaultAnimations"}}</label>
|
|
||||||
<input id="dsn-overrideEnabled" type="checkbox" class="default-animations-input" {{checked ../globalOverrides.diceSoNice.sfx.overrideEnabled}} />
|
|
||||||
</div>
|
|
||||||
{{/if}}
|
|
||||||
<h3>{{localize "DAGGERHEART.SETTINGS.Menu.appearance.globalAnimations"}}</h3>
|
|
||||||
<div class="form-group">
|
|
||||||
<label>{{localize "DAGGERHEART.CONFIG.DaggerheartDiceAnimationEvents.critical.name"}}</label>
|
|
||||||
<div class="form-fields">
|
|
||||||
{{formInput ../fields.diceSoNice.fields.sfx.fields.critical.fields.class value=../setting.diceSoNice.sfx.critical.class blank="" localize=true}}
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
{{/if}}
|
|
||||||
</section>
|
</section>
|
||||||
{{/each}}
|
{{/each}}
|
||||||
</section>
|
</section>
|
||||||
Loading…
Add table
Add a link
Reference in a new issue