fvtt-imperium5/templates/item-default-sheet.html
2022-10-19 17:30:47 +02:00

52 lines
1.8 KiB
HTML

<form class="{{cssClass}}" autocomplete="off">
<header class="sheet-header">
<img class="item-sheet-img" src="{{img}}" data-edit="img" title="{{name}}"/>
<div class="header-fields">
<h1 class="charname"><input name="name" type="text" value="{{name}}" placeholder="Name"/></h1>
</div>
</header>
{{!-- Sheet Body --}}
<section class="sheet-body">
<h3>{{upperFirst type}}</h3>
<div class="flexcol">
{{#if (exists system.capatype)}}
<span>
<label class="generic-label">Type de capacité : </label>
<input type="text" class="padd-right status-small-label color-class-common" name="system.capatype" value="{{system.capatype}}"
data-dtype="String" />
</span>
{{/if}}
{{#if (exists system.value)}}
<span>
<label class="generic-label">Valeur : </label>
<input type="text" class="input-numeric-short padd-right status-small-label color-class-common" name="system.value" value="{{system.value}}"
data-dtype="Number" />
</span>
{{/if}}
{{#if (exists system.aide)}}
<span class="generic-label">
<label>Aide : </label>
<input type="text" class="input-numeric-short padd-right status-small-label color-class-common" name="system.aide" value="{{system.aide}}"
data-dtype="Number" />
</span>
{{/if}}
{{#if (exists system.ressource)}}
<span class="generic-label">
<label>Resource : </label>
<input type="text" class="input-numeric-short padd-right status-small-label color-class-common" name="system.ressource" value="{{system.ressource}}"
data-dtype="Number" />
</span>
{{/if}}
{{> systems/fvtt-imperium5/templates/partial-item-description.html}}
</div>
</section>
</form>