90de66d668
Release Creation / build (release) Failing after 1m28s
- hooks.mjs: replace static dice-so-nice import with dynamic import
using game.modules.get('dice-so-nice').id (path removed in v14)
- hooks.mjs: fix permission condition (|| -> &&), jQuery -> vanilla JS
- less/base.less: override --color-text-* and --button-text-color
for both .themed.theme-dark (AppV2) and body.theme-dark (legacy apps)
- target #settings-config buttons + labels + hints for dark grays
37 lines
1.1 KiB
Handlebars
37 lines
1.1 KiB
Handlebars
<div class="{{cssClass}}">
|
|
{{> "systems/vermine2047/templates/item/partials/header.hbs"}}
|
|
|
|
|
|
{{!-- Sheet Body --}}
|
|
<section class="sheet-body ">
|
|
|
|
{{> "systems/vermine2047/templates/item/partials/traits.hbs"}}
|
|
<div class="resource align-center flexcol">
|
|
<label class="resource-label">compétence necessaire
|
|
<input type="checkbox" data-tooltip="ajouter la vigueur" name="system.needSkill.value" {{#if system.needSkill.value}} checked {{/if}}>
|
|
</label>
|
|
{{#if system.needSkill.value}}
|
|
<select name="system.needSkill.skill" class="skill-select">
|
|
<option value="">aucune</option>
|
|
{{#each @root.config.skillCategories as |skillCategory sckey|}}
|
|
<optgroup label="{{ smarttlk 'SKILLS_CATEGORIES' sckey 'name' }}">
|
|
{{#each @root.config.skills as |skill key|}}
|
|
{{#ife skill.category sckey}}
|
|
<option value="{{key}}" {{#ife key @root.system.needSkill.skill}} selected {{/ife}}>{{ smarttlk 'SKILLS' key 'name' }}</option>
|
|
|
|
{{/ife}}
|
|
{{/each}}
|
|
</optgroup>
|
|
{{/each}}
|
|
</select>
|
|
|
|
{{/if}}
|
|
|
|
</div>
|
|
|
|
|
|
{{> "systems/vermine2047/templates/item/partials/physicalItems.hbs"}}
|
|
|
|
</section>
|
|
</div>
|