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

107 lines
4.5 KiB
HTML
Raw 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}}" />
<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">
2021-04-12 00:16:23 +02:00
<span for="xp"><a class="consommer-potion chat-card-button" data-actor-id="{{actorId}}">Consommer cette potion et appliquer ses effets</a></span>
2021-04-04 18:42:09 +02:00
</div>
{{/if}}
</div>
</header>
<nav class="sheet-tabs tabs" data-group="primary">
<a class="item" data-tab="informations">Informations</a>
{{>"systems/foundryvtt-reve-de-dragon/templates/item/partial-tab-environnement.html"}}
</nav>
<section class="sheet-body">
<div class="tab items flexcol" data-group="primary" data-tab="informations">
<div class="form-group">
<label>Fréquence</label>
<select name="system.rarete" class="rarete" data-dtype="String">
{{#select system.rarete}}
<option value=""></option>
{{>"systems/foundryvtt-reve-de-dragon/templates/enum-rarete.html"}}
{{/select}}
</select>
</div>
<div class="form-group">
<label>Catégorie</label>
<select name="system.categorie" class="categoriepotion" data-dtype="String">
{{#select system.categorie}}
{{>"systems/foundryvtt-reve-de-dragon/templates/enum-categorie-potion.html"}}
{{/select}}
</select>
</div>
{{#if isSoins}}
<div class="form-group">
<label>Herbe</label>
<select name="system.herbe" class="herbe" data-dtype="String">
{{selectOptions herbesSoins selected=system.herbe localize=false}}
</select>
</div>
<div class="form-group">
<label>Nombre de brins</label>
<input class="attribute-value" type="text" name="system.herbebrins" value="{{system.herbebrins}}" data-dtype="Number" />
</div>
<div class="form-group">
<label>Bonus</label>
<input class="attribute-value" type="text" name="system.herbebonus" value="{{system.herbebonus}}" data-dtype="Number" />
</div>
{{/if}}
{{#if isRepos}}
<div class="form-group">
<label>Herbe</label>
<select name="system.herbe" class="herbe" data-dtype="String">
{{selectOptions herbesRepos selected=system.herbe localize=false}}
</select>
</div>
<div class="form-group">
<label>Nombre de brins</label>
<input class="attribute-value" type="text" name="system.herbebrins" value="{{system.herbebrins}}" data-dtype="Number" />
</div>
<div class="form-group">
<label>Bonus</label>
<input class="attribute-value" type="text" name="system.herbebonus" value="{{system.herbebonus}}" data-dtype="Number" />
</div>
<div class="form-group">
<label>Repos Alchimique ?</label>
<input class="attribute-value" type="checkbox" name="system.reposalchimique" {{#if system.reposalchimique}}checked{{/if}}/>
</div>
{{/if}}
{{#if system.magique}}
<div class="form-group">
<label>Points de rêve</label>
<input class="attribute-value" type="text" name="system.pr" value="{{system.pr}}" data-dtype="Number" />
</div>
<div class="form-group">
<label for="xp">Permanente ? </label>
<input class="attribute-value" type="checkbox" name="system.prpermanent" {{#if system.prpermanent}}checked{{/if}}/>
</div>
{{#if isSoins}}
<div class="form-group">
<label for="xp">Points de guérison </label>
<label for="xp">{{pointsGuerison}}</label>
</div>
{{/if}}
<div class="form-group">
<label>Date de l'Enchantement : Jour/Mois (date actuelle : {{dateActuelle}})</label>
</div>
<div class="form-group">
<input type="number" name="enchantement.jour" class="date-enchantement" value="{{enchantement.jour}}" data-dtype="Number" min="1" max="28"/>
<select name="enchantement.mois" class="date-enchantement" data-dtype="String">
{{#select enchantement.mois}}
{{>"systems/foundryvtt-reve-de-dragon/templates/enum-heures.html"}}
{{/select}}
</select>
</div>
{{/if}}
{{>"systems/foundryvtt-reve-de-dragon/templates/item/partial-inventaire.html"}}
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}}
</div>
{{>"systems/foundryvtt-reve-de-dragon/templates/item/partial-environnement.html"}}
</section>
</form>