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

73 lines
2.9 KiB
HTML
Raw Normal View History

2020-05-22 19:28:01 +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}}"/>
2020-05-22 19:28:01 +02:00
<div class="header-fields">
<h1 class="charname">
{{#if isGM}}
2021-03-25 09:28:36 +01:00
<input name="name" type="text" value="{{name}}" placeholder="Name"/>
{{else}}
{{item.name}}
{{/if}}
</h1>
2020-05-22 19:28:01 +02:00
</div>
</header>
{{!-- Sheet Body --}}
<section class="sheet-body">
<div class="form-group">
<label>Catégorie </label>
2022-09-06 23:52:21 +02:00
<select name="system.categorie" class="categorie" data-dtype="String">
{{#select system.categorie}}
{{>"systems/foundryvtt-reve-de-dragon/templates/enum-categorie-competence.html"}}
{{/select}}
2020-05-22 19:28:01 +02:00
</select>
</div>
<div class="form-group">
<label for="niveau">Niveau </label>
<input class="attribute-value" type="text" name="system.niveau" value="{{system.niveau}}" data-dtype="Number"/>
2020-05-22 19:28:01 +02:00
</div>
<div class="form-group">
<label for="xp">XP </label>
<input class="attribute-value sheet-competence-xp" type="text" name="system.xp" value="{{system.xp}}" data-dtype="Number"/>
2020-05-22 19:28:01 +02:00
</div>
<div class="form-group">
<label for="base">Niveau de base </label>
{{#if isGM}}
2022-09-06 23:52:21 +02:00
<select name="system.base" id="base" data-dtype="Number">
{{#select system.base}}
2020-05-22 19:28:01 +02:00
{{>"systems/foundryvtt-reve-de-dragon/templates/competence-base.html"}}
{{/select}}
</select>
{{else}}
<label id="base">{{system.base}}</label>
{{/if}}
2020-05-22 19:28:01 +02:00
</div>
<div class="form-group">
2020-06-10 08:23:58 +02:00
<label for="defaut_carac">Caractéristique par défaut </label>
2022-09-06 23:52:21 +02:00
<select name="system.defaut_carac" id="defaut_carac" data-dtype="String">
{{#select system.defaut_carac}}
2020-06-10 08:23:58 +02:00
{{>"systems/foundryvtt-reve-de-dragon/templates/competence-carac-defaut.html"}}
{{/select}}
2020-05-22 19:28:01 +02:00
</select>
</div>
<div class="form-group">
<label for="default_diffLibre">Difficulté libre par défaut</label>
<input class="attribute-value" type="text" name="system.default_diffLibre" value="{{system.default_diffLibre}}" data-dtype="Number"/>
</div>
{{#if (eq system.categorie 'draconic')}}
2020-12-04 22:27:11 +01:00
<div class="form-group">
<label for="xp">XP Sort </label>
<input class="attribute-value" type="text" name="system.xp_sort" value="{{system.xp_sort}}" data-dtype="Number"/>
2020-12-04 22:27:11 +01:00
</div>
{{/if}}
2020-12-02 18:14:59 +01:00
<div class="form-group">
<label for="niveau_archetype">Niveau d'Archetype</label>
<input class="attribute-value" type="text" name="system.niveau_archetype" value="{{system.niveau_archetype}}" data-dtype="Number"/>
2020-12-02 18:14:59 +01:00
</div>
{{>"systems/foundryvtt-reve-de-dragon/templates/partial-item-description.html"}}
2020-05-22 19:28:01 +02:00
</section>
</form>