2022-05-29 17:55:22 +02:00
|
|
|
<form class="{{cssClass}}" autocomplete="off">
|
2022-06-05 23:27:38 +02:00
|
|
|
<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">
|
2022-05-29 17:55:22 +02:00
|
|
|
|
|
|
|
<div class="flexcol">
|
|
|
|
<span class="flexrow">
|
|
|
|
<label class="generic-label">Niveau : </label>
|
2023-12-21 15:41:17 +01:00
|
|
|
<input type="text" class="padd-right status-small-label color-class-common" name="system.niveau"
|
2022-06-05 23:27:38 +02:00
|
|
|
value="{{data.niveau}}" data-dtype="Number" />
|
2022-05-29 17:55:22 +02:00
|
|
|
</span>
|
|
|
|
<span class="flexrow">
|
|
|
|
<label class="generic-label">Attribut 1 : </label>
|
2022-09-20 08:57:40 +02:00
|
|
|
<select class="status-small-label color-class-common" type="text" name="system.attribut1"
|
2022-06-05 23:27:38 +02:00
|
|
|
value="{{data.attribut1}}" data-dtype="string">
|
2024-04-26 11:45:58 +02:00
|
|
|
{{selectOptions config.attributs selected=data.attribut1}}
|
2022-06-05 23:27:38 +02:00
|
|
|
</select>
|
2022-05-29 17:55:22 +02:00
|
|
|
</span>
|
|
|
|
<span class="flexrow">
|
|
|
|
<label class="generic-label">Attribut 2 : </label>
|
2022-09-20 08:57:40 +02:00
|
|
|
<select class="status-small-label color-class-common" type="text" name="system.attribut2"
|
2022-06-05 23:27:38 +02:00
|
|
|
value="{{data.attribut2}}" data-dtype="string">
|
2022-05-29 17:55:22 +02:00
|
|
|
<option value="none">Aucun</option>
|
2024-04-26 11:45:58 +02:00
|
|
|
{{selectOptions config.attributs selected=data.attribut2}}
|
2022-06-05 23:27:38 +02:00
|
|
|
</select>
|
2022-05-29 17:55:22 +02:00
|
|
|
</span>
|
|
|
|
<span class="flexrow">
|
|
|
|
<label class="generic-label">Attribut 3 : </label>
|
2022-09-20 08:57:40 +02:00
|
|
|
<select class="status-small-label color-class-common" type="text" name="system.attribut3"
|
2022-06-05 23:27:38 +02:00
|
|
|
value="{{data.attribut3}}" data-dtype="string">
|
2022-05-29 17:55:22 +02:00
|
|
|
<option value="none">Aucun</option>
|
2024-04-26 11:45:58 +02:00
|
|
|
{{selectOptions config.attributs selected=data.attribut3}}
|
2022-06-05 23:27:38 +02:00
|
|
|
</select>
|
2022-05-29 17:55:22 +02:00
|
|
|
</span>
|
2022-06-06 22:33:46 +02:00
|
|
|
|
|
|
|
<span class="flexrow">
|
|
|
|
<label class="generic-label">Les bonus de Bonne Aventure et d'Eclat peuvent être doublés (cf. Métier) ? </label>
|
2022-10-01 08:47:01 +02:00
|
|
|
<input class="" type="checkbox" name="system.doublebonus" {{checked data.doublebonus}}/>
|
2022-06-06 22:33:46 +02:00
|
|
|
</span>
|
|
|
|
|
2022-06-05 23:27:38 +02:00
|
|
|
<span class="flexrow">
|
|
|
|
<h3>Prédilections</h3>
|
|
|
|
</span>
|
|
|
|
<ul>
|
|
|
|
{{#each data.predilections as |predilection key|}}
|
|
|
|
<li class="prediction-item item flexrow" data-prediction-index="{{key}}">
|
|
|
|
<input type="text" class="padd-right color-class-common edit-prediction"
|
2022-09-20 08:57:40 +02:00
|
|
|
name="system.predilections[{{key}}]" value="{{predilection.name}}" data-dtype="String" />
|
2022-10-01 08:47:01 +02:00
|
|
|
<label class="generic-label">Utilisée ? <input class="use-prediction" type="checkbox" name="predilection.used" {{checked predilection.used}} /></label>
|
2022-06-05 23:27:38 +02:00
|
|
|
<a class="item-control delete-prediction" title="Supprimer une predilection"><i class="fas fa-trash"></i></a>
|
|
|
|
</li>
|
|
|
|
{{/each}}
|
|
|
|
</ul>
|
|
|
|
<span class="flexrow">
|
|
|
|
<button id="add-predilection" class="chat-card-button">Ajouter une prédilection</button>
|
|
|
|
</span>
|
|
|
|
|
2022-05-29 17:55:22 +02:00
|
|
|
{{> systems/fvtt-mournblade/templates/partial-item-description.html}}
|
|
|
|
|
|
|
|
</div>
|
2022-06-05 23:27:38 +02:00
|
|
|
|
|
|
|
</section>
|
|
|
|
</form>
|