Although Schemas.Character was changed, a database migration should not be required due to the way characterSettings handles it (since undefined is a falsy value).
28 lines
960 B
HTML
28 lines
960 B
HTML
<template name="characterSettings">
|
|
{{#with character}}
|
|
<div class="fit layout vertical">
|
|
<app-header-layout has-scrolling-region class="feedback flex">
|
|
<app-header fixed effects="waterfall">
|
|
<app-toolbar>
|
|
<div main-title>Character Settings</div>
|
|
</app-toolbar>
|
|
</app-header>
|
|
<div class="form flex">
|
|
<paper-toggle-button id="hideSpellcasting" checked={{settings.hideSpellcasting}}>
|
|
Hide Spells tab
|
|
</paper-toggle-button>
|
|
<paper-toggle-button id="variantEncumbrance" checked={{settings.useVariantEncumbrance}}>
|
|
Use variant encumbrance
|
|
</paper-toggle-button>
|
|
<paper-toggle-button id="swapStatAndModifier" checked={{settings.swapStatAndModifier}}>
|
|
Swap stats and modifiers on Stats page
|
|
</paper-toggle-button>
|
|
</div>
|
|
</app-header-layout>
|
|
<div class="buttons layout horizontal end-justified">
|
|
<paper-button class="doneButton"> Done </paper-button>
|
|
</div>
|
|
</div>
|
|
{{/with}}
|
|
</template>
|