Migration vers DataModels et appv2
This commit is contained in:
81
templates/item-competence-sheet.hbs
Normal file
81
templates/item-competence-sheet.hbs
Normal file
@@ -0,0 +1,81 @@
|
||||
<section class="{{cssClass}}" autocomplete="off">
|
||||
|
||||
{{> systems/fvtt-les-heritiers/templates/partial-item-header.hbs this}}
|
||||
|
||||
{{> systems/fvtt-les-heritiers/templates/partial-item-nav.hbs this}}
|
||||
|
||||
{{> systems/fvtt-les-heritiers/templates/partial-item-description.hbs this}}
|
||||
|
||||
<div class="tab details" data-group="primary" data-tab="details">
|
||||
<ul class="item-list alternate-list">
|
||||
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label item-field-label-long2">Catégorie </label>
|
||||
<select class="status-small-label color-class-common item-field-label-long" type="text"
|
||||
name="system.categorie" value="{{system.categorie}}" data-dtype="string">
|
||||
{{selectOptions config.competenceCategorie selected=system.categorie}}
|
||||
</select>
|
||||
</li>
|
||||
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label item-field-label-long2">Profil </label>
|
||||
<select class="status-small-label color-class-common item-field-label-long" type="text" name="system.profil"
|
||||
value="{{system.profil}}" data-dtype="string">
|
||||
{{selectOptions config.competenceProfil selected=system.profil labelAttr="name"}}
|
||||
</select>
|
||||
</li>
|
||||
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label item-field-label-long2">Compétence de Prédilection ? </label>
|
||||
<input type="checkbox" class="padd-right status-small-label color-class-common item-field-label-short"
|
||||
name="system.predilection" {{checked system.predilection}} />
|
||||
</li>
|
||||
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label item-field-label-long2">Niveau </label>
|
||||
<input type="text" class="padd-right status-small-label color-class-common item-field-label-short"
|
||||
name="system.niveau" value="{{system.niveau}}" data-dtype="Number" />
|
||||
</li>
|
||||
|
||||
{{#if (eq system.profil "magie")}}
|
||||
{{#if (eq item.name "Magie du Clan")}}
|
||||
{{#each system.nomniveausouffle.soufflecombat as |niveau key|}}
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label item-field-label-long2">Niveau {{key}} Souffle du Combat</label>
|
||||
<input type="text" class="padd-right status-small-label color-class-common item-field-label-long"
|
||||
name="system.nomniveausouffle.soufflecombat.{{key}}" value="{{niveau}}" data-dtype="String" />
|
||||
</li>
|
||||
{{/each}}
|
||||
{{#each system.nomniveausouffle.soufflemouvement as |niveau key|}}
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label item-field-label-long2">Niveau {{key}} Souffle du Mouvement</label>
|
||||
<input type="text" class="padd-right status-small-label color-class-common item-field-label-long"
|
||||
name="system.nomniveausouffle.soufflemouvement.{{key}}" value="{{niveau}}" data-dtype="String" />
|
||||
</li>
|
||||
{{/each}}
|
||||
{{#each system.nomniveausouffle.souffleesprit as |niveau key|}}
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label item-field-label-long2">Niveau {{key}} Souffle de l'Esprit</label>
|
||||
<input type="text" class="padd-right status-small-label color-class-common item-field-label-long"
|
||||
name="system.nomniveausouffle.souffleesprit.{{key}}" value="{{niveau}}" data-dtype="String" />
|
||||
</li>
|
||||
{{/each}}
|
||||
|
||||
{{else}}
|
||||
{{#each system.nomniveau as |niveau key|}}
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label item-field-label-long2">Nom du Niveau {{key}}</label>
|
||||
<input type="text" class="padd-right status-small-label color-class-common item-field-label-long"
|
||||
name="system.nomniveau.{{key}}" value="{{niveau}}" data-dtype="String" />
|
||||
</li>
|
||||
{{/each}}
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
|
||||
<li class="flexrow item">
|
||||
<h3>Spécialités</h3>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</section>
|
||||
Reference in New Issue
Block a user