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

71 lines
3.1 KiB
HTML
Raw Normal View History

2023-11-26 16:18:04 +01: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">
<span class="flexrow">
<label class="generic-label">Niveau : </label>
2023-12-06 10:14:26 +01:00
<select class="status-small-label color-class-common edit-item-data competence-niveau" type="text"
name="system.niveau" value="{{system.niveau}}" data-dtype="Number">
2024-05-23 11:36:03 +02:00
{{selectOptions config.listeNiveauSkill selected=system.niveau}}
2023-12-06 10:14:26 +01:00
</select>
2023-11-26 16:18:04 +01:00
</span>
<span class="flexrow">
<label class="generic-label">Attribut 1 : </label>
<select class="status-small-label color-class-common" type="text" name="system.attribut1"
value="{{data.attribut1}}" data-dtype="string">
2024-05-23 11:36:03 +02:00
{{selectOptions attributs selected=data.attribut1}}
2023-11-26 16:18:04 +01:00
</select>
</span>
<span class="flexrow">
<label class="generic-label">Attribut 2 : </label>
<select class="status-small-label color-class-common" type="text" name="system.attribut2"
value="{{data.attribut2}}" data-dtype="string">
<option value="none">Aucun</option>
2024-05-23 11:36:03 +02:00
{{selectOptions attributs selected=data.attribut2}}
2023-11-26 16:18:04 +01:00
</select>
</span>
<span class="flexrow">
<label class="generic-label">Attribut 3 : </label>
<select class="status-small-label color-class-common" type="text" name="system.attribut3"
value="{{data.attribut3}}" data-dtype="string">
<option value="none">Aucun</option>
2024-05-23 11:36:03 +02:00
{{selectOptions attributs selected=data.attribut3}}
2023-11-26 16:18:04 +01:00
</select>
</span>
<span class="flexrow">
<label class="generic-label">Les bonus de Bonne Aventure et d'Eclat peuvent être doublés (cf. Métier) ? </label>
<input class="" type="checkbox" name="system.doublebonus" {{checked data.doublebonus}}/>
</span>
<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"
name="system.predilections[{{key}}]" value="{{predilection.name}}" data-dtype="String" />
<label class="generic-label">Utilisée ? <input class="use-prediction" type="checkbox" name="predilection.used" {{checked predilection.used}} /></label>
<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>
{{> systems/fvtt-wasteland/templates/partial-item-description.html}}
</div>
</section>
</form>