fvtt-te-deum/templates/items/item-maladie-sheet.hbs
LeRatierBretonnien edfb2105d3
All checks were successful
Release Creation / build (release) Successful in 56s
Various enhancements + fixes
2025-04-12 00:18:45 +02:00

76 lines
2.7 KiB
Handlebars

<form class="{{cssClass}}" autocomplete="off">
<header class="sheet-header">
<img class="item-sheet-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>
</div>
</header>
{{> systems/fvtt-te-deum/templates/items/partial-item-nav.hbs}}
{{!-- Sheet Body --}}
<section class="sheet-body">
<div class="tab description" data-group="primary" data-tab="description">
<div class="grace-texte">
<strong>Transmission</strong> : {{system.transmission}}
</div>
<div class="grace-texte">
<strong>Symptômes</strong> : {{system.symptomes}}
</div>
<div class="grace-texte">
<strong>Complications</strong> : {{system.complications}}
</div>
<hr>
{{editor description target="system.description" button=true owner=owner editable=editable}}
</div>
<div class="tab details" data-group="primary" data-tab="details">
<h4 class="item-name-label-long">Transmission</h4>
<textarea name="system.transmission" rows="6" data-dtype="String">
{{{system.transmission}}}
</textarea>
<h4 class="item-name-label-long">Symptômes</h4>
<textarea name="system.symptomes" rows="6" data-dtype="String">
{{{system.symptomes}}}
</textarea>
<h4 class="item-name-label-long">Complications</h4>
<textarea name="system.complications" rows="6" data-dtype="String">
{{{system.complications}}}
</textarea>
<ul>
<li class="flexrow">
<label class="item-name-label-long">Difficulté au test d'Endurance</label>
<select class="" type="text" name="system.difficulteEndurance" data-dtype="String">
{{selectOptions config.difficulte selected=system.difficulteEndurance abelAttr="label"}}
</select>
</li>
<li class="flexrow">
<label class="item-name-label-long">Virulence</label>
<select name="system.virulence">
{{selectOptions config.virulence selected=system.virulence labelAttr="label"}}
</select>
</li>
<li class="flexrow">
<label class="item-name-label-long">Fièvre</label>
<select name="system.fievre">
{{selectOptions config.fievre selected=system.fievre labelAttr="label"}}
</select>
</li>
<li class="flexrow">
<label class="item-name-label-long">Appliquée?</label>
<input type="checkbox" name="system.appliquee" {{checked system.appliquee}} />
</li>
</ul>
</div>
</div>
</section>
</form>