fvtt-mournblade/templates/actor-sheet.html

414 lines
19 KiB
HTML
Raw Normal View History

2022-05-27 09:45:09 +02:00
<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}}" />
2022-06-06 18:49:39 +02:00
<div class="flexcol">
<h1 class="charname"><input name="name" type="text" value="{{name}}" placeholder="Name" /></h1>
2022-06-05 16:35:25 +02:00
<div class="flexrow">
<span class="flexrow">
2022-06-06 18:49:39 +02:00
<h4 class="item-name-label competence-name item-field-label-short">{{upperFirst alignement}}</h4>
<label class="item-name-label competence-name item-field-label-short">Loi</label>
<select class="status-small-label color-class-common item-field-label-short" type="text"
name="data.balance.loi" value="{{data.balance.loi}}" data-dtype="Number">
{{#select data.balance.loi}}
{{> systems/fvtt-mournblade/templates/partial-list-niveau.html}}
{{/select}}
2022-06-05 16:35:25 +02:00
</select>
2022-06-06 18:49:39 +02:00
<label class="item-name-label competence-name item-field-label-short">Chaos</label>
<select class="status-small-label color-class-common item-field-label-short" type="text"
name="data.balance.chaos" value="{{data.balance.chaos}}" data-dtype="Number">
{{#select data.balance.chaos}}
{{> systems/fvtt-mournblade/templates/partial-list-niveau.html}}
{{/select}}
2022-06-05 16:35:25 +02:00
</select>
2022-06-06 18:49:39 +02:00
</span>
</div>
<div class="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"
name="data.bonneaventure.base" value="{{data.bonneaventure.base}}" data-dtype="Number" />
<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"
name="data.bonneaventure.actuelle" value="{{data.bonneaventure.actuelle}}" data-dtype="Number" />
</div>
<div class="flexrow">
<h4 class="item-name-label competence-name item-field-label-short">Eclat</h4>
<input type="text" class="padd-right status-small-label color-class-common item-field-label-short"
name="data.eclat.value" value="{{data.eclat.value}}" data-dtype="Number" />
2022-06-04 21:22:51 +02:00
2022-06-06 18:49:39 +02:00
<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"
name="data.experience.value" value="{{data.experience.value}}" data-dtype="Number" />
</div>
2022-06-05 16:35:25 +02:00
2022-06-06 18:49:39 +02:00
</div>
2022-05-27 09:45:09 +02:00
</div>
</header>
2022-06-04 21:06:01 +02:00
{{!-- Sheet Tab Navigation --}}
<nav class="sheet-tabs tabs" data-group="primary">
2022-06-05 16:35:25 +02:00
<a class="item" data-tab="principal">Attributs</a>
2022-06-04 21:06:01 +02:00
<a class="item" data-tab="competences">Compétences</a>
2022-06-06 18:49:39 +02:00
<a class="item" data-tab="dons">Dons/Pactes</a>
2022-06-04 21:06:01 +02:00
<a class="item" data-tab="equipement">Equipement</a>
<a class="item" data-tab="biodata">Bio&Notes</a>
2022-06-06 18:49:39 +02:00
</nav>
2022-06-04 21:06:01 +02:00
2022-05-27 09:45:09 +02:00
{{!-- Sheet Body --}}
<section class="sheet-body">
2022-05-29 17:55:22 +02:00
{{!-- Main Tab --}}
2022-05-27 09:45:09 +02:00
<div class="tab principal" data-group="primary" data-tab="principal">
2022-06-06 18:49:39 +02:00
<div class="grid grid-2col">
2022-05-27 09:45:09 +02:00
2022-05-30 07:43:49 +02:00
<div class="sheet-box color-bg-archetype">
<ul class="item-list alternate-list">
2022-06-06 18:49:39 +02:00
{{#each data.attributs as |attr key|}}
<li class="item flexrow " data-attr-key="{{key}}">
2022-06-04 21:22:51 +02:00
<img class="item-name-img" src="systems/fvtt-mournblade/assets/icons/{{attr.labelnorm}}.webp">
2022-06-06 18:49:39 +02:00
<span class="item-name-label competence-name item-field-label-medium"><a
class="roll-attribut">{{attr.label}}</a></span>
<select class="status-small-label color-class-common item-field-label-short" type="text"
name="data.attributs.{{key}}.value" value="{{attr.value}}" data-dtype="Number">
{{#select attr.value}}
2022-06-04 21:06:01 +02:00
{{> systems/fvtt-mournblade/templates/partial-list-niveau.html}}
{{/select}}
2022-06-04 21:06:01 +02:00
</select>
2022-05-30 07:43:49 +02:00
</li>
2022-05-29 17:55:22 +02:00
{{/each}}
2022-05-30 07:43:49 +02:00
</ul>
</div>
2022-05-27 09:45:09 +02:00
2022-06-06 18:49:39 +02:00
<div class="sheet-box color-bg-archetype">
<h4 class="item-name-label competence-name">Santé</h4>
2022-06-06 18:49:39 +02:00
<ul class="item-list alternate-list">
<li class="item flexrow">
<label class="competence-name">Base</label>
<input type="text" class="input-numeric-short" name="data.sante.base"
value="{{data.sante.base}}" data-dtype="Number" />
</li>
<li class="item flexrow">
<label class="competence-name">Non létaux</label>
<input type="text" class="input-numeric-short" name="data.sante.nonletaux"
value="{{data.sante.nonletaux}}" data-dtype="Number" />
</li>
<li class="item flexrow">
<label class="competence-name">Létaux</label>
<input type="text" class="input-numeric-short" name="data.sante.letaux"
value="{{data.sante.letaux}}" data-dtype="Number" />
</li>
</ul>
<h4 class="item-name-label competence-name">Ame</h4>
2022-06-06 18:49:39 +02:00
<ul class="item-list alternate-list">
<li class="item flexrow">
<label class="competence-name">Base</label>
<input type="text" class="input-numeric-short" name="data.ame.base"
value="{{data.ame.base}}" data-dtype="Number" />
</li>
<li class="item flexrow">
<label class="competence-name">Courante</label>
<input type="text" class="input-numeric-short" name="data.ame.value"
value="{{data.ame.value}}" data-dtype="Number" />
</li>
</ul>
2022-06-06 18:49:39 +02:00
<h4 class="item-name-label competence-name">Combat</h4>
<ul class="item-list alternate-list">
<li class="item flexrow">
<label class="competence-name">Initiative</label>
<label class="competence-name">{{combat.initBase}}</label>
<input type="text" class="input-numeric-short" name="data.combat.initbonus" value="{{data.combat.initbonus}}" data-dtype="Number" />
<label class="competence-name">{{combat.initTotal}}</label>
</li>
<li class="item flexrow">
<label class="competence-name">B. Dégats</label>
<label class="competence-name">+{{combat.bonusDegats}}</label>
<input type="text" class="input-numeric-short"
name="data.combat.bonusdegats" value="{{data.combat.bonusdegats}}" data-dtype="Number" />
<label class="competence-name">+{{combat.bonusDegatsTotal}}</label>
</li>
<li class="item flexrow">
<label class="competence-name">Vitesse</label>
<label class="competence-name">{{combat.vitesseBase}}</label>
<input type="text" class="input-numeric-short"
name="data.combat.vitessebonus" value="{{data.combat.vitessebonus}}" data-dtype="Number" />
<label class="competence-name">{{combat.vitesseTotal}}</label>
</li>
<li class="item flexrow">
<label class="competence-name">Défense</label>
<label class="competence-name">{{combat.defenseBase}}</label>
<input type="text" class="input-numeric-short"
name="data.combat.defensebonus" value="{{data.combat.defensebonus}}" data-dtype="Number" />
<label class="competence-name">{{combat.defenseTotal}}</label>
</li>
</ul>
</div>
2022-05-27 09:45:09 +02:00
2022-05-30 07:43:49 +02:00
</div>
2022-05-27 09:45:09 +02:00
</div>
2022-05-29 17:55:22 +02:00
{{!-- Competence Tab --}}
<div class="tab competences" data-group="primary" data-tab="competences">
2022-05-27 09:45:09 +02: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">
2022-06-01 22:37:33 +02:00
<h3><label class="items-title-text">Compétences</label></h3>
2022-05-27 09:45:09 +02:00
</span>
<span class="item-field-label-short">
2022-06-01 22:37:33 +02:00
<label class="short-label">Niveau</label>
2022-05-27 09:45:09 +02:00
</span>
<div class="item-filler">&nbsp;</div>
</li>
2022-06-01 22:37:33 +02:00
{{#each skills as |skill key|}}
2022-06-04 21:06:01 +02:00
<li class="item flexrow " data-item-id="{{skill._id}}" data-item-type="competence">
2022-06-01 22:37:33 +02:00
<img class="item-name-img" src="{{skill.img}}" />
2022-06-06 18:49:39 +02:00
<span class="item-name-label competence-name"><a class="roll-competence"
data-attr-key="tochoose">{{skill.name}}</a></span>
<select class="status-small-label color-class-common edit-item-data competence-niveau" type="text"
data-item-field="niveau" value="{{skill.data.niveau}}" data-dtype="Number">
2022-06-04 21:06:01 +02:00
{{#select skill.data.niveau}}
{{> systems/fvtt-mournblade/templates/partial-list-niveau.html}}
{{/select}}
</select>
{{#if (ne skill.data.attribut1 "none")}}
2022-06-06 18:49:39 +02:00
<span class="item-field-label-short">
<button class="roll-competence button-sheet-roll" data-attr-key="{{skill.data.attribut1}}">{{upper
skill.data.attribut1}} : {{skill.data.attribut1total}}</button>
</span>
2022-06-04 21:06:01 +02:00
{{/if}}
{{#if (ne skill.data.attribut2 "none")}}
2022-06-06 18:49:39 +02:00
<span class="item-field-label-short">
<button class="roll-competence button-sheet-roll" data-attr-key="{{skill.data.attribut2}}">{{upper
skill.data.attribut2}} : {{skill.data.attribut2total}}</button>
</span>
2022-06-04 21:06:01 +02:00
{{/if}}
{{#if (ne skill.data.attribut3 "none")}}
2022-06-06 18:49:39 +02:00
<span class="item-field-label-short">
<button class="roll-competence button-sheet-roll" data-attr-key="{{skill.data.attribut3}}">{{upper
skill.data.attribut3}} : {{skill.data.attribut3total}}</button>
</span>
{{/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>
{{!-- Dons/Pactes Tab --}}
<div class="tab dons" data-group="primary" data-tab="dons">
<div class="flexrow">
<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">Dons</label></h3>
</span>
<span class="item-field-label-short">
<label class="short-label">Allégeance</label>
</span>
<div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed">
</div>
</li>
{{#each dons as |don key|}}
<li class="item flexrow " data-item-id="{{don._id}}" data-item-type="don">
<img class="item-name-img" src="{{don.img}}" />
<span class="item-name-label competence-name">{{don.name}}</span>
<span class="item-field-label-short">{{don.data.allegeance}}</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>
</div>
{{!-- Equipement Tab --}}
<div class="tab equipement" data-group="primary" data-tab="equipement">
<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">
<button class="roll-arme-offensif button-sheet-roll">{{arme.data.totalOffensif}}</button>
</span>
{{#if arme.data.isdefense}}
<span class="item-field-label-short arme-defensif"><label
class="arme-defensif">{{arme.data.totalDefensif}}</label></span>
2022-06-04 21:06:01 +02:00
{{else}}
2022-06-06 18:49:39 +02:00
<span class="item-field-label-short arme-defensif"><label class="arme-defensif">-</label></span>
2022-06-04 21:06:01 +02:00
{{/if}}
2022-06-06 18:49:39 +02:00
<span class="item-field-label-short">
<button class="roll-arme-degats button-sheet-roll">{{arme.data.totalDegats}}</button>
</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">Protections</label></h3>
</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 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>
<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>
2022-05-27 09:45:09 +02:00
2022-06-06 18:49:39 +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>
<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 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-05-27 09:45:09 +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>
2022-06-06 18:49:39 +02:00
2022-05-27 09:45:09 +02:00
{{!-- Biography Tab --}}
<div class="tab biodata" data-group="primary" data-tab="biodata">
<div class="grid grid-3col">
<div>
<ul class="item-list alternate-list">
<li class="item flexrow">
<label class="generic-label">Age</label>
<input type="text" class="" name="data.biodata.age" value="{{data.biodata.age}}" data-dtype="String" />
2022-05-27 09:45:09 +02:00
</li>
<li class="item flexrow">
<label class="generic-label">Taille</label>
<input type="text" class="" name="data.biodata.size" value="{{data.biodata.size}}" data-dtype="String" />
2022-05-27 09:45:09 +02:00
</li>
<li class="item flexrow">
<label class="generic-label">Cheveux</label>
<input type="text" class="" name="data.biodata.hair" value="{{data.biodata.hair}}" data-dtype="String" />
2022-05-27 09:45:09 +02:00
</li>
2022-06-04 21:06:01 +02:00
</ul>
2022-05-27 09:45:09 +02:00
</div>
<div>
<ul>
<li class="flexrow item">
<label class="generic-label">Poids</label>
<input type="text" class="" name="data.biodata.weight" value="{{data.biodata.weight}}"
data-dtype="String" />
</li>
<li class="flexrow item">
<label class="generic-label">Sexe</label>
<input type="text" class="" name="data.biodata.sex" value="{{data.biodata.sex}}" data-dtype="String" />
</li>
</ul>
</div>
<div>
<li class="item flexrow">
<label class="generic-label">Yeux</label>
<input type="text" class="" name="data.biodata.eyes" value="{{data.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="data.biodata.preferredhand" value="{{data.biodata.preferredhand}}"
data-dtype="String" />
</li>
</div>
</div>
</div>
</section>
</form>