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

75 lines
3.1 KiB
HTML
Raw 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">
{{#select system.categorie}}
{{#each config.competenceCategorie as |categ cKey|}}
<option value="{{cKey}}">{{categ}}</option>
2022-12-26 00:33:13 +01:00
{{/each}}
{{/select}}
</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">
{{#select system.profil}}
{{#each config.competenceProfil as |profil pKey|}}
<option value="{{pKey}}">{{profil}}</option>
2022-12-26 00:33:13 +01:00
{{/each}}
{{/select}}
</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" />
</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>