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

82 lines
3.9 KiB
HTML
Raw Normal View History

2020-06-26 15:47:44 +02:00
<form class="{{cssClass}}" autocomplete="off">
2022-09-16 02:20:46 +02:00
{{>"systems/foundryvtt-reve-de-dragon/templates/header-item.html"}}
{{!-- Sheet Body --}}
<section class="sheet-body">
<div class="form-group">
<label for="system.draconic">Draconic</label>
<select name="system.draconic" data-dtype="String">
2022-09-16 02:20:46 +02:00
{{#select system.draconic}}
{{>"systems/foundryvtt-reve-de-dragon/templates/enum-draconic.html"}}
2022-09-16 02:20:46 +02:00
{{/select}}
</select>
</div>
<div class="form-group">
2022-09-17 16:07:38 +02:00
<label for="system.caseTMR">Case TMR</label>
<select name="system.caseTMR" data-dtype="String">
2022-09-16 02:20:46 +02:00
{{#select system.caseTMR}}
{{>"systems/foundryvtt-reve-de-dragon/templates/enum-tmr-type.html"}}
2022-09-16 02:20:46 +02:00
<option value="special">Case spéciale TMR (saisie ci-dessous)</option>
{{/select}}
</select>
</div>
<div class="form-group">
2022-09-17 16:07:38 +02:00
<label for="system.caseTMRspeciale">Case TMR Spéciale</label>
2022-09-16 02:20:46 +02:00
<input class="attribute-value" type="text" name="system.caseTMRspeciale" value="{{system.caseTMRspeciale}}" data-dtype="String"/>
</div>
<div class="form-group">
2022-09-17 16:07:38 +02:00
<label for="system.difficulte">Difficulté</label>
2022-09-16 02:20:46 +02:00
<input class="attribute-value" type="text" name="system.difficulte" value="{{system.difficulte}}" data-dtype="String"/>
</div>
<div class="form-group">
2022-09-17 16:07:38 +02:00
<label for="system.ptreve">Coût en Rêve</label>
2022-09-16 02:20:46 +02:00
<input class="attribute-value" type="text" name="system.ptreve" value="{{system.ptreve}}" data-dtype="String"/>
</div>
<div class="form-group">
2022-09-17 16:07:38 +02:00
<label for="system.coutseuil">Coût en Seuil</label>
2022-09-16 02:20:46 +02:00
<input class="attribute-value" type="text" name="system.coutseuil" value="{{system.coutseuil}}" data-dtype="Number"/>
</div>
<div class="form-group">
2022-09-17 16:07:38 +02:00
<label for="system.isrituel">Rituel</label>
2024-11-28 00:38:34 +01:00
<input class="attribute-value" type="checkbox" name="system.isrituel" {{#if system.isrituel}}checked{{/if}} />
2022-09-16 02:20:46 +02:00
</div>
<div class="form-group">
2022-09-17 16:07:38 +02:00
<label for="system.duree">Durée</label>
2022-09-16 02:20:46 +02:00
<input class="attribute-value" type="text" name="system.duree" value="{{system.duree}}" data-dtype="String"/>
</div>
<div class="form-group">
2022-09-17 16:07:38 +02:00
<label for="system.portee">Portée</label>
2022-09-16 02:20:46 +02:00
<input class="attribute-value" type="text" name="system.portee" value="{{system.portee}}" data-dtype="String"/>
</div>
<div class="form-group">
2022-09-17 16:07:38 +02:00
<label for="system.cible">Cible</label>
2022-09-16 02:20:46 +02:00
<input class="attribute-value" type="text" name="system.cible" value="{{system.cible}}" data-dtype="String"/>
</div>
<div class="form-group">
2022-09-17 16:07:38 +02:00
<label for="system.JR">Jet de Resistance</label>
2022-09-16 02:20:46 +02:00
<input class="attribute-value" type="text" name="system.JR" value="{{system.JR}}" data-dtype="String"/>
</div>
<div class="form-group">
2022-09-17 16:07:38 +02:00
<label for="system.xp">XP</label>
2022-09-16 02:20:46 +02:00
<input class="attribute-value" type="text" name="system.xp" value="{{system.xp}}" data-dtype="Number"/>
</div>
2024-11-28 00:38:34 +01:00
<hr>
2022-09-16 02:20:46 +02:00
<div class="form-group">
2024-11-28 00:38:34 +01:00
<label class="flex-grow-2" for="caseTmrAdd">Nouveau bonus de case en</label>
<input class="flex-grow-0-5 attribute-value" type="text" name="caseTmrAdd" value="" maxlength="7" data-dtype="String"/>
</div>
{{#each bonusCaseList as |caseTmr key|}}
<div class="form-group">
<label style="flex-grow: 5;">Bonus en {{caseTmr-label caseTmr.case}} ({{caseTmr.case}})</label>
<input type="text" name="caseTmrCoord" value="{{caseTmr.case}}" data-dtype="String" hidden/>
<input class="flex-grow-0-5 flex-group-right" type="number" name="caseTmrBonus" value="{{caseTmr.bonus}}" data-dtype="Number"/>
<a class="flex-shrink delete-bonus-case"
data-deleteCoord="{{caseTmr.case}}"
data-tooltip="Supprimer le bonus de case"><i class="fas fa-trash"></i></a>
2022-09-16 02:20:46 +02:00
</div>
{{/each}}
2024-11-28 00:38:34 +01:00
<hr>
2022-09-16 02:20:46 +02:00
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}}
</section>
2020-06-26 15:47:44 +02:00
</form>