compendium-browser/template/settings.html

32 lines
1.5 KiB
HTML
Raw Normal View History

2020-04-30 17:07:00 +00:00
<div class="settings">
2019-12-29 16:54:57 +00:00
<div class="settings-group">
<h3>{{localize "CMPBrowser.generalSettings"}}</h3>
<label>
<input data-setting="allow-spell-browser" type="checkbox" {{#if settings.allowSpellBrowser}}checked{{/if}}>
2019-12-29 17:08:09 +00:00
<h4>{{localize "CMPBrowser.allowSpellAcc"}}</h4>
2019-12-29 16:54:57 +00:00
</label>
<label>
<input data-setting="allow-npc-browser" type="checkbox" {{#if settings.allowNpcBrowser}}checked{{/if}}>
2019-12-29 17:08:09 +00:00
<h4>{{localize "CMPBrowser.allowNpcAcc"}}</h4>
2019-12-29 16:54:57 +00:00
</label>
</div>
<div class="settings-group">
2020-01-04 14:17:41 +00:00
<h3>{{localize "CMPBrowser.compSettingsSpell"}}</h3>
2019-12-29 16:54:57 +00:00
{{#each settings.loadedSpellCompendium as |spellComp key|}}
<label>
<input data-setting="spell-compendium-setting" data-key="{{key}}" data-type="spell" type="checkbox"{{#if spellComp.load}}checked{{/if}}>
<h4>{{localize "CMPBrowser.load"}} {{spellComp.name}}</h4>
</label>
{{/each}}
</div>
<div class="settings-group">
2020-01-04 14:17:41 +00:00
<h3>{{localize "CMPBrowser.compSettingsNpc"}}</h3>
2019-12-29 16:54:57 +00:00
{{#each settings.loadedNpcCompendium as |npcComp key|}}
<label>
<input data-setting="npc-compendium-setting" data-key="{{key}}" data-type="npc" type="checkbox"{{#if npcComp.load}}checked{{/if}}>
<h4>{{localize "CMPBrowser.load"}} {{npcComp.name}}</h4>
</label>
{{/each}}
</div>
</div>