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

53 lines
2.3 KiB
HTML
Raw Permalink 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>
2022-06-12 09:46:58 +02:00
<input class="attribute-value" type="number" name="system.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">
2022-06-12 09:46:58 +02:00
<input class="signe-xp-sort" type="number" name="system.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>
2022-06-12 09:46:58 +02:00
<input class="signe-xp-sort" type="number" name="system.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>
2022-06-12 09:46:58 +02:00
<input class="signe-xp-sort" type="number" name="system.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>
2022-06-12 09:46:58 +02:00
<input class="attribute-value" type="checkbox" name="system.ephemere" {{#if data.ephemere}}checked{{/if}} />
2021-05-11 00:52:25 +02:00
</div>
{{#if data.ephemere}}
<div class="form-group">
<label for="data.duree">Durée</label>
2022-06-12 09:46:58 +02:00
<input class="attribute-value" type="text" name="system.duree" value="{{data.duree}}" data-dtype="String" />
2021-05-11 00:52:25 +02:00
</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>
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}}
</section>
2021-05-10 19:17:31 +02:00
</form>