2020-06-29 23:29:10 +02:00
|
|
|
<form class="{{cssClass}}" autocomplete="off">
|
|
|
|
<header class="sheet-header">
|
2021-03-25 09:28:36 +01:00
|
|
|
<img class="profile-img" src="{{img}}" data-edit="img" title="{{name}}"/>
|
2020-06-29 23:29:10 +02:00
|
|
|
<div class="header-fields">
|
2021-03-25 09:28:36 +01:00
|
|
|
<h1 class="charname"><input name="name" type="text" value="{{name}}" placeholder="Name"/></h1>
|
2020-06-29 23:29:10 +02:00
|
|
|
</div>
|
|
|
|
</header>
|
|
|
|
|
|
|
|
{{!-- Sheet Body --}}
|
|
|
|
<section class="sheet-body">
|
|
|
|
<div class="form-group">
|
2020-12-15 08:37:52 +01:00
|
|
|
<label for="xp">Caractéristique</label>
|
|
|
|
<select name="data.carac" id="caracselect" data-dtype="String">
|
2022-06-12 08:17:59 +02:00
|
|
|
{{#select system.carac}}
|
2020-12-15 08:37:52 +01:00
|
|
|
{{#each caracList as |carac key|}}
|
|
|
|
<option value="{{key}}">{{carac.label}}</option>
|
|
|
|
{{/each}}
|
|
|
|
{{/select}}
|
|
|
|
</select>
|
2020-06-29 23:29:10 +02:00
|
|
|
</div>
|
2020-12-15 08:37:52 +01:00
|
|
|
<div class="form-group">
|
|
|
|
<label for="xp">Compétence</label>
|
|
|
|
<select name="data.competence" id="competenceselect" data-dtype="String">
|
2022-06-12 08:17:59 +02:00
|
|
|
{{#select system.competence}}
|
2021-01-08 22:23:50 +01:00
|
|
|
{{#each competences as |competence key|}}
|
2020-12-15 08:37:52 +01:00
|
|
|
<option value="{{competence.name}}">{{competence.name}}</option>
|
|
|
|
{{/each}}
|
|
|
|
{{/select}}
|
|
|
|
</select>
|
|
|
|
</div>
|
2020-06-29 23:29:10 +02:00
|
|
|
<div class="form-group">
|
|
|
|
<label for="xp">Difficulté</label>
|
2022-06-12 08:17:59 +02:00
|
|
|
<input class="attribute-value" type="text" name="system.difficulte" value="{{data.difficulte}}" data-dtype="Number"/>
|
2020-06-29 23:29:10 +02:00
|
|
|
</div>
|
2020-12-15 08:37:52 +01:00
|
|
|
<div class="form-group">
|
|
|
|
<label for="xp">Périodicité</label>
|
2022-06-12 08:17:59 +02:00
|
|
|
<input class="attribute-value" type="text" name="system.periodicite" value="{{data.periodicite}}" data-dtype="String"/>
|
2020-12-15 08:37:52 +01:00
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="xp">Fatigue</label>
|
2022-06-12 08:17:59 +02:00
|
|
|
<input class="attribute-value" type="text" name="system.fatigue" value="{{data.fatigue}}" data-dtype="Number"/>
|
2020-12-15 08:37:52 +01:00
|
|
|
</div>
|
2022-01-23 16:00:01 +01:00
|
|
|
{{#if isGM}}
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="xp">Cacher les Points de Tâches nécessaires au joueur</label>
|
2022-06-12 08:17:59 +02:00
|
|
|
<input class="attribute-value" type="checkbox" name="system.cacher_points_de_tache" value="{{data.cacher_points_de_tache}}" {{checked data.cacher_points_de_tache}}/>
|
2022-01-23 16:00:01 +01:00
|
|
|
</div>
|
2020-06-29 23:29:10 +02:00
|
|
|
<div class="form-group">
|
|
|
|
<label for="xp">Points de tâches nécessaires</label>
|
2022-06-12 08:17:59 +02:00
|
|
|
<input class="attribute-value" type="text" name="system.points_de_tache" value="{{data.points_de_tache}}" data-dtype="Number"/>
|
2020-06-29 23:29:10 +02:00
|
|
|
</div>
|
2022-01-23 16:00:01 +01:00
|
|
|
{{else}}
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="xp">Points de tâches nécessaires</label>
|
|
|
|
{{#if data.cacher_points_de_tache}}
|
|
|
|
<input class="attribute-value" type="text" value="?????" data-dtype="Number" disabled/>
|
|
|
|
{{else}}
|
2022-06-12 08:17:59 +02:00
|
|
|
<input class="attribute-value" type="text" name="system.points_de_tache" value="{{data.points_de_tache}}" data-dtype="Number"/>
|
2022-01-23 16:00:01 +01:00
|
|
|
{{/if}}
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
2021-10-30 01:36:45 +02:00
|
|
|
<hr>
|
2020-06-29 23:29:10 +02:00
|
|
|
<div class="form-group">
|
2020-12-15 08:37:52 +01:00
|
|
|
<label for="xp">Points de tâches obtenus</label>
|
2022-06-12 08:17:59 +02:00
|
|
|
<input class="attribute-value" type="text" name="system.points_de_tache_courant" value="{{data.points_de_tache_courant}}" data-dtype="Number"/>
|
2020-06-29 23:29:10 +02:00
|
|
|
</div>
|
2021-10-30 01:36:45 +02:00
|
|
|
<div class="form-group">
|
2021-10-30 09:16:28 +02:00
|
|
|
<label for="xp">Nombre de Succès</label>
|
2022-06-12 08:17:59 +02:00
|
|
|
<input class="attribute-value" type="text" name="system.nb_jet_succes" value="{{data.nb_jet_succes}}" data-dtype="Number" {{#if isGM}}{{else}}disabled{{/if}}/>
|
2021-10-30 09:16:28 +02:00
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="xp">Nombre d'Echecs</label>
|
2022-06-12 08:17:59 +02:00
|
|
|
<input class="attribute-value" type="text" name="system.nb_jet_echec" value="{{data.nb_jet_echec}}" data-dtype="Number" {{#if isGM}}{{else}}disabled{{/if}}/>
|
2021-10-30 01:36:45 +02:00
|
|
|
</div>
|
2021-06-29 16:03:10 +02:00
|
|
|
|
|
|
|
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}}
|
|
|
|
|
|
|
|
</section>
|
2020-06-29 23:29:10 +02:00
|
|
|
|
|
|
|
</form>
|