494 lines
24 KiB
HTML
494 lines
24 KiB
HTML
<form class="{{cssClass}}" autocomplete="off">
|
|
|
|
{{!-- Sheet Header --}}
|
|
<header class="sheet-header">
|
|
<div class="header-fields background-sheet-header">
|
|
<div class="flexrow">
|
|
<img class="profile-img" src="{{img}}" data-edit="img" title="{{name}}" />
|
|
<div class="flexcol">
|
|
<h1 class="charname"><input name="name" type="text" value="{{name}}" placeholder="Name" /></h1>
|
|
<div class="flexrow">
|
|
|
|
<div class="flexrow">
|
|
<ul class="item-list alternate-list">
|
|
{{#each system.caracteristiques as |carac key|}}
|
|
{{#if (eq kind "physical")}}
|
|
<li class="item flexrow ">
|
|
<h4 class="item-name-label competence-name"><a class="roll-carac" data-key="{{key}}">{{carac.label}}</a></h4>
|
|
<input type="text" class="padd-right status-small-label color-class-common item-field-label-short"
|
|
name="system.caracteristiques.{{key}}.value" value="{{carac.value}}" data-dtype="Number" />
|
|
<input type="text" class="padd-right status-small-label color-class-common item-field-label-short"
|
|
name="system.caracteristiques.{{key}}.rang" value="{{carac.rang}}" data-dtype="Number" />
|
|
</li>
|
|
{{/if}}
|
|
{{/each}}
|
|
</ul>
|
|
</div>
|
|
|
|
<div class="flexrow">
|
|
<ul class="item-list alternate-list">
|
|
{{#each system.caracteristiques as |carac key|}}
|
|
{{#if (eq kind "mental")}}
|
|
<li class="item flexrow ">
|
|
<h4 class="item-name-label competence-name"><a class="roll-carac" data-key="{{key}}">{{carac.label}}</a></h4>
|
|
<input type="text" class="padd-right status-small-label color-class-common item-field-label-short"
|
|
name="system.caracteristiques.{{key}}.value" value="{{carac.value}}" data-dtype="Number" />
|
|
<input type="text" class="padd-right status-small-label color-class-common item-field-label-short"
|
|
name="system.caracteristiques.{{key}}.rang" value="{{carac.rang}}" data-dtype="Number" />
|
|
</li>
|
|
{{/if}}
|
|
{{/each}}
|
|
</ul>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="flexrow">
|
|
<label class="item-field-label-short">PV</label>
|
|
<input type="text" class="item-field-label-short" name="system.pv.value" value="{{system.pv.value}}" data-dtype="Number" />
|
|
<input type="text" class="item-field-label-short" name="system.pv.max" value="{{system.pv.max}}" data-dtype="Number" />
|
|
<label class="item-field-label-short">Malus</label>
|
|
<input type="text" class="item-field-label-short" value="{{pvMalus}}" data-dtype="Number" disabled />
|
|
<span> </span>
|
|
<label class="item-field-label-short">Tricherie</label>
|
|
<input type="text" class="item-field-label-short" name="system.rang.tricherie.value" value="{{system.rang.tricherie.value}}" data-dtype="Number" />
|
|
<input type="text" class="item-field-label-short" name="system.rang.tricherie.max" value="{{system.rang.tricherie.max}}" data-dtype="Number" />
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
</header>
|
|
|
|
{{!-- Sheet Tab Navigation --}}
|
|
<nav class="sheet-tabs tabs" data-group="primary">
|
|
<a class="item" data-tab="competences">Compétences</a>
|
|
<a class="item" data-tab="combat">Combat</a>
|
|
<a class="item" data-tab="equipement">Equipement</a>
|
|
<a class="item" data-tab="fee">Fée</a>
|
|
<a class="item" data-tab="biodata">Bio&Notes</a>
|
|
</nav>
|
|
|
|
{{!-- Sheet Body --}}
|
|
<section class="sheet-body">
|
|
|
|
{{!-- Competence Tab --}}
|
|
<div class="tab competences" data-group="primary" data-tab="competences">
|
|
|
|
<div class="flexcol">
|
|
|
|
{{#each utileSkills as |skillList keyProfil|}}
|
|
<div class="sheet-box color-bg-archetype">
|
|
<ul class="item-list alternate-list">
|
|
<li class="item flexrow">
|
|
<span class="item-field-label-long">
|
|
<h3><label class="items-title-text">{{upperFirst keyProfil}}</label></h3>
|
|
</span>
|
|
<span class="item-field-label-short">
|
|
<label class="short-label">Niveau</label>
|
|
</span>
|
|
<div class="item-filler"> </div>
|
|
</li>
|
|
{{#each skillList as |skill key|}}
|
|
<li class="item flexrow " data-item-id="{{skill._id}}" data-item-type="competence">
|
|
<span class="item-field-label-long"><a class="roll-competence item-field-label-short"
|
|
data-attr-key="tochoose">{{skill.name}}</a></span>
|
|
<select class="item-field-label-short" type="text"
|
|
data-item-field="niveau" value="{{skill.system.niveau}}" data-dtype="Number">
|
|
{{#select skill.system.niveau}}
|
|
{{> systems/fvtt-les-heritiers/templates/partial-list-niveau.html}}
|
|
{{/select}}
|
|
</select>
|
|
|
|
<input type="checkbox" class="item-field-label-short" name="skill.system.predilection" {{checked skill.system.predilection}}/>
|
|
|
|
{{#each skill.system.specialites as |specialite key|}}
|
|
<span class="item-field-label-long2">{{specialite.name}}</span>
|
|
{{/each}}
|
|
|
|
<div class="item-controls item-controls-fixed">
|
|
<a class="item-control item-edit" title="Edit Item"><i class="fas fa-edit"></i></a>
|
|
</div>
|
|
</li>
|
|
{{/each}}
|
|
</ul>
|
|
</div>
|
|
{{/each}}
|
|
|
|
<div class="sheet-box color-bg-archetype">
|
|
<ul class="item-list alternate-list">
|
|
<li class="item flexrow">
|
|
<span class="item-field-label-long2">
|
|
<h3><label class="items-title-text">Compétences Futiles</label></h3>
|
|
</span>
|
|
<span class="item-field-label-short">
|
|
<label class="short-label">Niveau</label>
|
|
</span>
|
|
<div class="item-filler"> </div>
|
|
</li>
|
|
{{#each futileSkills as |skill key|}}
|
|
<li class="item flexrow " data-item-id="{{skill._id}}" data-item-type="competence">
|
|
<span class="item-field-label-long2"><a class="roll-competence item-field-label-short"
|
|
data-attr-key="tochoose">{{skill.name}}</a></span>
|
|
|
|
<select class="item-field-label-short" type="text"
|
|
data-item-field="niveau" value="{{skill.system.niveau}}" data-dtype="Number">
|
|
{{#select skill.system.niveau}}
|
|
{{> systems/fvtt-les-heritiers/templates/partial-list-niveau.html}}
|
|
{{/select}}
|
|
</select>
|
|
|
|
<div class="item-controls item-controls-fixed">
|
|
<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>
|
|
|
|
{{!-- Equipement Tab --}}
|
|
<div class="tab combat" data-group="primary" data-tab="combat">
|
|
|
|
<ul class="item-list alternate-list">
|
|
<li class="item flexrow">
|
|
<button class="chat-card-button roll-initiative">Initiative (actuelle : {{initiative}} )</button>
|
|
</li>
|
|
<li class="item flexrow list-item items-title-bg">
|
|
<label class="item-field-label-medium"><strong>Esquive</strong></label>
|
|
<label class="item-field-label-medium">Masquée</label>
|
|
<input type="text" class="item-field-label-short" name="system.combat.esquive.masquee" value="{{system.combat.esquive.masquee}}" data-dtype="Number" />
|
|
<label class="item-field-label-medium">Démasquée</label>
|
|
<input type="text" class="item-field-label-short" name="system.combat.esquive.demasquee" value="{{system.combat.esquive.demasquee}}" data-dtype="Number" />
|
|
<label class="item-field-label-medium"><strong>Parade</strong></label>
|
|
<input type="text" class="item-field-label-short" name="system.combat.parade.value" value="{{system.combat.parade.value}}" data-dtype="Number" />
|
|
</li>
|
|
<li class="item flexrow list-item items-title-bg">
|
|
<label class="item-field-label-long">Rés. physique</label>
|
|
<input type="text" class="item-field-label-short" name="system.combat.resistancephysique.value" value="{{system.combat.resistancephysique.value}}" data-dtype="Number" />
|
|
<label class="item-field-label-long">Rés. psychique</label>
|
|
<input type="text" class="item-field-label-short" name="system.combat.resistancepsychique.value" value="{{system.combat.resistancepsychique.value}}" data-dtype="Number" />
|
|
<label class="item-field-label-medium">Protection : </label>
|
|
<input type="text" class="item-field-label-short" name="system.combat.protection.value" value="{{system.combat.protection.value}}" data-dtype="Number" />
|
|
</li>
|
|
<li class="item flexrow list-item items-title-bg">
|
|
<label class="item-field-label-long">Effets secondaires</label>
|
|
<input type="text" class="item-field-label-short" name="system.combat.effetssecondaires" value="{{system.combat.effetssecondaires}}" data-dtype="String" />
|
|
<label class="item-field-label-long">Dissimulation : </label>
|
|
<input type="text" class="item-field-label-short" name="system.combat.dissimulation.value" value="{{system.combat.dissimulation.value}}" data-dtype="Number" />
|
|
</li>
|
|
<li class="item flexrow list-item items-title-bg">
|
|
<label class="item-field-label-long"><strong>Corps à Corps</strong></label>
|
|
<label class="item-field-label-medium">Masqué</label>
|
|
<input type="text" class="item-field-label-short" name="system.combat.corpsacorps.masquee" value="{{system.combat.corpsacorps.masquee}}" data-dtype="Number" />
|
|
<label class="item-field-label-medium">Démasqué</label>
|
|
<input type="text" class="item-field-label-short" name="system.combat.corpsacorps.demasquee" value="{{system.combat.corpsacorps.demasquee}}" data-dtype="Number" />
|
|
</li>
|
|
<li class="item flexrow list-item items-title-bg">
|
|
<label class="item-field-label-long"><strong>A distance</strong></label>
|
|
<label class="item-field-label-medium">Masqué</label>
|
|
<input type="text" class="item-field-label-short" name="system.combat.tir.masquee" value="{{system.combat.tir.masquee}}" data-dtype="Number" />
|
|
<label class="item-field-label-medium">Démasqué</label>
|
|
<input type="text" class="item-field-label-short" name="system.combat.tir.demasquee" value="{{system.combat.tir.demasquee}}" data-dtype="Number" />
|
|
</li>
|
|
</ul>
|
|
|
|
<div class="flexcol">
|
|
|
|
<div class="sheet-box color-bg-archetype">
|
|
<ul class="item-list alternate-list">
|
|
<li class="item flexrow list-item items-title-bg">
|
|
<span class="item-name-label-header">
|
|
<h3><label class="items-title-text">Armes</label></h3>
|
|
</span>
|
|
<span class="item-field-label-short">
|
|
<label class="short-label">Attaque</label>
|
|
</span>
|
|
<span class="item-field-label-short">
|
|
<label class="short-label">Défense</label>
|
|
</span>
|
|
<span class="item-field-label-short">
|
|
<label class="short-label">Dégats</label>
|
|
</span>
|
|
<div class="item-filler"> </div>
|
|
<div class="item-controls item-controls-fixed">
|
|
<a class="item-control item-add" data-type="arme" title="Ajouter une arme"><i
|
|
class="fas fa-plus"></i></a>
|
|
</div>
|
|
</li>
|
|
{{#each armes as |arme key|}}
|
|
<li class="item flexrow " data-item-id="{{arme._id}}" data-item-type="arme">
|
|
<img class="item-name-img" src="{{arme.img}}" />
|
|
<span class="item-name-label competence-name">{{arme.name}}</span>
|
|
|
|
<span class="item-field-label-short">
|
|
<button class="roll-arme-offensif button-sheet-roll">Attaquer</button>
|
|
</span>
|
|
|
|
<span class="item-field-label-short">
|
|
<button class="roll-arme-degats button-sheet-roll">{{arme.system.totalDegats}}</button>
|
|
</span>
|
|
|
|
<div class="item-filler"> </div>
|
|
<div class="item-controls item-controls-fixed">
|
|
<a class="item-control item-equip" title="Worn">{{#if arme.system.equipped}}<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 class="sheet-box color-bg-archetype">
|
|
<ul class="item-list alternate-list">
|
|
<li class="item flexrow list-item items-title-bg">
|
|
<span class="item-name-label-header">
|
|
<h3><label class="items-title-text">Protections</label></h3>
|
|
</span>
|
|
<span class="item-field-label-short">
|
|
<label class="short-label">Protection</label>
|
|
</span>
|
|
<div class="item-filler"> </div>
|
|
<div class="item-controls item-controls-fixed">
|
|
<a class="item-control item-add" data-type="arme" title="Ajouter une arme"><i
|
|
class="fas fa-plus"></i></a>
|
|
</div>
|
|
</li>
|
|
{{#each protections as |protection key|}}
|
|
<li class="item flexrow " data-item-id="{{protection._id}}" data-item-type="protection">
|
|
<img class="item-name-img" src="{{protection.img}}" />
|
|
<span class="item-name-label competence-name">{{protection.name}}</span>
|
|
<span class="item-field-label-short arme-defensif"><label
|
|
class="arme-defensif">{{protection.system.protection}}</label>
|
|
</span>
|
|
<div class="item-filler"> </div>
|
|
<div class="item-controls item-controls-fixed">
|
|
<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>
|
|
|
|
|
|
{{!-- Fee Tab --}}
|
|
<div class="tab fee" data-group="primary" data-tab="fee">
|
|
|
|
<div class="flexrow">
|
|
<li class="item flexrow " data-item-id="{{fee._id}}" data-item-type="avantage">
|
|
<img class="item-name-img" src="{{fee.img}}" />
|
|
<span class="item-field-label-long2">{{fee.name}}</span>
|
|
<div class="item-filler"> </div>
|
|
<div class="item-controls item-controls-fixed">
|
|
<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>
|
|
</div>
|
|
|
|
<div class="flexrow">
|
|
<ul>
|
|
<li class="flexrow item">
|
|
<label class="item-field-label-medium">Féerie</label>
|
|
<input type="text" class="item-field-label-short" name="system.rang.feerie.value" value="{{system.rang.feerie.value}}" data-dtype="Number" />
|
|
<input type="text" class="item-field-label-short" name="system.rang.feerie.max" value="{{system.rang.feerie.max}}" data-dtype="Number" />
|
|
<span class="item-field-label-long"></span>
|
|
<label class="item-field-label-medium">Masque</label>
|
|
<input type="text" class="item-field-label-short" name="system.rang.masque.value" value="{{system.rang.masque.value}}" data-dtype="Number" />
|
|
<input type="text" class="item-field-label-short" name="system.rang.masque.max" value="{{system.rang.masque.max}}" data-dtype="Number" />
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
|
|
<div class="flexcol">
|
|
|
|
<div class="sheet-box color-bg-archetype">
|
|
<ul class="item-list alternate-list">
|
|
<li class="item flexrow list-item items-title-bg">
|
|
<span class="item-name-label-header">
|
|
<h3><label class="items-title-text">Avantages</label></h3>
|
|
</span>
|
|
<div class="item-filler"> </div>
|
|
<div class="item-controls item-controls-fixed">
|
|
</div>
|
|
</li>
|
|
{{#each avantages as |avantage key|}}
|
|
<li class="item flexrow " data-item-id="{{avantage._id}}" data-item-type="avantage">
|
|
<img class="item-name-img" src="{{avantage.img}}" />
|
|
<span class="item-field-label-long2">{{avantage.name}}</span>
|
|
<div class="item-filler"> </div>
|
|
<div class="item-controls item-controls-fixed">
|
|
<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="sheet-box color-bg-archetype">
|
|
<ul class="item-list alternate-list">
|
|
<li class="item flexrow list-item items-title-bg">
|
|
<span class="item-name-label-header">
|
|
<h3><label class="items-title-text">Désavantages</label></h3>
|
|
</span>
|
|
<div class="item-filler"> </div>
|
|
<div class="item-controls item-controls-fixed">
|
|
</div>
|
|
</li>
|
|
{{#each desavantages as |desavantage key|}}
|
|
<li class="item flexrow " data-item-id="{{desavantage._id}}" data-item-type="desavantage">
|
|
<img class="item-name-img" src="{{desavantage.img}}" />
|
|
<span class="item-field-label-long2">{{desavantage.name}}</span>
|
|
<div class="item-filler"> </div>
|
|
<div class="item-controls item-controls-fixed">
|
|
<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="sheet-box color-bg-archetype">
|
|
<ul class="item-list alternate-list">
|
|
<li class="item flexrow list-item items-title-bg">
|
|
<span class="item-name-label-header">
|
|
<h3><label class="items-title-text">Atouts Féériques</label></h3>
|
|
</span>
|
|
<div class="item-filler"> </div>
|
|
<div class="item-controls item-controls-fixed">
|
|
</div>
|
|
</li>
|
|
{{#each atouts as |atout key|}}
|
|
<li class="item flexrow " data-item-id="{{atout._id}}" data-item-type="atout">
|
|
<img class="item-name-img" src="{{atout.img}}" />
|
|
<span class="item-field-label-long2">{{atout.name}}</span>
|
|
<div class="item-filler"> </div>
|
|
<div class="item-controls item-controls-fixed">
|
|
<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="sheet-box color-bg-archetype">
|
|
<ul class="item-list alternate-list">
|
|
<li class="item flexrow list-item items-title-bg">
|
|
<span class="item-name-label-header">
|
|
<h3><label class="items-title-text">Capacités Naturelles</label></h3>
|
|
</span>
|
|
<div class="item-filler"> </div>
|
|
<div class="item-controls item-controls-fixed">
|
|
</div>
|
|
</li>
|
|
{{#each capacites as |capa key|}}
|
|
<li class="item flexrow " data-item-id="{{capa._id}}" data-item-type="capacite">
|
|
<img class="item-name-img" src="{{capa.img}}" />
|
|
<span class="item-field-label-long2">{{capa.name}}</span>
|
|
<div class="item-filler"> </div>
|
|
<div class="item-controls item-controls-fixed">
|
|
<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>
|
|
|
|
|
|
{{!-- Biography Tab --}}
|
|
<div class="tab biodata" data-group="primary" data-tab="biodata">
|
|
|
|
<div class="flexrow">
|
|
<ul>
|
|
<li class="flexrow item">
|
|
<label class="item-field-label-long2">Traits de caractères dominants</label> <input type="text" class="" name="system.biodata.traitscaracteres" value="{{system.biodata.traitscaracteres}}" data-dtype="String" />
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
|
|
<div class="grid grid-3col">
|
|
<div>
|
|
<ul>
|
|
<li class="flexrow item">
|
|
<label class="generic-label">Sexe</label>
|
|
<input type="text" class="" name="system.biodata.sex" value="{{system.biodata.sex}}"
|
|
data-dtype="String" />
|
|
</li>
|
|
<li class="item flexrow">
|
|
<label class="generic-label">Age</label>
|
|
<input type="text" class="" name="system.biodata.age" value="{{system.biodata.age}}"
|
|
data-dtype="String" />
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div>
|
|
<ul>
|
|
<li class="item flexrow">
|
|
<label class="generic-label">Taille</label>
|
|
<input type="text" class="" name="system.biodata.size" value="{{system.biodata.size}}"
|
|
data-dtype="String" />
|
|
</li>
|
|
<li class="item flexrow">
|
|
<label class="generic-label">Cheveux</label>
|
|
<input type="text" class="" name="system.biodata.hair" value="{{system.biodata.hair}}"
|
|
data-dtype="String" />
|
|
</li>
|
|
<li class="flexrow item">
|
|
<label class="generic-label">Expérience</label>
|
|
<input type="text" class="" name="system.experience.value" value="{{system.experience.value}}"
|
|
data-dtype="String" />
|
|
</li>
|
|
|
|
</ul>
|
|
</div>
|
|
|
|
<div>
|
|
<ul>
|
|
<li class="item flexrow">
|
|
<label class="generic-label">Yeux</label>
|
|
<input type="text" class="" name="system.biodata.eyes" value="{{system.biodata.eyes}}"
|
|
data-dtype="String" />
|
|
</li>
|
|
<li class="flexrow item">
|
|
<label class="generic-label">Main préférée</label>
|
|
<input type="text" class="" name="system.biodata.preferredhand" value="{{system.biodata.preferredhand}}"
|
|
data-dtype="String" />
|
|
</li>
|
|
<li class="flexrow item">
|
|
<label class="generic-label">Poids</label>
|
|
<input type="text" class="" name="system.biodata.weight" value="{{system.biodata.weight}}"
|
|
data-dtype="String" />
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<span>
|
|
<h3>Description</h3>
|
|
</span>
|
|
<div class="medium-editor item-text-long-line">
|
|
{{editor description target="system.biodata.description" button=true owner=owner editable=editable}}
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</section>
|
|
</form> |