2020-05-22 19:28:01 +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-05-22 19:28:01 +02:00
|
|
|
<div class="header-fields">
|
2020-12-07 09:29:25 +01:00
|
|
|
<h1 class="charname">
|
|
|
|
{{#if isGM}}
|
2021-03-25 09:28:36 +01:00
|
|
|
<input name="name" type="text" value="{{name}}" placeholder="Name"/>
|
2020-12-07 09:29:25 +01:00
|
|
|
{{else}}
|
|
|
|
{{item.name}}
|
|
|
|
{{/if}}
|
|
|
|
</h1>
|
2020-05-22 19:28:01 +02:00
|
|
|
</div>
|
|
|
|
</header>
|
|
|
|
|
|
|
|
{{!-- Sheet Body --}}
|
|
|
|
<section class="sheet-body">
|
|
|
|
<div class="form-group">
|
2021-03-16 22:34:03 +01:00
|
|
|
<label>Catégorie </label>
|
2020-05-22 19:28:01 +02:00
|
|
|
<select name="data.categorie" id="categorie" data-dtype="String">
|
2021-03-25 17:51:03 +01:00
|
|
|
{{#select data.categorie}}
|
2021-01-08 22:23:50 +01:00
|
|
|
{{>"systems/foundryvtt-reve-de-dragon/templates/enum-categorie-competence.html"}}
|
|
|
|
{{/select}}
|
2020-05-22 19:28:01 +02:00
|
|
|
</select>
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="niveau">Niveau </label>
|
|
|
|
<input class="attribute-value" type="text" name="data.niveau" value="{{data.niveau}}" data-dtype="Number"/>
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="xp">XP </label>
|
2021-02-06 23:51:04 +01:00
|
|
|
<input class="attribute-value" id="sheet-competence-xp" type="text" name="data.xp" value="{{data.xp}}" data-dtype="Number"/>
|
2020-05-22 19:28:01 +02:00
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="base">Niveau de base </label>
|
|
|
|
<select name="data.base" id="base" data-dtype="Number">
|
2021-03-25 17:51:03 +01:00
|
|
|
{{#select data.base}}
|
2020-05-22 19:28:01 +02:00
|
|
|
{{>"systems/foundryvtt-reve-de-dragon/templates/competence-base.html"}}
|
|
|
|
{{/select}}
|
|
|
|
</select>
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
2020-06-10 08:23:58 +02:00
|
|
|
<label for="defaut_carac">Caractéristique par défaut </label>
|
|
|
|
<select name="data.defaut_carac" id="defaut_carac" data-dtype="String">
|
2021-03-25 17:51:03 +01:00
|
|
|
{{#select data.defaut_carac}}
|
2020-06-10 08:23:58 +02:00
|
|
|
{{>"systems/foundryvtt-reve-de-dragon/templates/competence-carac-defaut.html"}}
|
|
|
|
{{/select}}
|
2020-05-22 19:28:01 +02:00
|
|
|
</select>
|
|
|
|
</div>
|
2021-01-04 14:06:35 +01:00
|
|
|
<div class="form-group">
|
|
|
|
<label for="default_diffLibre">Difficulté libre par défaut</label>
|
|
|
|
<input class="attribute-value" type="text" name="data.default_diffLibre" value="{{data.default_diffLibre}}" data-dtype="Number"/>
|
|
|
|
</div>
|
2020-12-04 22:27:11 +01:00
|
|
|
{{#if (eq data.categorie 'draconic')}}
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="xp">XP Sort </label>
|
|
|
|
<input class="attribute-value" type="text" name="data.xp_sort" value="{{data.xp_sort}}" data-dtype="Number"/>
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
2020-12-02 18:14:59 +01:00
|
|
|
<div class="form-group">
|
|
|
|
<label for="niveau_archetype">Niveau d'Archetype</label>
|
|
|
|
<input class="attribute-value" type="text" name="data.niveau_archetype" value="{{data.niveau_archetype}}" data-dtype="Number"/>
|
|
|
|
</div>
|
2020-11-07 23:31:18 +01:00
|
|
|
<div class="flexcol">
|
|
|
|
<span><label>Description : </label></span>
|
|
|
|
<div class="form-group editor">
|
|
|
|
{{editor content=data.description target="data.description" button=true owner=owner editable=editable}}
|
|
|
|
</div>
|
2020-05-22 19:28:01 +02:00
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
</form>
|