- Onglets item (Anomalie/Aspect/Attribut): correction tabGroups + data-group sur chaque <a> et <section> - Onglets acteur (PJ/PNJ): tab.cssClass dans les templates pour l'état actif initial - Message de tchat: alignement des noms de variables _getChatCardData <-> chat-message.hbs - actorName, actorImg, success/failure, diceResults, statLabel/skillLabel localisés - difficultyLabel et moonPhaseLabel localisés depuis SYSTEM - Dialogue de jet (roll-dialog.hbs): correction noms variables + min/max modificateur - lang/fr.json: ajout Roll.title, Roll.roll, clés Moon (minuscules), Difficulty (unknown/ardu) - character.mjs: passage statLabel à CelestopolRoll.prompt() - global.less: padding + overflow-y sur .tab pour contenu visible - item-scores.hbs: passage system=system au partial + suppression garde isEditable - Templates anomaly/aspect/attribute: passage system=system au partial item-scores - chat-message.mjs: getHTML() → renderHTML() (dépréciation FVTT v13) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
40 lines
1.4 KiB
Handlebars
40 lines
1.4 KiB
Handlebars
<form class="roll-dialog celestopol">
|
||
<div class="roll-title">
|
||
{{#if statLabel}}<span class="stat-label">{{localize statLabel}}</span><span class="separator"> › </span>{{/if}}
|
||
<span class="skill-label">{{localize skillLabel}}</span>
|
||
</div>
|
||
|
||
<div class="form-group">
|
||
<label for="moonPhase">{{localize "CELESTOPOL.Roll.moonPhase"}}</label>
|
||
<select id="moonPhase" name="moonPhase">
|
||
{{#each moonPhaseChoices as |phase key|}}
|
||
<option value="{{key}}" {{#if (eq key ../defaultMoonPhase)}}selected{{/if}}>
|
||
{{localize phase.label}} {{#if phase.bonus}}(+{{phase.bonus}}){{else}}(+0){{/if}}
|
||
</option>
|
||
{{/each}}
|
||
</select>
|
||
</div>
|
||
|
||
<div class="form-group">
|
||
<label for="difficulty">{{localize "CELESTOPOL.Roll.difficulty"}}</label>
|
||
<select id="difficulty" name="difficulty">
|
||
{{#each difficultyChoices as |diff key|}}
|
||
<option value="{{key}}" {{#if (eq key ../defaultDifficulty)}}selected{{/if}}>
|
||
{{localize diff.label}}{{#if diff.value}} ({{diff.value}}){{/if}}
|
||
</option>
|
||
{{/each}}
|
||
</select>
|
||
</div>
|
||
|
||
<div class="form-group">
|
||
<label for="modifier">{{localize "CELESTOPOL.Roll.modifier"}}</label>
|
||
<input type="number" id="modifier" name="modifier" value="0" min="-10" max="10">
|
||
</div>
|
||
|
||
<div class="dice-preview">
|
||
<span>{{localize "CELESTOPOL.Roll.nbDice"}}</span>
|
||
<span class="nb-dice">{{nbDice}}</span>
|
||
<span>d6</span>
|
||
</div>
|
||
</form>
|