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

68 lines
3.0 KiB
HTML
Raw Permalink Normal View History

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>
2021-04-04 18:42:09 +02:00
{{#if isOwned}}
<div class="form-group">
<span for="xp"><a class="creer-tache-livre chat-card-button" data-actor-id="{{actorId}}">Créer une tâche de lecture</a></span>
</div>
{{/if}}
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>
2022-09-06 23:52:21 +02:00
<input class="attribute-value" type="text" name="system.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>
2022-09-06 23:52:21 +02:00
<select name="system.competence" id="competenceselect" data-dtype="String">
{{#select data.competence}}
{{#each competences as |competence key|}}
<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>
2022-09-06 23:52:21 +02:00
<input class="attribute-value" type="number" name="system.difficulte" value="{{data.difficulte}}" data-dtype="Number"/>
2020-06-29 23:29:10 +02:00
</div>
<div class="form-group">
<label for="xp">Points de tâches</label>
2022-09-06 23:52:21 +02:00
<input class="attribute-value" type="number" name="system.points_de_tache" value="{{data.points_de_tache}}" data-dtype="Number"/>
2020-06-29 23:29:10 +02:00
</div>
<div class="form-group">
<label for="xp">Expérience</label>
2022-09-06 23:52:21 +02:00
<input class="attribute-value" type="number" name="system.xp" value="{{data.xp}}" data-dtype="Number"/>
2020-06-29 23:29:10 +02:00
</div>
<div class="form-group">
<label for="xp">Niveau minimum</label>
2022-09-06 23:52:21 +02:00
<input class="attribute-value" type="text" name="system.niveau_minimum" value="{{data.niveau_minimum}}" data-dtype="Number"/>
</div>
<div class="form-group">
<label for="xp">Niveau maximum</label>
2022-09-06 23:52:21 +02:00
<input class="attribute-value" type="text" name="system.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>
2022-09-06 23:52:21 +02:00
<input class="attribute-value" type="number" name="system.encombrement" value="{{data.encombrement}}" data-dtype="Number"/>
2020-06-29 23:29:10 +02:00
</div>
2020-11-18 08:13:48 +01:00
<div class="form-group">
<label>Quantité </label>
2022-09-06 23:52:21 +02:00
<input class="attribute-value" type="number" name="system.quantite" value="{{data.quantite}}" data-dtype="Number" />
2020-11-18 08:13:48 +01:00
</div>
<div class="form-group item-cout">
2020-06-29 23:29:10 +02:00
<label for="xp">Prix (sols) </label>
2022-09-06 23:52:21 +02:00
<input class="attribute-value" type="number" name="system.cout" value="{{data.cout}}" data-dtype="Number"/>
2020-06-29 23:29:10 +02:00
</div>
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}}
2020-06-29 23:29:10 +02:00
</section>
</form>