fvtt-les-heritiers/templates/item-competence-sheet.html

69 lines
3.0 KiB
HTML
Raw Permalink Normal View History

2022-12-26 00:33:13 +01:00
<form class="{{cssClass}}" autocomplete="off">
{{> systems/fvtt-les-heritiers/templates/partial-item-header.html}}
{{> systems/fvtt-les-heritiers/templates/partial-item-nav.html}}
{{!-- Sheet Body --}}
<section class="sheet-body">
{{> systems/fvtt-les-heritiers/templates/partial-item-description.html}}
<div class="tab details" data-group="primary" data-tab="details">
<ul class="item-list alternate-list">
2022-12-26 20:46:03 +01:00
2022-12-26 00:33:13 +01:00
<li class="flexrow item">
2022-12-26 20:46:03 +01:00
<label class="generic-label item-field-label-long2">Catégorie </label>
2022-12-26 00:33:13 +01:00
<select class="status-small-label color-class-common item-field-label-long" type="text"
2022-12-26 20:46:03 +01:00
name="system.categorie" value="{{system.categorie}}" data-dtype="string">
2024-05-23 11:25:51 +02:00
{{selectOptions config.competenceCategorie selected=system.categorie}}
2022-12-26 00:33:13 +01:00
</select>
</li>
2022-12-26 20:46:03 +01:00
2022-12-26 00:33:13 +01:00
<li class="flexrow item">
2022-12-26 20:46:03 +01:00
<label class="generic-label item-field-label-long2">Profil </label>
2022-12-26 00:33:13 +01:00
<select class="status-small-label color-class-common item-field-label-long" type="text"
2022-12-26 20:46:03 +01:00
name="system.profil" value="{{system.profil}}" data-dtype="string">
2024-05-23 11:25:51 +02:00
{{selectOptions config.competenceProfil selected=system.profil labelAttr="name"}}
2022-12-26 00:33:13 +01:00
</select>
</li>
2022-12-26 20:46:03 +01:00
2022-12-26 00:33:13 +01:00
<li class="flexrow item">
2022-12-26 20:46:03 +01:00
<label class="generic-label item-field-label-long2">Compétence de Prédilection ? </label>
<input type="checkbox" class="padd-right status-small-label color-class-common item-field-label-short"
name="system.predilection" {{checked system.predilection}}/>
2022-12-26 00:33:13 +01:00
</li>
<li class="flexrow item">
2022-12-26 20:46:03 +01:00
<label class="generic-label item-field-label-long2">Niveau </label>
<input type="text" class="padd-right status-small-label color-class-common item-field-label-short"
name="system.niveau" value="{{system.niveau}}" data-dtype="Number" />
</li>
<li class="flexrow item">
<h3>Spécialités</h3>
2022-12-26 00:33:13 +01:00
</li>
<li class="flexrow item">
<ul>
2022-12-26 20:46:03 +01:00
{{#each system.specialites as |specialite key|}}
<li class="specialite-item item flexrow" data-specialite-index="{{key}}">
<input type="text" class="padd-right color-class-common edit-specialite" value="{{specialite.name}}"
2022-12-26 00:33:13 +01:00
data-dtype="String" />
2022-12-28 14:10:58 +01:00
<a class="item-control delete-specialite" title="Supprimer une specialité"><i
class="fas fa-trash"></i></a>
2022-12-26 00:33:13 +01:00
</li>
2022-12-26 20:46:03 +01:00
<li class="specialite-item item flexrow" data-specialite-index="{{key}}">
<textarea row="4" type="text" class="padd-right color-class-common edit-specialite-description"
data-dtype="String">{{specialite.description}}</textarea>
2022-12-26 00:33:13 +01:00
</li>
<hr>
{{/each}}
</ul>
<li class="flexrow item">
2022-12-26 20:46:03 +01:00
<button id="add-specialite" class="chat-card-button">Ajouter une Spécialité</button>
2022-12-26 00:33:13 +01:00
</li>
</ul>
</div>
</section>
</form>