28 lines
2.8 KiB
Handlebars
28 lines
2.8 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">Souffle collectif</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>Scope</label><select name="system.scope" {{#if isPlayMode}}disabled{{/if}}>{{#each choiceSets.companyPowerScopeOptions as |option|}}<option value="{{option.value}}" {{#if (eq option.value @root.system.scope)}}selected{{/if}}>{{option.label}}</option>{{/each}}</select></div>
|
|
<div class="field-row"><label>Mode</label><select name="system.effectMode" {{#if isPlayMode}}disabled{{/if}}>{{#each choiceSets.companyPowerModeOptions as |option|}}<option value="{{option.value}}" {{#if (eq option.value @root.system.effectMode)}}selected{{/if}}>{{option.label}}</option>{{/each}}</select></div>
|
|
<div class="field-row"><label>Usages</label><input name="system.limitedUses" type="text" value="{{system.limitedUses}}" {{#if isPlayMode}}disabled{{/if}} /></div>
|
|
<div class="field-row"><label>Impact ressource</label><input name="system.resourceImpact" type="text" value="{{system.resourceImpact}}" {{#if isPlayMode}}disabled{{/if}} /></div>
|
|
<div class="field-row"><label>Activation</label><input name="system.activationCondition" type="text" value="{{system.activationCondition}}" {{#if isPlayMode}}disabled{{/if}} /></div>
|
|
<div class="field-row"><label>Vue du capitaine requise</label><input name="system.captainVisible" type="checkbox" {{checked system.captainVisible}} {{#if isPlayMode}}disabled{{/if}} /></div>
|
|
<div class="field-row"><label>Capitaine avec témoin</label><input name="system.captainNeedsWitness" type="checkbox" {{checked system.captainNeedsWitness}} {{#if isPlayMode}}disabled{{/if}} /></div>
|
|
</section>
|
|
<section class="sheet-card notes-card">
|
|
<h2>{{localize "LESOUBLIES.labels.description"}}</h2>
|
|
{{formInput systemFields.description enriched=enriched.description value=system.description name="system.description" toggled=true}}
|
|
<h2>{{localize "LESOUBLIES.labels.pouvoir"}}</h2>
|
|
{{formInput systemFields.ruleText enriched=enriched.ruleText value=system.ruleText name="system.ruleText" toggled=true}}
|
|
<h2>{{localize "LESOUBLIES.labels.notes"}}</h2>
|
|
{{formInput systemFields.notes enriched=enriched.notes value=system.notes name="system.notes" toggled=true}}
|
|
</section>
|
|
</section>
|