Ajout pour la magie
This commit is contained in:
@@ -520,14 +520,11 @@
|
||||
|
||||
<div class="sheet-box color-bg-archetype">
|
||||
<ul class="item-list alternate-list">
|
||||
{{#each sorts as |niveau key|}}
|
||||
<li class="item flexrow list-item items-title-bg">
|
||||
<span class="item-name-label-header item-field-label-long2-img">
|
||||
<h3><label class="items-title-text">Nom du sort</label></h3>
|
||||
<h4><label class="items-title-text">Niveau {{key}} {{niveau.nomNiveau}}</label></h4>
|
||||
</span>
|
||||
<span class="item-field-label-medium">
|
||||
<label class="short-label">Niveau</label>
|
||||
</span>
|
||||
<div class="item-filler"> </div>
|
||||
<div class="item-controls item-controls-fixed">
|
||||
{{#if @root.isGM}}
|
||||
<a class="item-control item-add" data-type="sort" data-sort-competence={{magie.name}}
|
||||
@@ -535,16 +532,12 @@
|
||||
{{/if}}
|
||||
</div>
|
||||
</li>
|
||||
{{#each sorts as |sort key|}}
|
||||
{{#each niveau.sorts as |sort key|}}
|
||||
<li class="item flexrow " data-item-id="{{sort._id}}" data-item-type="sort">
|
||||
<img class="item-name-img" src="{{sort.img}}" />
|
||||
<span class="item-field-label-long2 roll-style"><a class="roll-sort">{{sort.name}}</a></span>
|
||||
<span class="item-field-label-medium">{{upperFirst sort.system.niveau}}</span>
|
||||
|
||||
{{#if (eq system.competence "Magie du Clan")}}
|
||||
<span class="item-field-label-medium">{{upperFirst sort.system.souffle}}</span>*
|
||||
{{/if}}
|
||||
|
||||
<div class="item-filler"> </div>
|
||||
<div class="item-controls item-controls-fixed">
|
||||
<a class="item-control item-edit" title="Editer l'item"><i class="fas fa-edit"></i></a>
|
||||
@@ -552,6 +545,7 @@
|
||||
</div>
|
||||
</li>
|
||||
{{/each}}
|
||||
{{/each}}
|
||||
</ul>
|
||||
</div>
|
||||
{{/each}}
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
<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"
|
||||
@@ -22,8 +22,8 @@
|
||||
|
||||
<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">
|
||||
<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>
|
||||
@@ -31,7 +31,7 @@
|
||||
<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}}/>
|
||||
name="system.predilection" {{checked system.predilection}} />
|
||||
</li>
|
||||
|
||||
<li class="flexrow item">
|
||||
@@ -40,6 +40,16 @@
|
||||
name="system.niveau" value="{{system.niveau}}" data-dtype="Number" />
|
||||
</li>
|
||||
|
||||
{{#if (eq system.profil "magie")}}
|
||||
{{#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}}
|
||||
|
||||
<li class="flexrow item">
|
||||
<h3>Spécialités</h3>
|
||||
</li>
|
||||
|
||||
@@ -38,21 +38,31 @@
|
||||
</li>
|
||||
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label item-field-label-long2">Niveau/Rang </label>
|
||||
<label class="generic-label item-field-label-long2">Niveau</label>
|
||||
<select class="status-small-label color-class-common item-field-label-long" type="text" name="system.niveau"
|
||||
value="{{system.niveau}}" data-dtype="string">
|
||||
{{selectOptions config.listNiveauSort selected=system.niveau}}
|
||||
</select>
|
||||
</li>
|
||||
|
||||
<!--
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label item-field-label-long2">Rang</label>
|
||||
<select class="status-small-label color-class-common item-field-label-long" type="text" name="system.rang"
|
||||
value="{{system.rang}}" data-dtype="string">
|
||||
{{selectOptions config.listRangSort selected=system.rang}}
|
||||
</select>
|
||||
</li>
|
||||
-->
|
||||
|
||||
{{#if (eq system.competence "Magie du Clan")}}
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label item-field-label-long2">Souffle </label>
|
||||
<select class="status-small-label color-class-common item-field-label-long" type="text" name="system.souffle"
|
||||
value="{{system.souffle}}" data-dtype="string">
|
||||
{{selectOptions config.soufflesMagieDuClan selected=system.souffle}}
|
||||
</select>
|
||||
</li>
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label item-field-label-long2">Souffle </label>
|
||||
<select class="status-small-label color-class-common item-field-label-long" type="text" name="system.souffle"
|
||||
value="{{system.souffle}}" data-dtype="string">
|
||||
{{selectOptions config.soufflesMagieDuClan selected=system.souffle}}
|
||||
</select>
|
||||
</li>
|
||||
{{/if}}
|
||||
|
||||
<li class="flexrow item">
|
||||
|
||||
Reference in New Issue
Block a user