abea77906d
- Add spell roll functionality to character sheets - Enhance CSS and LESS styling for better visual presentation - Update character templates and models - Remove old backup files (roll-old.mjs, roll.mjs.backup) - Improve character combat and equipment templates - Update utility functions and actor documents Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
103 lines
3.0 KiB
Handlebars
103 lines
3.0 KiB
Handlebars
<section>
|
|
<div class="header">
|
|
<img class="item-img" src="{{item.img}}" data-edit="img" data-action="editImage" data-tooltip="{{item.name}}" />
|
|
{{formInput fields.name value=source.name}}
|
|
</div>
|
|
|
|
{{! Navigation des onglets }}
|
|
<nav class="sheet-tabs tabs" data-group="primary">
|
|
<a class="item {{tabs.details.cssClass}}" data-tab="details">{{localize "PRISMRPG.Label.details"}}</a>
|
|
<a class="item {{tabs.description.cssClass}}" data-tab="description">{{localize "PRISMRPG.Label.description"}}</a>
|
|
</nav>
|
|
|
|
{{! Onglet Details }}
|
|
<div class="tab {{tabs.details.cssClass}}" data-group="primary" data-tab="details">
|
|
<div class="flexrow">
|
|
<div class="align-top">
|
|
|
|
{{! Class Type and Archetype }}
|
|
{{formField systemFields.archetype value=system.archetype localize=true}}
|
|
|
|
{{formField systemFields.classType value=system.classType localize=true}}
|
|
|
|
{{#if (eq system.classType "continental")}}
|
|
{{formField systemFields.continent value=system.continent}}
|
|
{{/if}}
|
|
|
|
{{formField systemFields.level value=system.level}}
|
|
|
|
</div>
|
|
<div class="align-top">
|
|
|
|
{{! Proficiencies }}
|
|
{{formField systemFields.weaponProficiencies value=system.weaponProficiencies}}
|
|
|
|
{{formField systemFields.armorProficiencies value=system.armorProficiencies}}
|
|
|
|
{{! Spellcasting }}
|
|
{{formField systemFields.spellcasting value=system.spellcasting}}
|
|
|
|
{{#if system.spellcasting}}
|
|
{{formField systemFields.spellcastingType value=system.spellcastingType localize=true}}
|
|
{{/if}}
|
|
|
|
</div>
|
|
</div>
|
|
|
|
{{! Attribute Bonuses }}
|
|
<fieldset>
|
|
<legend>{{localize "PRISMRPG.Label.attributeBonuses"}}</legend>
|
|
{{formInput
|
|
systemFields.attributeBonuses
|
|
enriched=enrichedAttributeBonuses
|
|
value=system.attributeBonuses
|
|
name="system.attributeBonuses"
|
|
toggled=true
|
|
}}
|
|
</fieldset>
|
|
|
|
{{! Class Features }}
|
|
<fieldset>
|
|
<legend>{{localize "PRISMRPG.Label.classFeatures"}}</legend>
|
|
|
|
{{#each system.features as |feature level|}}
|
|
<label>{{localize "PRISMRPG.Label.level"}} {{replace @key "level" ""}}</label>
|
|
{{formInput
|
|
(lookup ../systemFields.features.fields @key)
|
|
enriched=(lookup ../enrichedFeatures @key)
|
|
value=feature
|
|
name=(concat "system.features." @key)
|
|
toggled=true
|
|
}}
|
|
{{/each}}
|
|
</fieldset>
|
|
</div>
|
|
|
|
{{! Onglet Description }}
|
|
<div class="tab {{tabs.description.cssClass}}" data-group="primary" data-tab="description">
|
|
<fieldset>
|
|
<legend>{{localize "PRISMRPG.Label.description"}}</legend>
|
|
{{formInput
|
|
systemFields.description
|
|
enriched=enrichedDescription
|
|
value=system.description
|
|
name="system.description"
|
|
toggled=true
|
|
}}
|
|
</fieldset>
|
|
|
|
{{! Notes }}
|
|
<fieldset>
|
|
<legend>{{localize "PRISMRPG.Label.notes"}}</legend>
|
|
{{formInput
|
|
systemFields.notes
|
|
enriched=enrichedNotes
|
|
value=system.notes
|
|
name="system.notes"
|
|
toggled=true
|
|
}}
|
|
</fieldset>
|
|
</div>
|
|
|
|
</section>
|