fvtt-hawkmoon-cyd/templates/actor-sheet.html

637 lines
30 KiB
HTML
Raw Permalink Normal View History

2022-10-22 11:09:48 +02:00
<form class="{{cssClass}}" autocomplete="off">
{{!-- Sheet Header --}}
<header class="sheet-header">
2022-11-14 15:27:19 +01:00
<div class="header-fields background-sheet-header">
2022-10-22 11:09:48 +02:00
<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">
<ul class="item-list alternate-list">
<li class="item flexrow ">
<h4 class="item-name-label competence-name">Bonne Aventure</h4>
<label class="item-name-label competence-name item-field-label-short">Base</label>
<input type="text" class="padd-right status-small-label color-class-common item-field-label-short"
2022-10-23 21:26:18 +02:00
name="system.bonneaventure.base" value="{{system.bonneaventure.base}}" data-dtype="Number" />
2022-10-22 11:09:48 +02:00
<label class="item-name-label competence-name item-field-label-short">Actuelle</label>
<input type="text" class="padd-right status-small-label color-class-common item-field-label-short"
2022-10-23 21:26:18 +02:00
name="system.bonneaventure.actuelle" value="{{system.bonneaventure.actuelle}}" data-dtype="Number" />
2022-10-22 11:09:48 +02:00
</li>
<li class="item flexrow ">
<h4 class="item-name-label competence-name item-field-label-medium">Expérience</h4>
<input type="text" class="padd-right status-small-label color-class-common item-field-label-short"
2022-10-23 21:26:18 +02:00
name="system.experience.value" value="{{system.experience.value}}" data-dtype="Number" />
<h4 class="item-name-label competence-name item-field-label-medium">Eclat</h4>
<input type="text" class="padd-right status-small-label color-class-common item-field-label-short"
name="system.eclat.value" value="{{system.eclat.value}}" data-dtype="Number" />
</li>
2022-11-14 15:27:19 +01:00
<li class="item flexrow">
<h4 class="item-name-label competence-name item-field-label-medium">Vigueur</h4>
<label class="status-small-label color-class-common item-field-label-short">{{system.sante.vigueur}}</label>
<h4 class="item-name-label competence-name item-field-label-medium">Etat</h4>
<select class="status-small-label color-class-common item-field-label-medium" type="text" name="system.sante.etat"
value="{{system.sante.etat}}" data-dtype="Number">
2024-06-01 09:17:57 +02:00
{{selectOptions combativiteList selected=system.sante.etat valueAttr="value" nameAttr="value" labelAttr="label"}}
2022-11-14 15:27:19 +01:00
</select>
</li>
2022-10-22 11:09:48 +02:00
</ul>
</div>
</div>
</div>
</header>
{{!-- Sheet Tab Navigation --}}
<nav class="sheet-tabs tabs" data-group="primary">
<a class="item" data-tab="principal">Attributs</a>
<a class="item" data-tab="competences">Compétences</a>
2022-11-14 15:27:19 +01:00
<a class="item" data-tab="combat">Combat</a>
2022-10-22 11:09:48 +02:00
<a class="item" data-tab="equipement">Equipement</a>
<a class="item" data-tab="biodata">Bio&Notes</a>
</nav>
{{!-- Sheet Body --}}
<section class="sheet-body">
{{!-- Main Tab --}}
<div class="tab principal" data-group="primary" data-tab="principal">
2022-11-14 15:27:19 +01:00
<div class="flexcol">
<div class="grid grid-2col">
2022-10-22 11:09:48 +02:00
2022-11-14 15:27:19 +01:00
<div class="sheet-box color-bg-archetype">
<ul class="item-list alternate-list">
{{#each system.attributs as |attr key|}}
<li class="item flexrow " data-attr-key="{{key}}">
<img class="item-name-img" src="systems/fvtt-hawkmoon-cyd/assets/icons/{{attr.labelnorm}}.webp">
2024-02-24 15:54:47 +01:00
<span data-tooltip="Cliquez pour faire un jet" class="item-name-label competence-name item-field-label-medium"><a
2022-11-14 15:27:19 +01:00
class="roll-attribut">{{attr.label}}</a></span>
<select class="status-small-label color-class-common edit-item-data competence-niveau" type="text"
name="system.attributs.{{key}}.value" value="{{attr.value}}" data-dtype="Number">
2024-05-05 18:06:29 +02:00
{{selectOptions @root.config.listeNiveauSkill selected=attr.value}}
2022-11-14 15:27:19 +01:00
</select>
</li>
{{/each}}
2022-11-13 23:01:41 +01:00
2022-11-17 22:35:30 +01:00
<li class="item flexrow">
<img class="item-name-img" src="systems/fvtt-hawkmoon-cyd/assets/icons/vitesse.webp">
2022-11-14 15:27:19 +01:00
<span class="item-name-label competence-name item-field-label-medium">Vitesse</span>
<input type="text" class="padd-right numeric-input item-field-label-short" name="system.vitesse.value"
value="{{system.vitesse.value}}" data-dtype="Number" />
</li>
</ul>
</div>
<div class="sheet-box color-bg-archetype">
2022-11-13 23:01:41 +01:00
2022-11-14 15:27:19 +01:00
<h4 class="item-name-label competence-name">Adversités</h4>
<ul class="item-list alternate-list">
{{#each system.adversite as |adv key|}}
<li class="item flexrow" data-adversite="{{key}}">
<a class="adversite-modify plus-minus-button" data-adversite-value="-1">-</a>
<div class="icon-adversite-container">
<img class="icon-adversite" src="systems/fvtt-hawkmoon-cyd/assets/icons/gemme_{{key}}.webp">
<div class="adversite-text">{{adv}}</div>
</div>
<a class="adversite-modify plus-minus-button" data-adversite-value="1">+</a>
<div class="">&nbsp;</div>
<div class="">&nbsp;</div>
<div class="">&nbsp;</div>
</li>
{{/each}}
</ul>
2023-08-16 10:32:02 +02:00
{{#if isGM}}
<div class="flexrow">
<span class="item-name-label competence-name item-field-label-medium">Modificateur de Vigueur</span>
<input type="text" class="item-field-label-short" name="system.sante.vigueurmodifier"
value="{{system.sante.vigueurmodifier}}" data-dtype="Number" />
2023-08-16 10:32:02 +02:00
</div>
{{/if}}
2022-11-14 15:27:19 +01:00
</div>
2022-10-22 11:09:48 +02:00
</div>
2022-11-09 23:48:08 +01:00
<div class="sheet-box color-bg-archetype">
<ul class="item-list alternate-list">
2022-11-14 15:27:19 +01:00
<li class="item flexrow">
<span class="item-name-label-header">
<h3><label class="items-title-text">Talents</label></h3>
</span>
<span class="item-field-label-short">
<label class="short-label">Résumé</label>
</span>
<div class="item-filler">&nbsp;</div>
2024-02-15 11:47:15 +01:00
<div class="item-controls item-controls-fixed">
<a class="item-control item-add" data-type="talent" title="Ajouter un Talent"><i
class="fas fa-plus"></i></a>
</div>
2022-11-09 23:48:08 +01:00
</li>
2022-11-14 15:27:19 +01:00
{{#each talents as |talent key|}}
2024-02-24 15:54:47 +01:00
<li class="item flexrow " data-item-id="{{talent._id}}" data-item-type="talent">
2022-11-14 15:27:19 +01:00
<img class="item-name-img" src="{{talent.img}}" />
<span class="item-name-label competence-name">{{talent.name}}</span>
<span class="item-name-label item-field-label-long2">{{talent.system.resumebonus}}</span>
2022-11-09 23:48:08 +01:00
2022-11-14 15:27:19 +01:00
<div class="item-filler">&nbsp;</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>
2022-10-23 21:26:18 +02:00
</li>
2022-11-14 15:27:19 +01:00
{{/each}}
2022-10-22 11:09:48 +02:00
</ul>
2022-11-14 15:27:19 +01:00
</div>
2022-10-22 11:09:48 +02:00
2024-02-24 15:54:47 +01:00
{{#if (count mutations)}}
<div class="sheet-box color-bg-archetype">
<ul class="item-list alternate-list">
<li class="item flexrow">
<span class="item-name-label-header">
<h3><label class="items-title-text">Mutations</label></h3>
</span>
<span class="item-field-label-long">
<label class="short-label">Catégorie</label>
</span>
<div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed">
<a class="item-control item-add" data-type="mutation" title="Ajouter une Mutation"><i
class="fas fa-plus"></i></a>
</div>
</li>
{{#each mutations as |mutation key|}}
<li class="item flexrow " data-item-id="{{mutation._id}}" data-item-type="mutation">
<img class="item-name-img" src="{{mutation.img}}" />
<span class="item-name-label competence-name">{{mutation.name}}</span>
<span class="item-name-label item-field-label-long2">{{mutation.system.mutationcategorie}}</span>
<div class="item-filler">&nbsp;</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>
{{/if}}
2022-11-14 15:27:19 +01:00
<div class="flexrow">
<div class="sheet-box color-bg-archetype">
<ul class="item-list alternate-list">
<li class="item flexrow">
<span class="item-name-label-header">
<h3><label class="items-title-text">Talents de Cellule</label></h3>
</span>
<span class="item-field-label-short">
<label class="short-label">Résumé</label>
</span>
<div class="item-filler">&nbsp;</div>
2024-02-15 11:47:15 +01:00
<div class="item-controls item-controls-fixed">
<a class="item-control item-add" data-type="talent" title="Ajouter un Talent"><i
class="fas fa-plus"></i></a>
</div>
</li>
2022-11-14 15:27:19 +01:00
{{#each talentsCell as |talent key|}}
<li class="item flexrow " data-item-id="{{talent._id}}" data-item-type="competence">
<img class="item-name-img" src="{{talent.img}}" />
<span class="item-name-label competence-name">{{talent.name}}</span>
<span class="item-name-label item-field-label-long2">{{talent.system.resumebonus}}</span>
<div class="item-filler">&nbsp;</div>
<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>
2022-11-13 23:01:41 +01:00
2022-10-22 11:09:48 +02:00
</div>
</div>
</div>
{{!-- Competence Tab --}}
<div class="tab competences" data-group="primary" data-tab="competences">
<div class="flexrow">
<div class="sheet-box color-bg-archetype">
<ul class="item-list alternate-list">
<li class="item flexrow">
<span class="item-name-label-header">
<h3><label class="items-title-text">Compétences</label></h3>
</span>
<span class="item-field-label-short">
<label class="short-label">Niveau</label>
</span>
<div class="item-filler">&nbsp;</div>
</li>
{{#each skills as |skill key|}}
<li class="item flexrow " data-item-id="{{skill._id}}" data-item-type="competence">
<img class="item-name-img" src="{{skill.img}}" />
2024-05-30 08:30:29 +02:00
2023-12-19 21:52:59 +01:00
<div class="flexcol item-name-label">
<span class="item-name-label competence-name"><a class="roll-competence item-field-label-short"
2022-10-22 11:09:48 +02:00
data-attr-key="tochoose">{{skill.name}}</a></span>
2023-12-19 21:52:59 +01:00
<span class="predilection-text">
{{#each skill.system.predilections as |pred key|}}
2023-12-21 21:02:11 +01:00
{{#if (and pred.acquise (not pred.used))}}
2023-12-19 21:52:59 +01:00
{{pred.name}},
{{/if}}
{{/each}}
</span>
</div>
2022-10-22 11:09:48 +02:00
<select class="status-small-label color-class-common edit-item-data competence-niveau" type="text"
data-item-field="niveau" value="{{skill.system.niveau}}" data-dtype="Number">
2024-05-05 18:06:29 +02:00
{{selectOptions @root.config.listeNiveauSkill selected=skill.system.niveau}}
2022-10-22 11:09:48 +02:00
</select>
{{#if (ne skill.system.attribut1 "none")}}
2022-11-14 15:27:19 +01:00
<button class="roll-competence button-sheet-roll" data-attr-key="{{skill.system.attribut1}}">{{upper
skill.system.attribut1}} : {{skill.system.attribut1total}}</button>
2022-10-22 11:09:48 +02:00
{{/if}}
{{#if (ne skill.system.attribut2 "none")}}
2022-11-14 15:27:19 +01:00
<button class="roll-competence button-sheet-roll" data-attr-key="{{skill.system.attribut2}}">{{upper
skill.system.attribut2}} : {{skill.system.attribut2total}}</button>
2022-10-22 11:09:48 +02:00
{{/if}}
{{#if (ne skill.system.attribut3 "none")}}
2022-11-14 15:27:19 +01:00
<button class="roll-competence button-sheet-roll" data-attr-key="{{skill.system.attribut3}}">{{upper
skill.system.attribut3}} : {{skill.system.attribut3total}}</button>
2022-10-22 11:09:48 +02:00
{{/if}}
<div class="item-filler">&nbsp;</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 --}}
2022-11-14 15:27:19 +01:00
<div class="tab combat" data-group="primary" data-tab="combat">
<ul class="item-list alternate-list">
<li class="item flexrow">
2022-12-03 23:13:08 +01:00
<button class="chat-card-button roll-initiative">Initiative (actuelle : {{initiative}} )</button>
<label class="item-field-label-short">&nbsp</label>
<label class="item-field-label-short">Monté?</label>
<input type="checkbox" name="system.combat.monte" {{checked system.combat.monte}} />
<label class="item-field-label-short">&nbsp</label>
<label class="item-field-label-medium">Défense totale?</label>
<input type="checkbox" name="system.combat.defensetotale" {{checked system.combat.defensetotale}} />
</li>
<li class="item flexrow">
2024-05-30 08:30:29 +02:00
<button class="chat-card-button roll-assommer">Assommer</button>
<button class="chat-card-button roll-coup-bas">Coup bas</button>
<button class="chat-card-button roll-immobiliser">Immobiliser</button>
<button class="chat-card-button roll-repousser">Repousser</button>
<button class="chat-card-button roll-desengager">Se désengager</button>
2022-11-14 15:27:19 +01:00
</li>
</ul>
2022-10-22 11:09:48 +02:00
<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">&nbsp;</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}}
2022-10-23 21:26:18 +02:00
<button class="roll-arme-offensif button-sheet-roll">{{arme.system.totalOffensif}}</button>
2022-10-22 11:09:48 +02:00
{{else}}
2022-10-23 21:26:18 +02:00
<button disabled class="roll-arme-offensif button-sheet-roll">{{arme.system.totalOffensif}}</button>
2022-10-22 11:09:48 +02:00
{{/if}}
</span>
{{#if arme.system.isdefense}}
2022-11-13 23:01:41 +01:00
<span class="item-field-label-short arme-defensif item-field-label-short"><label
2022-12-21 19:15:03 +01:00
class="arme-defensif item-field-label-short defense-sheet">{{arme.system.totalDefensif}}</label></span>
2022-10-22 11:09:48 +02:00
{{else}}
2022-12-21 19:15:03 +01:00
<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}}
2022-10-22 11:09:48 +02:00
2022-10-23 21:26:18 +02:00
<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>
2022-10-22 11:09:48 +02:00
2022-10-23 21:26:18 +02:00
<div class="item-filler">&nbsp;</div>
2022-10-22 11:09:48 +02:00
<div class="item-controls item-controls-fixed">
2024-05-24 08:24:40 +02:00
<a class="item-control item-equip" title="Equipé">{{#if arme.system.equipped}}<i
2022-10-23 21:26:18 +02:00
class="fas fa-circle"></i>{{else}}<i class="fas fa-genderless"></i>{{/if}}</a>
2024-05-24 08:24:40 +02:00
<a class="item-control item-edit" title="Editer l' Item"><i class="fas fa-edit"></i></a>
<a class="item-control item-delete" title="Supprimer l'Item"><i class="fas fa-trash"></i></a>
2022-10-22 11:09:48 +02:00
</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">&nbsp;</div>
<div class="item-controls item-controls-fixed">
2023-03-14 07:13:33 +01:00
<a class="item-control item-add" data-type="protection" title="Ajouter une arme"><i
2022-10-22 11:09:48 +02:00
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">&nbsp;</div>
<div class="item-controls item-controls-fixed">
2024-05-24 08:24:40 +02:00
<a class="item-control item-equip" title="Equipé">{{#if protection.system.equipped}}<i
2024-02-15 11:47:15 +01:00
class="fas fa-circle"></i>{{else}}<i class="fas fa-genderless"></i>{{/if}}</a>
2024-05-24 08:24:40 +02:00
<a class="item-control item-edit" title="Editer l'Item"><i class="fas fa-edit"></i></a>
<a class="item-control item-delete" title="Supprimer l'Item"><i class="fas fa-trash"></i></a>
2022-10-22 11:09:48 +02:00
</div>
</li>
{{/each}}
</ul>
</div>
2022-11-14 15:27:19 +01:00
</div>
</div>
{{!-- Equipement Tab --}}
<div class="tab equipement" data-group="primary" data-tab="equipement">
<div class="flexcol">
2022-12-03 23:57:30 +01:00
<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">&nbsp;</div>
<div class="item-controls item-controls-fixed">
2022-12-19 10:15:46 +01:00
<a class="item-control item-add" data-type="monnaie" title="Ajouter une monnaie"><i
2022-12-03 23:57:30 +01:00
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">&nbsp;</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>
2022-10-22 11:09:48 +02:00
<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>
2022-12-03 23:57:30 +01:00
<span class="item-field-label-short">
<label class="short-label">Quantité</label>
</span>
2022-10-22 11:09:48 +02:00
<div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed">
2022-12-19 10:15:46 +01:00
<a class="item-control item-add" data-type="equipement" title="Ajouter un équipement"><i
2022-10-22 11:09:48 +02:00
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>
2022-12-03 23:57:30 +01:00
<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">&nbsp;</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">&nbsp;</div>
<div class="item-controls item-controls-fixed">
2022-12-19 10:15:46 +01:00
<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>
2022-12-03 23:57:30 +01:00
<a class="quantity-modify plus-minus-button" data-quantite-value="+1">+</a>
</span>
2022-10-22 11:09:48 +02:00
<div class="item-filler">&nbsp;</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">
2022-11-13 23:01:41 +01:00
<div>
<ul class="item-list alternate-list">
2022-12-11 18:42:16 +01:00
{{#each historiques as |historique key|}}
2022-11-13 23:01:41 +01:00
<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>
2022-12-11 18:42:16 +01:00
{{/each}}
2022-11-13 23:01:41 +01:00
{{#each profils as |profil key|}}
2022-11-14 15:27:19 +01:00
<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>
2022-11-13 23:01:41 +01:00
{{/each}}
</ul>
</div>
2022-10-22 11:09:48 +02:00
2022-11-13 23:01:41 +01:00
<div class="grid grid-3col">
2022-10-22 11:09:48 +02:00
<div>
<ul>
2023-03-26 20:33:57 +02:00
<li class="flexrow item">
<label class="generic-label">Statut de résistant</label>
2024-05-05 18:06:29 +02:00
<select class="status-small-label color-class-common item-field-label-long" type="text" name="system.biodata.statutresistant" data-dtype="String">
{{selectOptions config.optionsStatutResistant selected=system.biodata.statutresistant valueAttr="key" nameAttr="key" labelAttr="label"}}
2023-03-26 20:33:57 +02:00
</select>
</li>
2022-10-22 11:09:48 +02:00
<li class="flexrow item">
<label class="generic-label">Sexe</label>
2022-11-13 23:01:41 +01:00
<input type="text" class="" name="system.biodata.sex" value="{{system.biodata.sex}}"
2022-10-23 21:26:18 +02:00
data-dtype="String" />
2022-10-22 11:09:48 +02:00
</li>
<li class="item flexrow">
<label class="generic-label">Age</label>
2022-11-13 23:01:41 +01:00
<input type="text" class="" name="system.biodata.age" value="{{system.biodata.age}}"
2022-10-23 21:26:18 +02:00
data-dtype="String" />
2022-10-22 11:09:48 +02:00
</li>
2022-11-13 23:01:41 +01:00
</ul>
</div>
<div>
<ul>
2022-10-22 11:09:48 +02:00
<li class="item flexrow">
<label class="generic-label">Taille</label>
2022-11-13 23:01:41 +01:00
<input type="text" class="" name="system.biodata.size" value="{{system.biodata.size}}"
2022-10-23 21:26:18 +02:00
data-dtype="String" />
2022-10-22 11:09:48 +02:00
</li>
<li class="item flexrow">
<label class="generic-label">Cheveux</label>
2022-11-13 23:01:41 +01:00
<input type="text" class="" name="system.biodata.hair" value="{{system.biodata.hair}}"
2022-10-23 21:26:18 +02:00
data-dtype="String" />
2022-10-22 11:09:48 +02:00
</li>
</ul>
</div>
<div>
<li class="item flexrow">
<label class="generic-label">Yeux</label>
2022-11-13 23:01:41 +01:00
<input type="text" class="" name="system.biodata.eyes" value="{{system.biodata.eyes}}"
2022-10-23 21:26:18 +02:00
data-dtype="String" />
2022-10-22 11:09:48 +02:00
</li>
<li class="flexrow item">
<label class="generic-label">Main préférée</label>
2022-11-13 23:01:41 +01:00
<input type="text" class="" name="system.biodata.preferredhand" value="{{system.biodata.preferredhand}}"
2022-10-22 11:09:48 +02:00
data-dtype="String" />
</li>
<li class="flexrow item">
<label class="generic-label">Poids</label>
2022-11-13 23:01:41 +01:00
<input type="text" class="" name="system.biodata.weight" value="{{system.biodata.weight}}"
2022-10-22 11:09:48 +02:00
data-dtype="String" />
</li>
</div>
</div>
<span>
<h3>Description</h3>
</span>
<div class="medium-editor item-text-long-line">
2022-11-13 23:01:41 +01:00
{{editor description target="system.biodata.description" button=true owner=owner editable=editable}}
2022-10-22 11:09:48 +02:00
</div>
</div>
</section>
</form>