fvtt-wasteland/templates/item-charme-sheet.html

35 lines
1.5 KiB
HTML

<form class="{{cssClass}}" autocomplete="off">
<header class="sheet-header">
<img class="item-sheet-img" alt="Portrait" 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">
<span class="flexrow">
<label class="generic-label">Type : </label>
<select class="status-small-label color-class-common" type="text" name="system.charmetype" value="{{system.charmetype}}" data-dtype="string" >
{{selectOptions config.charmetype selected=system.charmetype}}
</select>
</span>
{{#each system.resultats as |resultat key|}}
<span class="flexrow">
<label class="generic-label item-field-label-medium">Valeur : </label>
<input type="text" class="padd-right input-numeric-short status-small-label color-class-common" name="system.resultats.{{key}}.value" value="{{resultat.value}}" data-dtype="Number" />
<label class="generic-label item-field-label-medium">Description : </label>
<input type="text" class="padd-right status-small-label color-class-common" name="system.resultats.{{key}}.description" value="{{resultat.description}}" data-dtype="String" />
</span>
{{/each}}
{{> systems/fvtt-wasteland/templates/partial-item-description.html}}
</div>
</section>
</form>