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

56 lines
2.4 KiB
HTML
Raw Normal View History

2021-05-10 19:17:31 +02:00
<form class="{{cssClass}}" autocomplete="off">
<header class="sheet-header">
<img class="profile-img" src="{{img}}" data-edit="img" title="{{name}}" />
<div class="header-fields">
<h1 class="charname"><input name="name" type="text" value="{{name}}" placeholder="Name" /></h1>
2021-05-11 21:21:33 +02:00
<a class="signe-aleatoire chat-card-button">Signe aléatoire</a>
2021-05-10 19:17:31 +02:00
</div>
</header>
2021-05-11 21:21:33 +02:00
2021-05-10 19:17:31 +02:00
{{!-- Sheet Body --}}
<section class="sheet-body">
<div class="form-group">
<label for="data.difficulte">Difficulte</label>
2021-05-11 00:52:25 +02:00
<input class="attribute-value" type="number" name="data.difficulte" value="{{data.difficulte}}"
2021-05-10 19:17:31 +02:00
data-dtype="Number" />
</div>
<div class="form-group">
<label for="data.valeur.norm">Expérience en sorts</label>
<div class="flexrow">
2021-05-11 21:21:33 +02:00
<input class="signe-xp-sort" type="number" name="data.valeur.norm" data-typereussite="norm"
2021-05-11 00:52:25 +02:00
value="{{data.valeur.norm}}" min="1" max="100" data-dtype="Number" />
2021-05-10 19:17:31 +02:00
<span>Sign.</span>
2021-05-11 21:21:33 +02:00
<input class="signe-xp-sort" type="number" name="data.valeur.sign" data-typereussite="sign"
2021-05-11 00:52:25 +02:00
value="{{data.valeur.sign}}" min="1" max="100" data-dtype="Number" />
2021-05-10 19:17:31 +02:00
<span>Part.</span>
2021-05-11 21:21:33 +02:00
<input class="signe-xp-sort" type="number" name="data.valeur.part" data-typereussite="part"
2021-05-11 00:52:25 +02:00
value="{{data.valeur.part}}" min="1" max="100" data-dtype="Number" />
2021-05-10 19:17:31 +02:00
</div>
</div>
2021-05-11 00:52:25 +02:00
<div class="form-group">
<label for="data.ephemere">Ephémère</label>
<input class="attribute-value" type="checkbox" name="data.ephemere" {{#if data.ephemere}}checked{{/if}} />
</div>
{{#if data.ephemere}}
<div class="form-group">
<label for="data.duree">Durée</label>
<input class="attribute-value" type="text" name="data.duree" value="{{data.duree}}" data-dtype="String" />
</div>
{{/if}}
2021-05-10 19:17:31 +02:00
<div class="form-group">
<label for="tmrs">Terres médianes</label>
<select class="select-tmr attribute-value" name="tmrs" id="tmrs" size={{tmrs.length}} multiple />
{{#each tmrs as |tmr key|}}
<option class="option-tmr" value="{{tmr.name}}" {{#if tmr.selected}}selected{{/if}}>{{tmr.name}}</option>
{{/each}}
</select>
</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>