fvtt-mournblade/templates/item-default-sheet.html

50 lines
1.7 KiB
HTML
Raw Normal View History

2022-05-27 09:45:09 +02:00
<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">
<div class="flexcol">
{{#if (exists data.type)}}
<span>
<label class="generic-label">Type : </label>
<input type="text" class="padd-right status-small-label color-class-common" name="data.type" value="{{data.type}}"
data-dtype="String" />
</span>
{{/if}}
{{#if (exists data.value)}}
<span>
<label class="generic-label">Valeur : </label>
<input type="text" class="input-numeric-short padd-right status-small-label color-class-common" name="data.value" value="{{data.value}}"
data-dtype="Number" />
</span>
{{/if}}
{{#if (exists data.aide)}}
<span class="generic-label">
<label>Aide : </label>
<input type="text" class="input-numeric-short padd-right status-small-label color-class-common" name="data.aide" value="{{data.aide}}"
data-dtype="Number" />
</span>
{{/if}}
{{#if (exists data.ressource)}}
<span class="generic-label">
<label>Resource : </label>
<input type="text" class="input-numeric-short padd-right status-small-label color-class-common" name="data.ressource" value="{{data.ressource}}"
data-dtype="Number" />
</span>
{{/if}}
{{> systems/fvtt-imperium5/templates/partial-item-description.html}}
</div>
</section>
</form>