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">
|
|
|
|
<label for="xp">Auteur</label>
|
2020-07-05 21:45:25 +02:00
|
|
|
<input class="attribute-value" type="text" name="data.auteur" value="{{data.auteur}}" data-dtype="String"/>
|
2020-06-29 23:29:10 +02:00
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="xp">Compétence</label>
|
2020-12-15 21:28:55 +01:00
|
|
|
<select name="data.competence" id="competenceselect" data-dtype="String">
|
2021-03-25 18:04:57 +01:00
|
|
|
{{#select data.competence}}
|
2021-01-08 22:23:50 +01:00
|
|
|
{{#each competences as |competence key|}}
|
2020-12-15 21:28:55 +01:00
|
|
|
<option value="{{competence.name}}">{{competence.name}}</option>
|
|
|
|
{{/each}}
|
|
|
|
{{/select}}
|
|
|
|
</select>
|
2020-06-29 23:29:10 +02:00
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="xp">Difficulté</label>
|
|
|
|
<input class="attribute-value" type="text" name="data.difficulte" value="{{data.difficulte}}" data-dtype="Number"/>
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="xp">Points de tâches</label>
|
|
|
|
<input class="attribute-value" type="text" name="data.points_de_tache" value="{{data.points_de_tache}}" data-dtype="Number"/>
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="xp">Expérience</label>
|
2020-07-05 22:35:18 +02:00
|
|
|
<input class="attribute-value" type="text" name="data.xp" value="{{data.xp}}" data-dtype="String"/>
|
2020-06-29 23:29:10 +02:00
|
|
|
</div>
|
2021-01-06 12:10:52 +01:00
|
|
|
<div class="form-group">
|
|
|
|
<label for="xp">Niveau minimum</label>
|
|
|
|
<input class="attribute-value" type="text" name="data.niveau_minimum" value="{{data.niveau_minimum}}" data-dtype="Number"/>
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="xp">Niveau maximum</label>
|
|
|
|
<input class="attribute-value" type="text" name="data.niveau_maximum" value="{{data.niveau_maximum}}" data-dtype="Number"/>
|
|
|
|
</div>
|
2020-06-29 23:29:10 +02:00
|
|
|
<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>
|
2020-11-18 08:13:48 +01:00
|
|
|
<div class="form-group">
|
|
|
|
<label>Quantité </label>
|
|
|
|
<input class="attribute-value" type="text" name="data.quantite" value="{{data.quantite}}" data-dtype="Number" />
|
|
|
|
</div>
|
2020-06-29 23:29:10 +02:00
|
|
|
<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>
|
2020-12-15 21:28:55 +01:00
|
|
|
{{#if isOwned}}
|
|
|
|
<div class="form-group">
|
2021-03-29 18:08:18 +02:00
|
|
|
<span for="xp"><a class="creer-tache-livre" data-actor-id="{{actorId}}">Créer une tâche de lecture</a></span>
|
2020-12-15 21:28:55 +01:00
|
|
|
</div>
|
|
|
|
{{/if}}
|
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-06-29 23:29:10 +02:00
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
</form>
|