fvtt-hawkmoon-cyd/templates/item-competence-sheet.html

79 lines
3.7 KiB
HTML
Raw Permalink Normal View History

2022-10-22 11:09:48 +02:00
<form class="{{cssClass}}" autocomplete="off">
2022-11-14 15:27:19 +01:00
{{> systems/fvtt-hawkmoon-cyd/templates/partial-item-header.html}}
2022-10-22 11:09:48 +02:00
2022-10-23 21:26:18 +02:00
{{> systems/fvtt-hawkmoon-cyd/templates/partial-item-nav.html}}
2022-10-22 11:09:48 +02:00
{{!-- Sheet Body --}}
<section class="sheet-body">
2022-10-23 09:55:02 +02:00
{{> systems/fvtt-hawkmoon-cyd/templates/partial-item-description.html}}
2022-10-22 11:09:48 +02:00
2022-10-23 21:26:18 +02:00
<div class="tab details" data-group="primary" data-tab="details">
<ul class="item-list alternate-list">
<li class="flexrow item">
<label class="generic-label item-field-label-long">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">
<label class="generic-label item-field-label-long">Attribut 1 </label>
2022-10-25 17:54:13 +02:00
<select class="status-small-label color-class-common item-field-label-long" type="text"
name="system.attribut1" value="{{system.attribut1}}" data-dtype="string">
2024-05-05 18:06:29 +02:00
{{selectOptions attributs selected=system.attribut1 }}
2022-10-23 21:26:18 +02:00
</select>
</li>
<li class="flexrow item">
<label class="generic-label item-field-label-long">Attribut 2 </label>
2022-10-25 17:54:13 +02:00
<select class="status-small-label color-class-common item-field-label-long" type="text"
name="system.attribut2" value="{{system.attribut2}}" data-dtype="string">
2022-10-23 21:26:18 +02:00
<option value="none">Aucun</option>
2024-05-05 18:06:29 +02:00
{{selectOptions attributs selected=system.attribut2 }}
2022-10-23 21:26:18 +02:00
</select>
</li>
<li class="flexrow item">
<label class="generic-label item-field-label-long">Attribut 3 </label>
2022-10-25 17:54:13 +02:00
<select class="status-small-label color-class-common item-field-label-long" type="text"
name="system.attribut3" value="{{system.attribut3}}" data-dtype="string">
2022-10-23 21:26:18 +02:00
<option value="none">Aucun</option>
2024-05-05 18:06:29 +02:00
{{selectOptions attributs selected=system.attribut3 }}
2022-10-23 21:26:18 +02:00
</select>
</li>
<li class="flexrow item">
<h3>Prédilections</h3>
</li>
<li class="flexrow item">
<ul>
{{#each system.predilections as |predilection key|}}
<li class="prediction-item item flexrow" data-prediction-index="{{key}}">
2022-10-25 17:54:13 +02:00
<input type="text" class="padd-right color-class-common edit-predilection" value="{{predilection.name}}"
data-dtype="String" />
2022-10-23 21:26:18 +02:00
</li>
<li class="prediction-item item flexrow" data-prediction-index="{{key}}">
<textarea row="4" type="text" class="padd-right color-class-common edit-predilection-description"
2022-10-24 17:34:04 +02:00
data-dtype="String">{{predilection.description}}</textarea>
2022-10-23 21:26:18 +02:00
</li>
<li class="prediction-item item flexrow" data-prediction-index="{{key}}">
2022-10-25 17:54:13 +02:00
<label class="generic-label">Acquise ? <input class="predilection-acquise" type="checkbox" {{checked
predilection.acquise}} /></label>
2022-10-24 17:34:04 +02:00
2022-10-25 17:54:13 +02:00
<label class="generic-label">Maitrise ? <input class="predilection-maitrise" type="checkbox" {{checked
predilection.maitrise}} /></label>
<label class="generic-label">Utilisée ? <input class="predilection-used" type="checkbox" {{checked
predilection.used}} /></label>
2022-10-23 21:26:18 +02:00
<a class="item-control delete-prediction" title="Supprimer une predilection"><i
class="fas fa-trash"></i></a>
</li>
<hr>
{{/each}}
</ul>
<li class="flexrow item">
<button id="add-predilection" class="chat-card-button">Ajouter une prédilection</button>
</li>
</ul>
2022-10-22 11:09:48 +02:00
</div>
</section>
</form>