forked from public/fvtt-yggdrasill
563 lines
31 KiB
HTML
563 lines
31 KiB
HTML
<form class="{{cssClass}}" autocomplete="off">
|
|
|
|
{{!-- Sheet Header --}}
|
|
<header class="sheet-header">
|
|
<div class="header-fields">
|
|
<div class="flexrow">
|
|
<img class="profile-img" src="{{img}}" data-edit="img" title="{{name}}" />
|
|
<h1 class="charname"><input name="name" type="text" value="{{name}}" placeholder="Name"/></h1>
|
|
</div>
|
|
</div>
|
|
</header>
|
|
|
|
{{!-- Sheet Tab Navigation --}}
|
|
<nav class="sheet-tabs tabs" data-group="primary">
|
|
<a class="item" data-tab="principal">Caractéristiques</a>
|
|
<a class="item" data-tab="competence">Compétences</a>
|
|
<a class="item" data-tab="combat">Combat</a>
|
|
<a class="item" data-tab="sorts">Sorts</a>
|
|
<a class="item" data-tab="equipement">Equipement</a>
|
|
<a class="item" data-tab="description">Description</a>
|
|
</nav>
|
|
|
|
{{!-- Sheet Body --}}
|
|
<section class="sheet-body">
|
|
|
|
{{!-- Carac Tab --}}
|
|
<div class="tab items" data-group="primary" data-tab="principal">
|
|
<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>
|
|
<div class="grid grid-2col">
|
|
<div class="">
|
|
<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}}">
|
|
<!-- <img class="sheet-competence-img" src="{{categ.img}}"/> -->
|
|
<span class="stat-label flexrow tooltip tooltip-nobottom" name="{{keycateg}}"><h4>{{categ.label}}</h2></span>
|
|
</li>
|
|
{{#each categ.carac as |mycarac keycarac|}}
|
|
<ul>
|
|
<li class="item flexrow list-item" data-carac-categ="{{keycateg}}" data-carac-key="{{keycarac}}">
|
|
<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="data.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>
|
|
</li>
|
|
</ul>
|
|
{{/each}}
|
|
{{/each}}
|
|
</ul>
|
|
|
|
|
|
<span class="generic-label"><h3>Furor</h3>
|
|
<ul>
|
|
<li class="">
|
|
<input type="text" id="input-furor" name="data.furor.value" value="{{data.furor.value}}" data-dtype="Number"/>
|
|
{{#if isGM}}
|
|
<span class="pv-label flexrow tooltip tooltip-nobottom">/
|
|
<input type="text" id="max-furor" name="data.furor.max" value="{{data.furor.max}}" data-dtype="Number"/>
|
|
</span>
|
|
{{else}}
|
|
<span class="pv-label flexrow tooltip tooltip-nobottom"> / {{data.furor.max}}</span>
|
|
{{/if}}
|
|
</li>
|
|
</ul>
|
|
</span>
|
|
|
|
<span class="generic-label"><h3>Blessures</h3></span>
|
|
<ul>
|
|
{{#each blessures as |blessure key|}}
|
|
<li class="item flexrow list-item" data-item-id="{{blessure.id}}">
|
|
<img class="sheet-competence-img" src="{{blessure.img}}"/>
|
|
<span class="competence-label">{{blessure.name}}</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>
|
|
{{/each}}
|
|
</ul>
|
|
|
|
<span class="generic-label"><h3>Sorts/Rune actifs</h3></span>
|
|
<ul>
|
|
{{#each effetsmagiques as |effetmagique key|}}
|
|
<li class="item flexrow list-item" data-item-id="{{effetmagique.id}}">
|
|
<img class="sheet-competence-img" src="{{effetmagique.img}}"/>
|
|
<span class="competence-label">{{effetmagique.name}}</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>
|
|
{{/each}}
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
<div class="">
|
|
<span class="generic-label"><h3>Dons</h3></span>
|
|
<ul>
|
|
{{#each dons as |don key|}}
|
|
<li class="item flexrow list-item" data-item-id="{{don.id}}">
|
|
<img class="sheet-competence-img" src="{{don.img}}"/>
|
|
<span class="competence-label">{{don.name}}</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>
|
|
{{/each}}
|
|
</ul>
|
|
<span class="generic-label"><h3>Faiblesses</h3></span>
|
|
<ul>
|
|
{{#each faiblesses as |faiblesse key|}}
|
|
<li class="item flexrow list-item" data-item-id="{{faiblesse.id}}">
|
|
<img class="sheet-competence-img" src="{{faiblesse.img}}"/>
|
|
<span class="competence-label">{{faiblesse.name}}</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>
|
|
{{/each}}
|
|
</ul>
|
|
<span class="generic-label"><h3>Secondaires</h3></span>
|
|
<ul>
|
|
{{#each data.caracsecondaire as |caracsec key|}}
|
|
{{#if (ne key "pv")}}
|
|
<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>
|
|
{{/if}}
|
|
{{#if (eq key "deplacement")}}
|
|
<span class="stat-label flexrow tooltip tooltip-nobottom" name="{{key}}-max">{{caracsec.max}}</span>
|
|
{{/if}}
|
|
{{#if (eq key "capaenc")}}
|
|
<span class="stat-label flexrow tooltip tooltip-nobottom" name="{{key}}-max">{{caracsec.max}}</span>
|
|
{{/if}}
|
|
{{#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">
|
|
<span class="stat-label flexrow tooltip tooltip-nobottom" name="{{key}}-max">B/M</span>
|
|
<select class="carac-base flexrow" type="text" name="data.caracsecondaire.{{key}}.bonusmalus" value="{{caracsec.bonusmalus}}" data-dtype="Number" {{#unless @root.editScore}}disabled{{/unless}}>
|
|
{{#select caracsec.bonusmalus}}
|
|
{{#each @root.optionsDMDP as |option key| }}
|
|
<option value="{{option.value}}">{{option.text}}</option>
|
|
{{/each}}
|
|
{{/select}}
|
|
</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")}}
|
|
<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">
|
|
<span class="stat-label flexrow tooltip tooltip-nobottom" name="{{key}}-max">B/M</span>
|
|
<select class="carac-base flexrow" type="text" name="data.caracsecondaire.{{key}}.bonusmalus" value="{{caracsec.bonusmalus}}" data-dtype="Number" {{#unless @root.editScore}}disabled{{/unless}}>
|
|
{{#select caracsec.bonusmalus}}
|
|
{{#each @root.optionsDMDP as |option key| }}
|
|
<option value="{{option.value}}">{{option.text}}</option>
|
|
{{/each}}
|
|
{{/select}}
|
|
</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}}
|
|
</div>
|
|
</li>
|
|
{{/if}}
|
|
{{/each}}
|
|
</ul>
|
|
|
|
<span class="generic-label"><h3>Points de Vie</h3>
|
|
<ul>
|
|
<li class="">
|
|
<input class="input-pv" type="text" id="input-pv" name="data.caracsecondaire.pv.value" value="{{data.caracsecondaire.pv.value}}" data-dtype="Number"/>
|
|
<span class="pv-label flexrow tooltip tooltip-nobottom" name="{{key}}-total"> / {{data.caracsecondaire.pv.max}}</span>
|
|
</li>
|
|
</ul>
|
|
</span>
|
|
|
|
<span class="generic-label"><h4>Epuisé :
|
|
<input type="checkbox" id="isEpuise" name="data.status.epuise" {{checked data.status.epuise}}/></h3>
|
|
</span>
|
|
<span class="generic-label"><h4>Blessé :
|
|
<input type="checkbox" id="isBlesse" name="data.status.blesse" {{checked data.status.blesse}}/></h3>
|
|
</span>
|
|
<span class="generic-label"><h4>Meurtri :
|
|
<input type="checkbox" id="isMeurtri" name="data.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"
|
|
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>
|
|
</div>
|
|
<div class="grid grid-2col">
|
|
<div>
|
|
<ul class="item-list alterne-list">
|
|
<li class="item flexrow">
|
|
<span class=""></span>
|
|
<span class="generic-label">Compétences Générales</span>
|
|
<span class="generic-label">Niveau</span>
|
|
<span class=""></span>
|
|
</li>
|
|
{{#each competencesGenerales as |competence key|}}
|
|
<li class="item flexrow list-item" data-item-id="{{competence.id}}">
|
|
<img class="sheet-competence-img" src="{{competence.img}}"/>
|
|
<span class="competence-label"><a>{{competence.name}}</a></span>
|
|
<div>
|
|
{{#if competence.data.data.isspecialisation}}
|
|
<span class="specialisation-label">({{competence.data.data.specialisation}})</span>
|
|
{{/if}}
|
|
</div>
|
|
<select class="competence-base flexrow" type="text" skillname="{{competence.name}}" value="{{competence.data.data.niveau}}" data-dtype="Number" {{#unless @root.editScore}}disabled{{/unless}}>
|
|
{{selectOptions @root.optionsBase selected=competence.data.data.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>
|
|
{{/each}}
|
|
</ul>
|
|
</div>
|
|
|
|
<div>
|
|
<ul class="item-list alterne-list">
|
|
<li class="item flexrow">
|
|
<span class=""></span>
|
|
<span class="generic-label">Compétences Martiales</span>
|
|
<span class="generic-label">Niveau</span>
|
|
<span class=""></span>
|
|
</li>
|
|
{{#each competencesMartiales as |competence key|}}
|
|
<li class="item flexrow list-item" data-item-id="{{competence.id}}">
|
|
<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.data.data.niveau}}" data-dtype="Number" {{#unless @root.editScore}}disabled{{/unless}}>
|
|
{{selectOptions @root.optionsBase selected=competence.data.data.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>
|
|
{{/each}}
|
|
</ul>
|
|
<ul class="item-list alterne-list">
|
|
<li class="item flexrow">
|
|
<span class=""></span>
|
|
<span class="generic-label">Compétences Magiques</span>
|
|
<span class="generic-label">Niveau</span>
|
|
<span class=""></span>
|
|
</li>
|
|
{{#each competencesMagiques as |competence key|}}
|
|
<li class="item flexrow list-item" data-item-id="{{competence.id}}">
|
|
<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.data.data.niveau}}" data-dtype="Number" {{#unless @root.editScore}}disabled{{/unless}}>
|
|
{{selectOptions @root.optionsBase selected=competence.data.data.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>
|
|
{{/each}}
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
{{!-- Combat Tab --}}
|
|
<div class="tab combat" data-group="primary" data-tab="combat">
|
|
<div class="flexcol">
|
|
|
|
<hr><span class="generic-label"><h3>Armes</h3></span>
|
|
<ul class="stat-list alternate-list">
|
|
<li class="stat flexrow" >
|
|
<span class="stat-label flexrow">Nom</span>
|
|
<span class="stat-label flexrow">Catégorie</span>
|
|
<span class="stat-label flexrow">Dégats</span>
|
|
<div class="item-controls">
|
|
</div>
|
|
</li>
|
|
{{#each armes as |arme key|}}
|
|
<li class="item stat flexrow list-item" data-arme-id="{{arme.id}}" data-item-id="{{arme.id}}">
|
|
<img class="sheet-competence-img" src="{{arme.img}}"/>
|
|
<span class="stat-label arme-label flexrow tooltip tooltip-nobottom"><a name="{{arme.name}}">{{arme.name}}</a></span>
|
|
<span class="stat-label combat-label"> {{arme.data.data.categorie}}</span>
|
|
<span class="stat-label combat-label"> {{arme.data.data.degat}}</span>
|
|
<div class="item-controls">
|
|
<a class="item-control item-equip" title="Worn">{{#if arme.data.data.equipe}}<i class="fas fa-circle"></i>{{else}}<i class="fas fa-genderless"></i>{{/if}}</a>
|
|
<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>
|
|
{{/each}}
|
|
</ul>
|
|
|
|
<hr><span class="generic-label"><h3>Prouesses Martiales</h3></span>
|
|
<ul class="stat-list alternate-list">
|
|
<li class="stat flexrow" >
|
|
<span class="stat-label flexrow">Nom</span>
|
|
<span class="stat-label flexrow">Categorie?</span>
|
|
<span class="stat-label flexrow">Niveau</span>
|
|
<div class="item-controls">
|
|
</div>
|
|
</li>
|
|
{{#each prouessesMartiales as |prouesse key|}}
|
|
<li class="item stat flexrow list-item" data-item-id="{{prouesse.id}}">
|
|
<img class="sheet-competence-img" src="{{prouesse.img}}"/>
|
|
<span class="stat-label combat-label flexrow tooltip tooltip-nobottom">{{prouesse.name}}</a></span>
|
|
<span class="stat-label combat-label">{{prouesse.data.data.categorie}}</span>
|
|
<span class="stat-label combat-label">{{prouesse.data.data.niveau}}</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>
|
|
{{/each}}
|
|
</ul>
|
|
|
|
<div><h4>Armures (Protection Totale : {{protectionTotal}}) </h4></div>
|
|
<ul class="item-list alternate-list">
|
|
<li class="stat flexrow" >
|
|
<span class="stat-label flexrow">Nom</span>
|
|
<span class="stat-label flexrow">Catégorie</span>
|
|
<span class="stat-label flexrow">Protection</span>
|
|
<div class="item-controls">
|
|
</div>
|
|
</li>
|
|
{{#each armures as |armure key|}}
|
|
<li class="item stat flexrow list-item" data-armure-id="{{armure.id}}" data-item-id="{{armure.id}}">
|
|
<img class="sheet-competence-img" src="{{armure.img}}"/>
|
|
<span class="stat-label combat-label flexrow tooltip tooltip-nobottom"><a name="{{armure.name}}">{{armure.name}}</a></span>
|
|
<span class="stat-label combat-label"> {{armure.data.data.categorie}}</span>
|
|
<span class="stat-label combat-label"> {{armure.data.data.protection}}</span>
|
|
<div class="item-controls">
|
|
<a class="item-control item-equip" title="Worn">{{#if armure.data.data.equipe}}<i class="fas fa-circle"></i>{{else}}<i class="fas fa-genderless"></i>{{/if}}</a>
|
|
<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>
|
|
{{/each}}
|
|
</ul>
|
|
|
|
<div><h4>Bouclier (Bonus de défense physique : {{dpBouclier}}) </h4></div>
|
|
<ul class="item-list alternate-list">
|
|
<li class="stat flexrow" >
|
|
<span class="stat-label flexrow">Nom</span>
|
|
<span class="stat-label flexrow">Catégorie</span>
|
|
<span class="stat-label flexrow">Bonus DP</span>
|
|
<div class="item-controls">
|
|
</div>
|
|
</li>
|
|
{{#each bouclier as |bouclier key|}}
|
|
<li class="item stat flexrow list-item" data-armure-id="{{bouclier.id}}" data-item-id="{{bouclier.id}}">
|
|
<img class="sheet-competence-img" src="{{bouclier.img}}"/>
|
|
<span class="stat-label combat-label flexrow tooltip tooltip-nobottom"><a name="{{bouclier.name}}">{{bouclier.name}}</a></span>
|
|
<span class="stat-label combat-label"> {{bouclier.data.data.categorie}}</span>
|
|
<span class="stat-label combat-label"> {{bouclier.data.data.defensebonus}}</span>
|
|
<div class="item-controls">
|
|
<a class="item-control item-equip" title="Worn">{{#if bouclier.data.data.equipe}}<i class="fas fa-circle"></i>{{else}}<i class="fas fa-genderless"></i>{{/if}}</a>
|
|
<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>
|
|
{{/each}}
|
|
</ul>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
{{!-- Sort Tab --}}
|
|
<div class="tab sorts" data-group="primary" data-tab="sorts">
|
|
|
|
<div class="flexcol">
|
|
<span class="generic-label">Sorts Sejdr</span>
|
|
<ul class="item-list alterne-list">
|
|
{{#each sortsSejdr as |sort key|}}
|
|
<li class="item flexrow list-item" data-item-id="{{sort.id}}">
|
|
<img class="sheet-competence-img" src="{{sort.img}}"/>
|
|
<span class="sort-label"><a class="sort-sejdr">{{sort.name}}</a></span>
|
|
<span class="sort-difficulty">{{sort.data.data.forme}}</span>
|
|
<span class="sort-difficulty">{{sort.data.data.niveau}}</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>
|
|
{{/each}}
|
|
</ul>
|
|
</div>
|
|
|
|
<div class="flexcol">
|
|
<span class="generic-label">Sorts Galdr</span>
|
|
<ul class="item-list alterne-list">
|
|
{{#each sortsGaldr as |sort key|}}
|
|
<li class="item flexrow list-item" data-item-id="{{sort.id}}">
|
|
<img class="sheet-competence-img" src="{{sort.img}}"/>
|
|
<span class="sort-label"><a class="sort-galdr">{{sort.name}}</a></span>
|
|
<span class="sort-difficulty">{{sort.data.data.domaine}}</span>
|
|
<span class="sort-difficulty">{{sort.data.data.duree}}</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>
|
|
{{/each}}
|
|
</ul>
|
|
</div>
|
|
|
|
<div class="flexcol">
|
|
<span class="generic-label">Runes</span>
|
|
<ul class="item-list alterne-list">
|
|
{{#each runes as |sort key|}}
|
|
<li class="item flexrow list-item" data-item-id="{{sort.id}}">
|
|
<img class="sheet-competence-img" src="{{sort.img}}"/>
|
|
<span class="sort-label"><a class="sort-rune">{{sort.name}}</a></span>
|
|
<span class="sort-difficulty">{{sort.data.data.cible}}</span>
|
|
<span class="sort-difficulty">{{sort.data.data.niveau}}</span>
|
|
<span class="sort-difficulty">{{sort.data.data.domaine}}</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>
|
|
{{/each}}
|
|
</ul>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{!-- Equipement Tab --}}
|
|
<div class="tab equipement" data-group="primary" data-tab="equipement">
|
|
<div><h4>Argent</h4></div>
|
|
<ul class="item-list alternate-list">
|
|
{{#each monnaies as |monnaie key|}}
|
|
<li class="item flexrow list-item" data-item-id="{{monnaie.id}}">
|
|
<img class="sheet-competence-img" src="{{monnaie.img}}"/>
|
|
<span class="generic-label">{{monnaie.name}}</span>
|
|
<span class="generic-label">{{monnaie.data.data.quantite}}
|
|
(<a class="equipement-moins plus-moins-button"> -</a>/<a class="equipement-plus plus-moins-button">+</a>)
|
|
</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>
|
|
{{/each}}
|
|
</ul>
|
|
<div><h4>Equipement (Encombrement total : {{encTotal}})</h4></div>
|
|
<ul class="item-list alternate-list">
|
|
<li class="item flexrow list-item">
|
|
<span class="equipement-label">Nom</span>
|
|
<span class="equipement-label">Quantité</span>
|
|
<span class="equipement-label">Enc.</span>
|
|
<span class="equipement-label">+/-</span>
|
|
<div class="item-controls">
|
|
<span class="equipement-label"> </span>
|
|
<span class="equipement-label"> </span>
|
|
<span class="equipement-label"> </span>
|
|
</div>
|
|
</li>
|
|
{{#each equipements as |equipement key|}}
|
|
<li class="item flexrow list-item" data-item-id="{{equipement.id}}">
|
|
<img class="sheet-competence-img" src="{{equipement.img}}"/>
|
|
<span class="equipement-label">{{equipement.name}}</span>
|
|
<span class="equipement-label">{{equipement.data.data.quantite}}</span>
|
|
<span class="equipement-label">{{equipement.data.data.enc}}</span>
|
|
<span class="equipement-label">
|
|
(<a class="equipement-moins plus-moins-button">-</a>/<a class="equipement-plus plus-moins-button">+</a>)
|
|
</span>
|
|
<div class="item-controls">
|
|
<a class="item-control item-equip" title="Worn">{{#if equipement.data.data.equipe}}<i class="fas fa-circle"></i>{{else}}<i class="fas fa-genderless"></i>{{/if}}</a>
|
|
<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>
|
|
{{/each}}
|
|
</ul>
|
|
</div>
|
|
|
|
|
|
{{!-- Biography Tab --}}
|
|
<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">
|
|
<span class="equipement-label">XP : </span>
|
|
<input type="text" name="data.xp.xp.current" value="{{data.xp.xp.current}}" data-dtype="Number"/>
|
|
<input type="text" name="data.xp.xp.total" value="{{data.xp.xp.total}}" data-dtype="Number"/>
|
|
<span class="equipement-label">Renommée : </span>
|
|
<input type="text" name="data.xp.renommee.value" value="{{data.xp.renommee.value}}" data-dtype="Number"/>
|
|
</div>
|
|
<hr>
|
|
<h3>Biodatas : </h3>
|
|
<div class="form-group editor">
|
|
<span class="equipement-label">Poids : </span>
|
|
<input type="text" name="data.biodata.poids" value="{{data.biodata.poids}}" data-dtype="String"/>
|
|
<span class="equipement-label">Taille : </span>
|
|
<input type="text" name="data.biodata.taille" value="{{data.biodata.taille}}" data-dtype="String"/>
|
|
<span class="equipement-label">Age : </span>
|
|
<input type="text" name="data.biodata.age" value="{{data.biodata.age}}" data-dtype="String"/>
|
|
</div>
|
|
<div class="form-group editor">
|
|
<span class="equipement-label">Archetype : </span>
|
|
<input type="text" name="data.biodata.archetype" value="{{data.biodata.archetype}}" data-dtype="String"/>
|
|
<span class="equipement-label">Profession : </span>
|
|
<input type="text" name="data.biodata.profession" value="{{data.biodata.profession}}" data-dtype="String"/>
|
|
<span class="equipement-label">Royaume : </span>
|
|
<input type="text" name="data.biodata.royaume" value="{{data.biodata.royaume}}" data-dtype="String"/>
|
|
</div>
|
|
<hr>
|
|
<h3>Biographie : </h3>
|
|
<div class="form-group editor">
|
|
{{editor content=data.description target="data.description" button=true owner=owner editable=editable}}
|
|
</div>
|
|
<hr>
|
|
<h3>Notes : </h3>
|
|
<div class="form-group editor">
|
|
{{editor content=data.notes target="data.notes" button=true owner=owner editable=editable}}
|
|
</div>
|
|
<hr>
|
|
<h3>Tirage des Runes: </h3>
|
|
<div class="form-group editor">
|
|
{{editor content=data.tiragerunes target="data.tiragerunes" button=true owner=owner editable=editable}}
|
|
</div>
|
|
<hr>
|
|
{{>"systems/fvtt-yggdrasill/templates/editor-notes-gm.html"}}
|
|
</article>
|
|
</div>
|
|
|
|
</section>
|
|
</form>
|
|
|