Files
fvtt-les-oublies/templates/item-competence-sheet.hbs
T
2026-05-02 09:16:24 +02:00

27 lines
2.1 KiB
Handlebars

<section class="{{cssClass}} les-oublies-sheet item-sheet" autocomplete="off">
<header class="sheet-header hero-banner">
<img class="profile-img" data-edit="img" data-action="editImage" src="{{item.img}}" title="{{item.name}}" />
<div class="header-fields hero-copy">
<p class="sheet-kicker">Savoir-faire</p>
<h1 class="sheet-title"><input name="name" type="text" value="{{item.name}}" placeholder="Nom" {{#if isPlayMode}}disabled{{/if}} /></h1>
<button class="mode-button" type="button" data-action="toggleSheet">{{#if isEditMode}}{{localize "LESOUBLIES.ui.playMode"}}{{else}}{{localize "LESOUBLIES.ui.editMode"}}{{/if}}</button>
</div>
</header>
<section class="sheet-card summary-card">
<div class="field-row"><label>Key</label><input name="system.key" type="text" value="{{system.key}}" {{#if isPlayMode}}disabled{{/if}} /></div>
<div class="field-row"><label>{{localize "LESOUBLIES.labels.profil"}}</label><input name="system.profileKey" type="text" value="{{system.profileKey}}" {{#if isPlayMode}}disabled{{/if}} /></div>
<div class="field-row"><label>{{localize "LESOUBLIES.labels.base"}}</label><input name="system.base" type="number" value="{{system.base}}" {{#if isPlayMode}}disabled{{/if}} /></div>
<div class="field-row"><label>Fermée</label><input name="system.closed" type="checkbox" {{checked system.closed}} {{#if isPlayMode}}disabled{{/if}} /></div>
<div class="field-row"><label>À domaines</label><input name="system.domainSkill" type="checkbox" {{checked system.domainSkill}} {{#if isPlayMode}}disabled{{/if}} /></div>
<p><strong>{{localize "LESOUBLIES.labels.domaines}} :</strong> {{join system.domains}}</p>
<p><strong>Domaines fixes :</strong> {{join system.fixedDomains}}</p>
<p><strong>Exemples :</strong> {{join system.exampleDomains}}</p>
</section>
<section class="sheet-card notes-card">
<h2>{{localize "LESOUBLIES.labels.description"}}</h2>
{{editor system.description target="system.description" button=true editable=isEditMode}}
<h2>{{localize "LESOUBLIES.labels.notes"}}</h2>
{{editor system.notes target="system.notes" button=true editable=isEditMode}}
</section>
</section>