a338bb144e
retravail sur les competences; - standardiser les noms de fichiers de templates - méthodes classify pour construire une multimap par type - méthodes pour charger les entrées du compendium - méthodes spécifiques au compétences déplacées
84 lines
3.9 KiB
HTML
84 lines
3.9 KiB
HTML
<form class="{{cssClass}}" autocomplete="off">
|
|
<header class="sheet-header">
|
|
<img class="profile-img" src="{{item.img}}" data-edit="img" title="{{item.name}}"/>
|
|
<div class="header-fields">
|
|
<h1 class="charname"><input name="name" type="text" value="{{item.name}}" placeholder="Name"/></h1>
|
|
</div>
|
|
</header>
|
|
|
|
{{!-- Sheet Body --}}
|
|
<section class="sheet-body">
|
|
<div class="form-group">
|
|
<label for="categorie">Compétence associée</label>
|
|
<select name="data.competence" id="competence" data-dtype="String">
|
|
{{#select item.data.competence}}
|
|
{{>"systems/foundryvtt-reve-de-dragon/templates/enum-competence.html"}}
|
|
{{/select}}
|
|
</select>
|
|
</div>
|
|
<div class="form-group">
|
|
<label for="niveau">Dommmages </label>
|
|
<input class="attribute-value" type="text" name="data.dommages" value="{{data.dommages}}" data-dtype="String"/>
|
|
</div>
|
|
<div class="form-group">
|
|
<label for="xp">Résistance </label>
|
|
<input class="attribute-value" type="text" name="data.resistance" value="{{data.resistance}}" data-dtype="Number"/>
|
|
</div>
|
|
<div class="form-group">
|
|
<label>Catégorie parade </label>
|
|
<select name="data.categorie_parade" id="categorie_parade" data-dtype="String">
|
|
{{#select data.categorie_parade}}
|
|
{{>"systems/foundryvtt-reve-de-dragon/templates/enum-categorie-parade.html"}}
|
|
{{/select}}
|
|
</select>
|
|
</div>
|
|
<div class="form-group">
|
|
<label for="xp">Encombrement </label>
|
|
<input class="attribute-value" type="text" name="data.encombrement" value="{{data.encombrement}}" data-dtype="Number"/>
|
|
</div>
|
|
<div class="form-group">
|
|
<label for="xp">Force min. </label>
|
|
<input class="attribute-value" type="text" name="data.force" value="{{data.force}}" data-dtype="String"/>
|
|
</div>
|
|
<div class="form-group">
|
|
<label for="xp">Arme rapide ? </label>
|
|
<input class="attribute-value" type="checkbox" name="data.rapide" {{#if data.rapide}}checked{{/if}}/>
|
|
</div>
|
|
<div class="form-group">
|
|
<label for="xp">A Une main ? </label>
|
|
<input class="attribute-value" type="checkbox" name="data.unemain" {{#if data.unemain}}checked{{/if}}/>
|
|
</div>
|
|
<div class="form-group">
|
|
<label for="xp">A Deux mains ? </label>
|
|
<input class="attribute-value" type="checkbox" name="data.deuxmains" {{#if data.deuxmains}}checked{{/if}}/>
|
|
</div>
|
|
<div class="form-group">
|
|
<label for="xp">Portée courte </label>
|
|
<input class="attribute-value" type="text" name="data.portee_courte" value="{{data.portee_courte}}" data-dtype="Number"/>
|
|
</div>
|
|
<div class="form-group">
|
|
<label for="xp">Portée moyenne </label>
|
|
<input class="attribute-value" type="text" name="data.portee_moyenne" value="{{data.portee_moyenne}}" data-dtype="Number"/>
|
|
</div>
|
|
<div class="form-group">
|
|
<label for="xp">Portée extrême </label>
|
|
<input class="attribute-value" type="text" name="data.portee_extreme" value="{{data.portee_extreme}}" data-dtype="Number"/>
|
|
</div>
|
|
<div class="form-group">
|
|
<label for="penetration">Pénétration </label>
|
|
<input class="attribute-value" type="text" name="data.penetration" value="{{data.penetration}}" data-dtype="Number"/>
|
|
</div>
|
|
<div class="form-group">
|
|
<label for="xp">Prix (sols) </label>
|
|
<input class="attribute-value" type="text" name="data.cout" value="{{data.cout}}" data-dtype="Number"/>
|
|
</div>
|
|
<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>
|
|
</div>
|
|
</section>
|
|
|
|
</form>
|