30d6f71fc7
- Fix TypeError: controls.find is not a function in hooks.mjs - Fix undefined 'npc' variable in applications.mjs - Fix CONFIG.VERMINE.model undefined by checking game.system.template existence - Fix TypeError: html.find(...).forEach is not a function in roll.mjs - Fix Cannot set properties of undefined (setting 'initial') in actor.mjs - Fix Cannot read properties of undefined (reading 'difficulty') in actor.mjs - Fix ActiveEffect application phase 'initial' already completed by adding combatStatus to base template - Fix Missing helper: 'select' in roll-dialog.hbs (removed invalid Handlebars select block) - Add SIZE_LEVELS labels to creatureSizeLevels config - Add SIZE_LEVELS translations to fr.json - Add combatStatus to base actor template - Convert all .html templates to .hbs for Foundry v14 compatibility - Update item-sheet.mjs to use .hbs extension - Update handlebars-manager.mjs to use .hbs for all partials Complete Vermine2047 Creature and Group sheet implementation: - Creature: Pattern, Size, Role, Pack with computed values - Group: Totem, Reserve, Morale, Objectives, Members management - All templates functional with proper styling Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
42 lines
2.1 KiB
Handlebars
42 lines
2.1 KiB
Handlebars
<!-- HEADER -->
|
|
<header class="char-header grid grid-12col w-full" style="max-height: 110px;">
|
|
<div class="grid-span-2">
|
|
<img class="profile-img" src="{{actor.img}}" data-edit="img" width="100"
|
|
height="100" title="{{actor.name}}" />
|
|
</div>
|
|
<section class="char-details grid-span-5">
|
|
<h1 class="char-name flexrow flex-group-left w-full">
|
|
<label>{{ localize 'IDENTITY.name' }}</label>
|
|
<input name="name" type="text" value="{{actor.name}}"
|
|
placeholder="Nom du groupe" />
|
|
</h1>
|
|
<div class="profile flexrow flex-group-center">
|
|
<label>{{ localize 'IDENTITY.profile' }}</label>
|
|
<input name="system.identity.profile" type="text"
|
|
value="{{system.identity.profile}}" data-dtype="String" />
|
|
</div>
|
|
</section>
|
|
<section class="char-level grid-span-5">
|
|
<h1 class="char-vermine2047 flexrow flex-group-left w-full">
|
|
<label for="system.identity.totem">{{ localize 'IDENTITY.totem' }}</label>
|
|
{{#if (eq system.identity.totem "")}}
|
|
<a name="chooseTotem" class="chooseTotem">Choisissez…</a>
|
|
{{ else }}
|
|
<a name="chooseTotem" class="chooseTotem">{{ smarttl "TOTEMS" system.identity.totem }}</a>
|
|
{{/if}}
|
|
</h1>
|
|
<div class="level flexrow flex-group-center">
|
|
<label>{{ localize 'VERMINE.level' }}</label>
|
|
<input name="system.level.value" type="number"
|
|
value="{{system.level.value}}" data-dtype="Number" min="{{system.level.min}}" max="{{system.level.max}}" />
|
|
<span>/ {{system.level.max}}</span>
|
|
</div>
|
|
<div class="reputation flexrow flex-group-center">
|
|
<label>{{ localize 'VERMINE.reputation' }}</label>
|
|
<input name="system.reputation.value" type="number"
|
|
value="{{system.reputation.value}}" data-dtype="Number" min="{{system.reputation.min}}" max="{{system.reputation.max}}" />
|
|
<span>/ {{system.reputation.max}}</span>
|
|
</div>
|
|
</section>
|
|
</header>
|