472 lines
21 KiB
HTML
472 lines
21 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">{{carac.label}}</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">{{carac.label}}</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>
|
|
</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="equipement">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>
|
|
</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">
|
|
{{#if arme.system.equipped}}
|
|
<button class="roll-arme-offensif button-sheet-roll">{{arme.system.totalOffensif}}</button>
|
|
{{else}}
|
|
<button disabled class="roll-arme-offensif button-sheet-roll">{{arme.system.totalOffensif}}</button>
|
|
{{/if}}
|
|
</span>
|
|
|
|
{{#if arme.system.isdefense}}
|
|
<span class="item-field-label-short arme-defensif item-field-label-short"><label
|
|
class="arme-defensif item-field-label-short defense-sheet">{{arme.system.totalDefensif}}</label></span>
|
|
{{else}}
|
|
<span class="item-field-label-short arme-defensif item-field-label-short"><label
|
|
class="arme-defensif item-field-label-short defense-sheet">N/A</label></span>
|
|
{{/if}}
|
|
|
|
<span class="item-field-label-short">
|
|
{{#if arme.system.equipped}}
|
|
<button class="roll-arme-degats button-sheet-roll">{{arme.system.totalDegats}}</button>
|
|
{{else}}
|
|
<button disabled class="roll-arme-degats button-sheet-roll">{{arme.system.totalDegats}}</button>
|
|
{{/if}}
|
|
</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>
|
|
|
|
|
|
{{!-- Equipement Tab --}}
|
|
<div class="tab equipement" data-group="primary" data-tab="equipement">
|
|
|
|
<div class="flexcol">
|
|
|
|
<hr>
|
|
<div class="sheet-box color-bg-archetype">
|
|
<h4>
|
|
<label class="argent-total-text">
|
|
Argent Total : {{richesse.po}} PO - {{richesse.pa}} PA - {{richesse.sc}} SC (total {{richesse.valueSC}}
|
|
SC)
|
|
</label>
|
|
</h4>
|
|
</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">Richesses et Argent</label></h3>
|
|
</span>
|
|
<span class="item-field-label-short">
|
|
<label class="short-label">Quantité</label>
|
|
</span>
|
|
|
|
<div class="item-filler"> </div>
|
|
<div class="item-controls item-controls-fixed">
|
|
<a class="item-control item-add" data-type="monnaie" title="Ajouter une monnaie"><i
|
|
class="fas fa-plus"></i></a>
|
|
</div>
|
|
</li>
|
|
{{#each monnaies as |monnaie key|}}
|
|
<li class="item flexrow " data-item-id="{{monnaie._id}}" data-item-type="monnaie">
|
|
<img class="item-name-img" src="{{monnaie.img}}" />
|
|
<span class="item-name-label competence-name">{{monnaie.name}}</span>
|
|
<span class="item-name-label competence-name item-field-label-medium">{{monnaie.system.quantite}}
|
|
<a class="quantity-modify plus-minus-button" data-quantite-value="-1">-</a>
|
|
<a class="quantity-modify plus-minus-button" data-quantite-value="+1">+</a>
|
|
</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>
|
|
|
|
<hr>
|
|
<div class="sheet-box color-bg-archetype">
|
|
<h4>
|
|
<label class="argent-total-text">
|
|
Valeur Total Equipement : {{valeurEquipement.po}} PO - {{valeurEquipement.pa}} PA -
|
|
{{valeurEquipement.sc}} SC (total {{valeurEquipement.valueSC}} SC)
|
|
</label>
|
|
</h4>
|
|
</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">Equipements</label></h3>
|
|
</span>
|
|
|
|
<span class="item-field-label-short">
|
|
<label class="short-label">Quantité</label>
|
|
</span>
|
|
|
|
<div class="item-filler"> </div>
|
|
<div class="item-controls item-controls-fixed">
|
|
<a class="item-control item-add" data-type="equipement" title="Ajouter un équipement"><i
|
|
class="fas fa-plus"></i></a>
|
|
</div>
|
|
</li>
|
|
{{#each equipements as |equipement key|}}
|
|
<li class="item flexrow " data-item-id="{{equipement._id}}" data-item-type="equipement">
|
|
<img class="item-name-img" src="{{equipement.img}}" />
|
|
<span class="item-name-label competence-name">{{equipement.name}}</span>
|
|
<span class="item-name-label competence-name item-field-label-medium">{{equipement.system.quantite}}
|
|
<a class="quantity-modify plus-minus-button" data-quantite-value="-1">-</a>
|
|
<a class="quantity-modify plus-minus-button" data-quantite-value="+1">+</a>
|
|
</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">Artefacts</label></h3>
|
|
</span>
|
|
|
|
<span class="item-field-label-short">
|
|
<label class="short-label">Quantité</label>
|
|
</span>
|
|
|
|
<div class="item-filler"> </div>
|
|
<div class="item-controls item-controls-fixed">
|
|
<a class="item-control item-add" data-type="artefact" title="Ajouter un artefact"><i
|
|
class="fas fa-plus"></i></a>
|
|
</div>
|
|
</li>
|
|
{{#each artefacts as |artefact key|}}
|
|
<li class="item flexrow " data-item-id="{{artefact._id}}" data-item-type="artefact">
|
|
<img class="item-name-img" src="{{artefact.img}}" />
|
|
<span class="item-name-label competence-name">{{artefact.name}}</span>
|
|
<span class="item-name-label competence-name item-field-label-medium">{{artefact.system.quantite}}
|
|
<a class="quantity-modify plus-minus-button" data-quantite-value="-1">-</a>
|
|
<a class="quantity-modify plus-minus-button" data-quantite-value="+1">+</a>
|
|
</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>
|
|
<ul class="item-list alternate-list">
|
|
{{#each historiques as |historique key|}}
|
|
<li class="item flexrow" data-item-id="{{historique._id}}">
|
|
<label class="generic-label">Historique : </label>
|
|
<label class="generic-label">{{historique.name}}</label>
|
|
<label></label>
|
|
<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}}
|
|
{{#each profils as |profil key|}}
|
|
<li class="item flexrow" data-item-id="{{profil._id}}">
|
|
<label class="generic-label">Profil : </label>
|
|
<label class="generic-label">{{profil.name}}</label>
|
|
<label></label>
|
|
<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="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>
|
|
</ul>
|
|
</div>
|
|
|
|
<div>
|
|
<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>
|
|
</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> |