fvtt-yggdrasill/templates/item-competence-sheet.html

42 lines
2.2 KiB
HTML
Raw Permalink Normal View History

2022-01-09 09:33:47 +01: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>
</div>
</header>
{{!-- Sheet Body --}}
<section class="sheet-body">
<div class="tab" data-group="primary">
<ul>
<li class="flexrow"><label class="generic-label">Catégorie</label>
2022-09-21 11:42:09 +02:00
<select class="competence-base flexrow" type="text" name="system.categorie" value="{{data.categorie}}" data-dtype="String">
2022-01-09 09:33:47 +01:00
{{#select data.categorie}}
<option value="generale">Générale</option>
<option value="magique">Magique</option>
<option value="martiale">Martiale</option>
{{/select}}
</select>
</li>
<li class="flexrow"><label class="generic-label">Niveau</label>
2022-09-21 11:42:09 +02:00
<select class="competence-malus flexrow" type="text" name="system.niveau" value="{{data.niveau}}" data-dtype="Number">
2022-01-09 09:33:47 +01:00
{{selectOptions @root.optionsBase selected=data.niveau localize=false}}
</select>
</li>
<li class="flexrow"><label class="generic-label">Spécialisation ?</label>
2022-09-21 11:42:09 +02:00
<label class="attribute-value checkbox"><input type="checkbox" name="system.isspecialisation" {{checked data.isspecialisation}}/></label>
2022-01-09 09:33:47 +01:00
</li>
2022-09-21 11:42:09 +02:00
<li class="flexrow"><label class="generic-label">Spécialisation</label><input type="text" name="system.specialisation" value="{{data.specialisation}}" data-dtype="String"/></li>
2022-01-09 09:33:47 +01:00
<li class="flexrow"><label class="generic-label">Niveau 1 requis ?</label>
2022-09-21 11:42:09 +02:00
<label class="attribute-value checkbox"><input type="checkbox" name="system.niveauunrequis" {{checked data.niveauunrequis}}/></label>
2022-01-09 09:33:47 +01:00
</li>
</ul>
<label class="generic-label">Description</label>
2022-09-28 15:42:45 +02:00
{{editor description target="system.description" button=true owner=owner editable=editable}}
2022-01-09 09:33:47 +01:00
</div>
</section>
</form>