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

39 lines
1.6 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" >
{{#select system.charmetype}}
{{#each config.charmetype as |label key|}}
<option value="{{key}}">{{label}}</option>
{{/each}}
{{/select}}
</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>