- global.less : suppression du ::before cream overlay (causait un masquage du header vert sombre sur toutes les fiches items) Remplacement : z-index: 1 appliqué à .item-header, .item-tabs, section.tab - templates/character-main.hbs + npc-main.hbs : Correction affichage type anomalie en mode play : localize system.anomaly.type → lookup dans anomalyTypes pour label traduit 'none' s'affiche maintenant 'Aucune' - templates/npc-competences.hbs : Résistance '0 (0)' → 'actuel / total' (format 0/0 plus lisible) - styles/character.less : skill-level-checkbox appearance: none + style custom Art Déco (13×13px, border var(--cel-border), checked = fond or, disabled:checked = opaque) Remplacement du style browser default (cubes bleus) par des cases élégantes Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
49 lines
1.9 KiB
Handlebars
49 lines
1.9 KiB
Handlebars
<div class="npc-main sheet-part">
|
|
<header class="sheet-header">
|
|
<div class="portrait" data-action="editImage">
|
|
<img src="{{actor.img}}" alt="{{actor.name}}" class="actor-portrait">
|
|
</div>
|
|
<div class="header-fields">
|
|
<div class="charname">
|
|
{{#if isEditMode}}
|
|
<input type="text" name="name" value="{{actor.name}}">
|
|
{{else}}
|
|
<h1 class="actor-name">{{actor.name}}</h1>
|
|
{{/if}}
|
|
</div>
|
|
<div class="concept-row">
|
|
{{#if isEditMode}}
|
|
<input type="text" name="system.concept" value="{{system.concept}}"
|
|
placeholder="{{localize 'CELESTOPOL.Actor.concept'}}">
|
|
{{else}}
|
|
<span class="concept-display">{{system.concept}}</span>
|
|
{{/if}}
|
|
</div>
|
|
<div class="header-stats-row">
|
|
<div class="header-stat">
|
|
<label>{{localize "CELESTOPOL.Actor.initiative"}}</label>
|
|
<span>{{system.initiative}}</span>
|
|
</div>
|
|
<div class="header-stat">
|
|
<label>{{localize "CELESTOPOL.Actor.anomaly"}}</label>
|
|
{{#if isEditMode}}
|
|
<select name="system.anomaly.type">
|
|
{{#each anomalyTypes as |atype key|}}
|
|
<option value="{{key}}" {{#if (eq key ../system.anomaly.type)}}selected{{/if}}>{{localize atype.label}}</option>
|
|
{{/each}}
|
|
</select>
|
|
<input type="number" name="system.anomaly.value" value="{{system.anomaly.value}}" min="0" max="8" class="small-input">
|
|
{{else}}
|
|
<span class="anomaly-type-display">{{localize (lookup (lookup anomalyTypes system.anomaly.type) 'label')}}</span>
|
|
{{/if}}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="header-buttons">
|
|
<a data-action="toggleSheet">
|
|
<i class="fas {{#if isEditMode}}fa-eye{{else}}fa-edit{{/if}}"></i>
|
|
</a>
|
|
</div>
|
|
</header>
|
|
</div>
|