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-04 21:22:51 +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">
|
|
|
|
<h4 class="item-name-label competence-name">{{upperFirst alignement}}</h4>
|
|
|
|
<label class="item-name-label competence-name">Loi</label>
|
|
|
|
<select class="status-small-label color-class-common" 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}}
|
|
|
|
</select>
|
|
|
|
<label class="item-name-label competence-name">Chaos</label>
|
|
|
|
<select class="status-small-label color-class-common" 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}}
|
|
|
|
</select>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
<div class="flexrow">
|
|
|
|
<h4 class="item-name-label competence-name">Bonne Aventure</h4>
|
|
|
|
<label class="item-name-label competence-name">Base</label>
|
|
|
|
<input type="text" class="padd-right status-small-label color-class-common" name="data.bonneaventure.base" value="{{data.bonneaventure.base}}" data-dtype="Number" />
|
|
|
|
<label class="item-name-label competence-name">Actuelle</label>
|
|
|
|
<input type="text" class="padd-right status-small-label color-class-common" name="data.bonneaventure.actuelle" value="{{data.bonneaventure.actuelle}}" data-dtype="Number" />
|
|
|
|
</div>
|
|
|
|
<div class="flexrow">
|
|
|
|
<h4 class="item-name-label competence-name">Eclat</h4>
|
|
|
|
<input type="text" class="padd-right status-small-label color-class-common" name="data.eclat.value" value="{{data.eclat.value}}" data-dtype="Number" />
|
2022-06-04 21:22:51 +02:00
|
|
|
|
2022-06-05 16:35:25 +02:00
|
|
|
<h4 class="item-name-label competence-name">Expérience</h4>
|
|
|
|
<input type="text" class="padd-right status-small-label color-class-common" name="data.experience.value" value="{{data.experience.value}}" data-dtype="Number" />
|
2022-06-04 21:22:51 +02:00
|
|
|
</div>
|
2022-06-05 16:35:25 +02:00
|
|
|
|
2022-05-27 09:45:09 +02:00
|
|
|
</div>
|
|
|
|
</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>
|
|
|
|
<a class="item" data-tab="combat">Combat</a>
|
|
|
|
<a class="item" data-tab="traits">Traits/Pactes</a>
|
|
|
|
<a class="item" data-tab="equipement">Equipement</a>
|
|
|
|
<a class="item" data-tab="biodata">Bio&Notes</a>
|
|
|
|
</nav>
|
|
|
|
|
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-05-30 07:43:49 +02:00
|
|
|
<div class="flexcol">
|
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-05 16:35:25 +02:00
|
|
|
{{#each data.attributs as |attr key|}}
|
2022-06-03 08:15:39 +02:00
|
|
|
<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">
|
|
|
|
<span class="item-name-label competence-name"><a class="roll-attribut">{{attr.label}}</a></span>
|
2022-06-04 21:06:01 +02:00
|
|
|
<select class="status-small-label color-class-common" type="text" name="data.attributs.{{key}}.value"
|
|
|
|
value="{{attr.value}}" data-dtype="Number">
|
2022-06-03 08:15:39 +02:00
|
|
|
{{#select attr.value}}
|
2022-06-04 21:06:01 +02:00
|
|
|
{{> systems/fvtt-mournblade/templates/partial-list-niveau.html}}
|
2022-06-03 08:15:39 +02:00
|
|
|
{{/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-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"> </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-04 21:06:01 +02:00
|
|
|
<span class="item-name-label competence-name">{{skill.name}}</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">
|
|
|
|
{{#select skill.data.niveau}}
|
|
|
|
{{> systems/fvtt-mournblade/templates/partial-list-niveau.html}}
|
|
|
|
{{/select}}
|
|
|
|
</select>
|
|
|
|
|
|
|
|
{{#if (ne skill.data.attribut1 "none")}}
|
|
|
|
<span class="item-field-label-short button-roll-competence"><a class="roll-competence" data-attr-key="{{skill.data.attribut1}}">{{upper skill.data.attribut1}} : {{skill.data.attribut1total}}</a></span>
|
|
|
|
{{else}}
|
|
|
|
<span class="item-field-label-short button-roll-competence-empty" > </span>
|
|
|
|
{{/if}}
|
|
|
|
{{#if (ne skill.data.attribut2 "none")}}
|
|
|
|
<span class="item-field-label-short button-roll-competence"><a class="roll-competence" data-attr-key="{{skill.data.attribut2}}">{{upper skill.data.attribut2}} : {{skill.data.attribut2total}}</a></span>
|
|
|
|
{{else}}
|
|
|
|
<span class="item-field-label-short button-roll-competence-empty"> </span>
|
|
|
|
{{/if}}
|
|
|
|
{{#if (ne skill.data.attribut3 "none")}}
|
|
|
|
<span class="item-field-label-short button-roll-competence"><a class="roll-competence" data-attr-key="{{skill.data.attribut3}}">{{upper skill.data.attribut3}} : {{skill.data.attribut3total}}</a></span>
|
|
|
|
{{else}}
|
|
|
|
<span class="item-field-label-short button-roll-competence-empty"> </span>
|
|
|
|
{{/if}}
|
2022-05-27 09:45:09 +02:00
|
|
|
|
|
|
|
<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="grid grid-3col">
|
|
|
|
<div>
|
|
|
|
<ul class="item-list alternate-list">
|
|
|
|
<li class="item flexrow">
|
2022-06-03 08:15:39 +02:00
|
|
|
<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">
|
2022-06-03 08:15:39 +02:00
|
|
|
<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">
|
2022-06-03 08:15:39 +02:00
|
|
|
<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>
|