Import initial

This commit is contained in:
2026-05-02 09:16:24 +02:00
parent e4b91948d2
commit 839b2b606e
76 changed files with 10025 additions and 0 deletions
+90
View File
@@ -0,0 +1,90 @@
<section class="{{cssClass}} les-oublies-sheet compagnie-sheet" autocomplete="off">
<header class="sheet-header hero-banner">
<img class="profile-img" data-edit="img" data-action="editImage" src="{{actor.img}}" title="{{actor.name}}" />
<div class="header-fields hero-copy">
<p class="sheet-kicker">Blason de la compagnie</p>
<h1 class="sheet-title"><input name="name" type="text" value="{{actor.name}}" placeholder="Nom de compagnie" {{#if isPlayMode}}disabled{{/if}} /></h1>
<p class="sheet-subtitle">Capitaine, pouvoir partagé et liens forgés dans l'Exil</p>
<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">
<h2>{{localize "LESOUBLIES.labels.pouvoir"}}</h2>
<div class="field-row">
<label>{{localize "LESOUBLIES.labels.powerName"}}</label>
<input name="system.power.name" type="text" value="{{system.power.name}}" {{#if isPlayMode}}disabled{{/if}} />
</div>
<div class="field-row">
<label>{{localize "LESOUBLIES.labels.reserveSongesCompagnie"}}</label>
<input name="system.power.sharedDreamPoints" type="number" value="{{system.power.sharedDreamPoints}}" {{#if isPlayMode}}disabled{{/if}} />
</div>
<div class="field-row">
<label>{{localize "LESOUBLIES.labels.activation"}}</label>
<input name="system.power.activationCondition" type="text" value="{{system.power.activationCondition}}" {{#if isPlayMode}}disabled{{/if}} />
</div>
<div class="field-row">
<label>{{localize "LESOUBLIES.labels.capitaineVisible"}}</label>
<input name="system.power.captainVisible" type="checkbox" {{checked system.power.captainVisible}} {{#if isPlayMode}}disabled{{/if}} />
</div>
<div class="field-row">
<label>{{localize "LESOUBLIES.labels.capitaineTemoin"}}</label>
<input name="system.power.captainNeedsWitness" type="checkbox" {{checked system.power.captainNeedsWitness}} {{#if isPlayMode}}disabled{{/if}} />
</div>
{{editor system.power.description target="system.power.description" button=true editable=isEditMode}}
<div class="section-title-row">
<h3>Items de pouvoir</h3>
<button type="button" data-action="createItem" data-type="pouvoircompagnie">+ {{localize "TYPES.Item.pouvoircompagnie"}}</button>
</div>
<div class="item-list">
{{#each powers as |item|}}
<article class="item-card">
<div><strong>{{item.name}}</strong><div>{{item.system.activationCondition}}</div></div>
<div class="item-controls"><button type="button" data-action="editItem" data-item-id="{{item.id}}">Edit</button><button type="button" data-action="deleteItem" data-item-id="{{item.id}}">Delete</button></div>
</article>
{{/each}}
</div>
{{#if primaryPower}}
<div class="help-text">{{primaryPower.name}}{{primaryPower.system.activationCondition}}</div>
{{/if}}
</section>
<div class="sheet-grid sheet-grid-2">
<section class="sheet-card ledger-card">
<h2>{{localize "LESOUBLIES.ui.membres"}}</h2>
<div class="field-row">
<label>{{localize "LESOUBLIES.labels.capitaine"}}</label>
<input name="system.captainId" type="text" value="{{system.captainId}}" {{#if isPlayMode}}disabled{{/if}} />
</div>
<div class="field-row">
<label>{{localize "LESOUBLIES.labels.ombreDuTourment"}}</label>
<input name="system.ombreDuTourmentId" type="text" value="{{system.ombreDuTourmentId}}" {{#if isPlayMode}}disabled{{/if}} />
</div>
<p class="help-text">{{localize "LESOUBLIES.labels.membresIds"}}</p>
{{#if captain}}<p><strong>Capitaine :</strong> {{captain.name}}</p>{{/if}}
{{#if shadow}}<p><strong>Ombre :</strong> {{shadow.name}}</p>{{/if}}
<ul class="reference-list">
{{#each members as |member|}}
<li>{{member.name}}</li>
{{/each}}
</ul>
</section>
<section class="sheet-card ledger-card">
<h2>{{localize "LESOUBLIES.labels.liensNarratifs"}}</h2>
<p class="help-text">{{localize "LESOUBLIES.ui.readOnlyCollection"}}</p>
<ul class="reference-list">
{{#each links as |link|}}
<li><strong>{{link.label}}</strong> — {{link.sourceLabel}} -> {{link.targetLabel}} {{link.details}}</li>
{{/each}}
</ul>
</section>
</div>
<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>