foundryvtt-reve-de-dragon/templates/item-tache-sheet.html

72 lines
3.4 KiB
HTML
Raw Permalink Normal View History

2020-06-29 23:29:10 +02:00
<form class="{{cssClass}}" autocomplete="off">
2022-09-16 02:20:46 +02:00
{{>"systems/foundryvtt-reve-de-dragon/templates/header-item.html"}}
{{!-- Sheet Body --}}
<section class="sheet-body">
<div class="form-group">
2023-11-10 22:38:33 +01:00
<label for="system.carac">Caractéristique</label>
<select name="system.carac" data-dtype="String">
2022-09-16 02:20:46 +02:00
{{#select system.carac}}
{{#each caracList as |carac key|}}
<option value="{{key}}">{{carac.label}}</option>
{{/each}}
{{/select}}
</select>
</div>
2022-09-16 02:20:46 +02:00
<div class="form-group">
2023-11-10 22:38:33 +01:00
<label for="system.competence">Compétence</label>
<select name="system.competence" data-dtype="String">
2022-09-16 02:20:46 +02:00
{{#select system.competence}}
2022-10-31 15:19:08 +01:00
<option value="">Sans compétence</option>
{{>"systems/foundryvtt-reve-de-dragon/templates/enum-competence.html"}}
2022-09-16 02:20:46 +02:00
{{/select}}
</select>
</div>
<div class="form-group">
2023-11-10 22:38:33 +01:00
<label for="system.difficulte">Difficulté</label>
2022-09-16 02:20:46 +02:00
<input class="attribute-value" type="text" name="system.difficulte" value="{{system.difficulte}}" data-dtype="Number"/>
</div>
<div class="form-group">
2023-11-10 22:38:33 +01:00
<label for="system.periodicite">Périodicité</label>
2022-09-16 02:20:46 +02:00
<input class="attribute-value" type="text" name="system.periodicite" value="{{system.periodicite}}" data-dtype="String"/>
</div>
<div class="form-group">
2023-11-10 22:38:33 +01:00
<label for="system.fatigue">Fatigue</label>
2022-09-16 02:20:46 +02:00
<input class="attribute-value" type="text" name="system.fatigue" value="{{system.fatigue}}" data-dtype="Number"/>
</div>
{{#if options.isGM}}
2022-09-16 02:20:46 +02:00
<div class="form-group">
2023-11-10 22:38:33 +01:00
<label for="system.cacher_points_de_tache">Cacher les Points de Tâches nécessaires au joueur</label>
<input class="attribute-value" type="checkbox" name="system.cacher_points_de_tache" {{checked system.cacher_points_de_tache}}/>
2022-09-16 02:20:46 +02:00
</div>
<div class="form-group">
2023-11-10 22:38:33 +01:00
<label for="system.points_de_tache">Points de tâches nécessaires (MJ)</label>
2022-09-16 02:20:46 +02:00
<input class="attribute-value" type="text" name="system.points_de_tache" value="{{system.points_de_tache}}" data-dtype="Number"/>
</div>
{{else}}
2023-11-10 22:38:33 +01:00
<div class="form-group">
{{#if system.cacher_points_de_tache}}
<label for="system.points_de_tache">Points de tâches nécessaires inconnus</label>
{{else}}
<label for="system.points_de_tache">Points de tâches nécessaires</label>
<input class="attribute-value" type="text" name="system.points_de_tache" value="{{system.points_de_tache}}" data-dtype="Number"/>
{{/if}}
</div>
2022-09-16 02:20:46 +02:00
{{/if}}
<hr>
<div class="form-group">
2023-11-10 22:38:33 +01:00
<label for="system.points_de_tache_courant">Points de tâches obtenus</label>
2022-09-16 02:20:46 +02:00
<input class="attribute-value" type="text" name="system.points_de_tache_courant" value="{{system.points_de_tache_courant}}" data-dtype="Number"/>
</div>
<div class="form-group">
2023-11-10 22:38:33 +01:00
<label for="system.nb_jet_succes">Nombre de Succès</label>
<input class="attribute-value" type="text" name="system.nb_jet_succes" value="{{system.nb_jet_succes}}" data-dtype="Number" {{#if options.isGM}}{{else}}disabled{{/if}}/>
2022-09-16 02:20:46 +02:00
</div>
<div class="form-group">
2023-11-10 22:38:33 +01:00
<label for="system.nb_jet_echec">Nombre d'Echecs</label>
<input class="attribute-value" type="text" name="system.nb_jet_echec" value="{{system.nb_jet_echec}}" data-dtype="Number" {{#if options.isGM}}{{else}}disabled{{/if}}/>
2022-09-16 02:20:46 +02:00
</div>
2022-09-16 02:20:46 +02:00
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}}
</section>
2020-06-29 23:29:10 +02:00
</form>