Files
2026-06-06 10:21:24 +02:00

69 lines
2.8 KiB
Handlebars

<div class="tab main sheet-part" data-group="sheet" data-tab="main">
{{!-- Toggle Edit/Play --}}
<div class="sheet-header-toggle">
{{#if isEditMode}}
<button type="button" data-action="toggleSheet">{{localize "VERMINE.playMode"}}</button>
{{else}}
<button type="button" data-action="toggleSheet">{{localize "VERMINE.editMode"}}</button>
{{/if}}
</div>
{{!-- HEADER --}}
<header class="char-header grid grid-12col w-full" style="max-height: 110px;">
<div class="grid-span-2">
<img class="profile-img" src="{{actor.img}}" data-action="editImage" data-edit="img" width="100"
height="100" title="{{actor.name}}" />
</div>
<section class="char-details grid-span-5">
<h1 class="char-name flexrow flex-group-left w-full">
<label>{{ localize 'IDENTITY.name' }}</label>
{{#if isEditMode}}
<input name="name" type="text" value="{{actor.name}}"
placeholder="Nom du groupe" />
{{else}}
<span>{{actor.name}}</span>
{{/if}}
</h1>
<div class="profile flexrow flex-group-center">
<label>{{ localize 'IDENTITY.profile' }}</label>
{{#if isEditMode}}
<input name="system.identity.profile" type="text"
value="{{system.identity.profile}}" data-dtype="String" />
{{else}}
<span>{{system.identity.profile}}</span>
{{/if}}
</div>
</section>
<section class="char-level grid-span-5">
<h1 class="char-vermine2047 flexrow flex-group-left w-full">
<label for="system.identity.totem">{{ localize 'IDENTITY.totem' }}</label>
{{#if (eq system.identity.totem "")}}
<a data-action="chooseTotem" class="chooseTotem">Choisissez&hellip;</a>
{{ else }}
<a data-action="chooseTotem" class="chooseTotem">{{ smarttl "TOTEMS" system.identity.totem }}</a>
{{/if}}
</h1>
<div class="level flexrow flex-group-center">
<label>{{ localize 'VERMINE.level' }}</label>
{{#if isEditMode}}
<input name="system.level.value" type="number"
value="{{system.level.value}}" data-dtype="Number" min="{{system.level.min}}" max="{{system.level.max}}" />
{{else}}
<span>{{system.level.value}}</span>
{{/if}}
<span>/ {{system.level.max}}</span>
</div>
<div class="reputation flexrow flex-group-center">
<label>{{ localize 'VERMINE.reputation' }}</label>
{{#if isEditMode}}
<input name="system.reputation.value" type="number"
value="{{system.reputation.value}}" data-dtype="Number" min="{{system.reputation.min}}" max="{{system.reputation.max}}" />
{{else}}
<span>{{system.reputation.value}}</span>
{{/if}}
<span>/ {{system.reputation.max}}</span>
</div>
</section>
</header>
</div>