Compendiums : Armes et protections

This commit is contained in:
2023-11-28 22:27:34 +01:00
parent a3c5a9bfec
commit 06d0d9b24d
19 changed files with 38 additions and 0 deletions
View File
Binary file not shown.
View File
Binary file not shown.
View File
Binary file not shown.
View File
Binary file not shown.
View File
Binary file not shown.
View File
Binary file not shown.
View File
Binary file not shown.
View File
Binary file not shown.
View File
Binary file not shown.
+38
View File
@@ -0,0 +1,38 @@
<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>