forked from public/fvtt-yggdrasill
Foundry v13 migration
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
|
||||
{{!-- Carac Tab --}}
|
||||
<div class="tab items" data-group="primary" data-tab="principal">
|
||||
<span><a class="lock-unlock-sheet"><img class="small-button-container"
|
||||
<span><a class="lock-unlock-sheet"><img class="small-button-container"
|
||||
src="systems/fvtt-yggdrasill/images/icons/{{#if editScore}}unlocked.svg{{else}}locked.svg{{/if}}" alt="Editable/Vérouillé"
|
||||
>{{#if editScore}}Editable{{else}}Vérouillé{{/if}}</a>
|
||||
</span>
|
||||
@@ -34,7 +34,7 @@
|
||||
<span class="generic-label"><h3>Caractéristiques</h3></span>
|
||||
<ul>
|
||||
{{#each data.carac as |categ keycateg|}}
|
||||
<li class="item flexrow list-item" data-item-id="{{keycateg}}">
|
||||
<li class="item flexrow list-item" data-item-id="{{keycateg}}">
|
||||
<!-- <img class="sheet-competence-img" src="{{categ.img}}"/> -->
|
||||
<span class="stat-label flexrow tooltip tooltip-nobottom" name="{{keycateg}}"><h4>{{categ.label}}</h2></span>
|
||||
</li>
|
||||
@@ -44,13 +44,13 @@
|
||||
<img class="sheet-competence-img" src="systems/fvtt-yggdrasill/images/icons/icon_carac_{{keycateg}}.png"/>
|
||||
<span class="stat-label flexrow tooltip tooltip-nobottom" name="{{key}}"><a class="carac-roll">{{mycarac.label}}</a></span>
|
||||
<select class="carac-base flexrow" type="text" name="system.carac.{{keycateg}}.carac.{{keycarac}}.value" value="{{mycarac.value}}" data-dtype="Number" {{#unless @root.editScore}}disabled{{/unless}}>
|
||||
{{selectOptions @root.optionsCarac selected=mycarac.value localize=false}}
|
||||
</select>
|
||||
{{selectOptions @root.optionsCarac selected=mycarac.value localize=false}}
|
||||
</select>
|
||||
</li>
|
||||
</ul>
|
||||
</ul>
|
||||
{{/each}}
|
||||
{{/each}}
|
||||
</ul>
|
||||
</ul>
|
||||
|
||||
|
||||
<span class="generic-label"><h3>Furor</h3>
|
||||
@@ -78,9 +78,9 @@
|
||||
<a class="item-control item-edit" title="Edit Item"><i class="fas fa-edit"></i></a>
|
||||
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
|
||||
</div>
|
||||
</li>
|
||||
</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
</ul>
|
||||
|
||||
<span class="generic-label"><h3>Sorts/Rune actifs</h3></span>
|
||||
<ul>
|
||||
@@ -92,9 +92,9 @@
|
||||
<a class="item-control item-edit" title="Edit Item"><i class="fas fa-edit"></i></a>
|
||||
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
|
||||
</div>
|
||||
</li>
|
||||
</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -109,9 +109,9 @@
|
||||
<a class="item-control item-edit" title="Edit Item"><i class="fas fa-edit"></i></a>
|
||||
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
|
||||
</div>
|
||||
</li>
|
||||
</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
</ul>
|
||||
<span class="generic-label"><h3>Faiblesses</h3></span>
|
||||
<ul>
|
||||
{{#each faiblesses as |faiblesse key|}}
|
||||
@@ -122,9 +122,9 @@
|
||||
<a class="item-control item-edit" title="Edit Item"><i class="fas fa-edit"></i></a>
|
||||
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
|
||||
</div>
|
||||
</li>
|
||||
</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
</ul>
|
||||
<span class="generic-label"><h3>Secondaires</h3></span>
|
||||
<ul>
|
||||
{{#each data.caracsecondaire as |caracsec key|}}
|
||||
@@ -132,7 +132,7 @@
|
||||
<li class="item flexrow list-item" data-item-id="{{caracsec.id}}">
|
||||
<img class="sheet-competence-img" src="systems/fvtt-yggdrasill/images/icons/icon_carac_secondaire.png"/>
|
||||
<span class="secondaire-label flexrow tooltip tooltip-nobottom" name="{{key}}">{{caracsec.label}}</span>
|
||||
|
||||
|
||||
<div class="secondaire-label">
|
||||
{{#if (eq key "reaction")}}
|
||||
<span class="stat-label flexrow tooltip tooltip-nobottom" name="{{key}}-max">{{caracsec.max}}</span>
|
||||
@@ -143,28 +143,28 @@
|
||||
{{#if (eq key "capaenc")}}
|
||||
<span class="stat-label flexrow tooltip tooltip-nobottom" name="{{key}}-max">{{caracsec.max}}</span>
|
||||
{{/if}}
|
||||
{{#if (eq key "defensephy")}}
|
||||
{{#if (eq key "defensephy")}}
|
||||
<ul>
|
||||
<li class="item flexrow list-item"><span class="stat-label flexrow tooltip tooltip-nobottom" name="{{key}}-max">Base : {{caracsec.max}}</span></li>
|
||||
<li class="item flexrow list-item">
|
||||
<li class="item flexrow list-item">
|
||||
<span class="stat-label flexrow tooltip tooltip-nobottom" name="{{key}}-max">B/M</span>
|
||||
<select class="carac-base flexrow" type="text" name="system.caracsecondaire.{{key}}.bonusmalus" value="{{caracsec.bonusmalus}}" data-dtype="Number" {{#unless @root.editScore}}disabled{{/unless}}>
|
||||
{{selectOptions @root.optionsDMDP selected=caracsec.bonusmalus nameAttr="value" labelAttr="text"}}
|
||||
</select>
|
||||
{{selectOptions @root.optionsDMDP selected=caracsec.bonusmalus valueAttr="value" labelAttr="text"}}
|
||||
</select>
|
||||
</li>
|
||||
<li class="item flexrow list-item">
|
||||
<span class="stat-label flexrow tooltip tooltip-nobottom" name="{{key}}-total">Total : {{caracsec.total}}</span>
|
||||
</li>
|
||||
</ul>
|
||||
{{/if}}
|
||||
{{#if (eq key "defensemen")}}
|
||||
{{#if (eq key "defensemen")}}
|
||||
<ul>
|
||||
<li class="item flexrow list-item"><span class="stat-label flexrow tooltip tooltip-nobottom" name="{{key}}-max">Base : {{caracsec.max}}</span></li>
|
||||
<li class="item flexrow list-item">
|
||||
<li class="item flexrow list-item">
|
||||
<span class="stat-label flexrow tooltip tooltip-nobottom" name="{{key}}-max">B/M</span>
|
||||
<select class="carac-base flexrow" type="text" name="system.caracsecondaire.{{key}}.bonusmalus" value="{{caracsec.bonusmalus}}" data-dtype="Number" {{#unless @root.editScore}}disabled{{/unless}}>
|
||||
{{selectOptions @root.optionsDMDP selected=caracsec.bonusmalus nameAttr="value" labelAttr="text"}}
|
||||
</select>
|
||||
{{selectOptions @root.optionsDMDP selected=caracsec.bonusmalus valueAttr="value" labelAttr="text"}}
|
||||
</select>
|
||||
</li>
|
||||
<li class="item flexrow list-item">
|
||||
<span class="stat-label flexrow tooltip tooltip-nobottom" name="{{key}}-total">Total : {{caracsec.total}}</span>
|
||||
@@ -175,8 +175,8 @@
|
||||
</li>
|
||||
{{/if}}
|
||||
{{/each}}
|
||||
</ul>
|
||||
|
||||
</ul>
|
||||
|
||||
<span class="generic-label"><h3>Points de Vie</h3>
|
||||
<ul>
|
||||
<li class="">
|
||||
@@ -186,23 +186,23 @@
|
||||
</ul>
|
||||
</span>
|
||||
|
||||
<span class="generic-label"><h4>Epuisé :
|
||||
<span class="generic-label"><h4>Epuisé :
|
||||
<input type="checkbox" id="isEpuise" name="system.status.epuise" {{checked data.status.epuise}}/></h3>
|
||||
</span>
|
||||
<span class="generic-label"><h4>Blessé :
|
||||
<span class="generic-label"><h4>Blessé :
|
||||
<input type="checkbox" id="isBlesse" name="system.status.blesse" {{checked data.status.blesse}}/></h3>
|
||||
</span>
|
||||
<span class="generic-label"><h4>Meurtri :
|
||||
<span class="generic-label"><h4>Meurtri :
|
||||
<input type="checkbox" id="isMeurtri" name="system.status.meurtri" {{checked data.status.meurtri}}/></h3>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
{{!-- Skills Tab --}}
|
||||
<div class="tab competence" data-group="primary" data-tab="competence">
|
||||
<div class="flexrow">
|
||||
<span><a class="lock-unlock-sheet"><img class="small-button-container"
|
||||
<span><a class="lock-unlock-sheet"><img class="small-button-container"
|
||||
src="systems/fvtt-yggdrasill/images/icons/{{#if editScore}}unlocked.svg{{else}}locked.svg{{/if}}" alt="Editable/Vérouillé"
|
||||
>{{#if editScore}}Editable{{else}}Vérouillé{{/if}}</a>
|
||||
</span>
|
||||
@@ -226,13 +226,13 @@
|
||||
{{/if}}
|
||||
</div>
|
||||
<select class="competence-base flexrow" type="text" skillname="{{competence.name}}" value="{{competence.system.niveau}}" data-dtype="Number" {{#unless @root.editScore}}disabled{{/unless}}>
|
||||
{{selectOptions @root.optionsBase selected=competence.system.niveau localize=false}}
|
||||
</select>
|
||||
{{selectOptions @root.optionsBase selected=competence.system.niveau localize=false}}
|
||||
</select>
|
||||
<div class="item-controls">
|
||||
<a class="item-control item-edit" title="Edit Item"><i class="fas fa-edit"></i></a>
|
||||
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
|
||||
</div>
|
||||
</li>
|
||||
</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
</div>
|
||||
@@ -250,13 +250,13 @@
|
||||
<img class="sheet-competence-img" src="{{competence.img}}"/>
|
||||
<span class="competence-label"><a>{{competence.name}}</a></span>
|
||||
<select class="competence-base flexrow" type="text" skillname="{{competence.name}}" value="{{competence.system.niveau}}" data-dtype="Number" {{#unless @root.editScore}}disabled{{/unless}}>
|
||||
{{selectOptions @root.optionsBase selected=competence.system.niveau localize=false}}
|
||||
</select>
|
||||
{{selectOptions @root.optionsBase selected=competence.system.niveau localize=false}}
|
||||
</select>
|
||||
<div class="item-controls">
|
||||
<a class="item-control item-edit" title="Edit Item"><i class="fas fa-edit"></i></a>
|
||||
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
|
||||
</div>
|
||||
</li>
|
||||
</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
<ul class="item-list alterne-list">
|
||||
@@ -271,13 +271,13 @@
|
||||
<img class="sheet-competence-img" src="{{competence.img}}"/>
|
||||
<span class="competence-label"><a>{{competence.name}}</a></span>
|
||||
<select class="competence-base flexrow" type="text" skillname="{{competence.name}}" value="{{competence.system.niveau}}" data-dtype="Number" {{#unless @root.editScore}}disabled{{/unless}}>
|
||||
{{selectOptions @root.optionsBase selected=competence.system.niveau localize=false}}
|
||||
</select>
|
||||
{{selectOptions @root.optionsBase selected=competence.system.niveau localize=false}}
|
||||
</select>
|
||||
<div class="item-controls">
|
||||
<a class="item-control item-edit" title="Edit Item"><i class="fas fa-edit"></i></a>
|
||||
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
|
||||
</div>
|
||||
</li>
|
||||
</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
|
||||
@@ -311,8 +311,8 @@
|
||||
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
|
||||
</div>
|
||||
</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
{{/each}}
|
||||
</ul>
|
||||
|
||||
<hr><span class="generic-label"><h3>Prouesses Martiales</h3></span>
|
||||
<ul class="stat-list alternate-list">
|
||||
@@ -335,7 +335,7 @@
|
||||
</div>
|
||||
</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
</ul>
|
||||
|
||||
<div><h4>Armures (Protection Totale : {{protectionTotal}}) </h4></div>
|
||||
<ul class="item-list alternate-list">
|
||||
@@ -390,8 +390,8 @@
|
||||
|
||||
{{!-- Sort Tab --}}
|
||||
<div class="tab sorts" data-group="primary" data-tab="sorts">
|
||||
|
||||
<div class="flexcol">
|
||||
|
||||
<div class="flexcol">
|
||||
<span class="generic-label">Sorts Sejdr</span>
|
||||
<ul class="item-list alterne-list">
|
||||
{{#each sortsSejdr as |sort key|}}
|
||||
@@ -404,12 +404,12 @@
|
||||
<a class="item-control item-edit" title="Edit Item"><i class="fas fa-edit"></i></a>
|
||||
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
|
||||
</div>
|
||||
</li>
|
||||
</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="flexcol">
|
||||
<div class="flexcol">
|
||||
<span class="generic-label">Sorts Galdr</span>
|
||||
<ul class="item-list alterne-list">
|
||||
{{#each sortsGaldr as |sort key|}}
|
||||
@@ -422,12 +422,12 @@
|
||||
<a class="item-control item-edit" title="Edit Item"><i class="fas fa-edit"></i></a>
|
||||
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
|
||||
</div>
|
||||
</li>
|
||||
</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="flexcol">
|
||||
<div class="flexcol">
|
||||
<span class="generic-label">Runes</span>
|
||||
<ul class="item-list alterne-list">
|
||||
{{#each runes as |sort key|}}
|
||||
@@ -441,7 +441,7 @@
|
||||
<a class="item-control item-edit" title="Edit Item"><i class="fas fa-edit"></i></a>
|
||||
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
|
||||
</div>
|
||||
</li>
|
||||
</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
</div>
|
||||
@@ -458,13 +458,13 @@
|
||||
<span class="generic-label">{{monnaie.name}}</span>
|
||||
<span class="generic-label">{{monnaie.system.quantite}}
|
||||
(<a class="equipement-moins plus-moins-button"> -</a>/<a class="equipement-plus plus-moins-button">+</a>)
|
||||
</span>
|
||||
</span>
|
||||
</span>
|
||||
</span>
|
||||
<div class="item-controls">
|
||||
<a class="item-control item-edit" title="Edit Item"><i class="fas fa-edit"></i></a>
|
||||
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
|
||||
</div>
|
||||
</li>
|
||||
</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
<div><h4>Equipement (Encombrement total : {{encTotal}})</h4></div>
|
||||
@@ -494,14 +494,14 @@
|
||||
<a class="item-control item-edit" title="Edit Item"><i class="fas fa-edit"></i></a>
|
||||
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
|
||||
</div>
|
||||
</li>
|
||||
</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
||||
{{!-- Biography Tab --}}
|
||||
<div class="tab description" data-group="primary" data-tab="description">
|
||||
<div class="tab description" data-group="primary" data-tab="description">
|
||||
<article class="flexcol">
|
||||
<h3>Expérience et Renommée : </h3>
|
||||
<div class="form-group editor">
|
||||
@@ -509,7 +509,7 @@
|
||||
<input type="text" name="system.xp.xp.current" value="{{data.xp.xp.current}}" data-dtype="Number"/>
|
||||
<input type="text" name="system.xp.xp.total" value="{{data.xp.xp.total}}" data-dtype="Number"/>
|
||||
<span class="equipement-label">Renommée : </span>
|
||||
<input type="text" name="system.xp.renommee.value" value="{{data.xp.renommee.value}}" data-dtype="Number"/>
|
||||
<input type="text" name="system.xp.renommee.value" value="{{data.xp.renommee.value}}" data-dtype="Number"/>
|
||||
</div>
|
||||
<hr>
|
||||
<h3>Biodatas : </h3>
|
||||
@@ -519,7 +519,7 @@
|
||||
<span class="equipement-label">Taille : </span>
|
||||
<input type="text" name="system.biodata.taille" value="{{data.biodata.taille}}" data-dtype="String"/>
|
||||
<span class="equipement-label">Age : </span>
|
||||
<input type="text" name="system.biodata.age" value="{{data.biodata.age}}" data-dtype="String"/>
|
||||
<input type="text" name="system.biodata.age" value="{{data.biodata.age}}" data-dtype="String"/>
|
||||
</div>
|
||||
<div class="form-group editor">
|
||||
<span class="equipement-label">Archetype : </span>
|
||||
@@ -527,7 +527,7 @@
|
||||
<span class="equipement-label">Profession : </span>
|
||||
<input type="text" name="system.biodata.profession" value="{{data.biodata.profession}}" data-dtype="String"/>
|
||||
<span class="equipement-label">Royaume : </span>
|
||||
<input type="text" name="system.biodata.royaume" value="{{data.biodata.royaume}}" data-dtype="String"/>
|
||||
<input type="text" name="system.biodata.royaume" value="{{data.biodata.royaume}}" data-dtype="String"/>
|
||||
</div>
|
||||
<hr>
|
||||
<h3>Biographie : </h3>
|
||||
@@ -551,4 +551,3 @@
|
||||
|
||||
</section>
|
||||
</form>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user