194 lines
8.9 KiB
HTML
194 lines
8.9 KiB
HTML
<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}}" />
|
|
<div class="flexcol">
|
|
<h1 class="charname"><input name="name" type="text" value="{{name}}" placeholder="Name"/></h1>
|
|
<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" />
|
|
|
|
<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" />
|
|
</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>
|
|
<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>
|
|
|
|
{{!-- Sheet Body --}}
|
|
<section class="sheet-body">
|
|
|
|
{{!-- Main Tab --}}
|
|
<div class="tab principal" data-group="primary" data-tab="principal">
|
|
|
|
<div class="flexcol">
|
|
|
|
<div class="sheet-box color-bg-archetype">
|
|
<ul class="item-list alternate-list">
|
|
{{#each data.attributs as |attr key|}}
|
|
<li class="item flexrow " data-attr-key="{{key}}">
|
|
<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>
|
|
<select class="status-small-label color-class-common" type="text" name="data.attributs.{{key}}.value"
|
|
value="{{attr.value}}" data-dtype="Number">
|
|
{{#select attr.value}}
|
|
{{> systems/fvtt-mournblade/templates/partial-list-niveau.html}}
|
|
{{/select}}
|
|
</select>
|
|
</li>
|
|
{{/each}}
|
|
</ul>
|
|
</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"> </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}}" />
|
|
<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">
|
|
{{#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}}
|
|
|
|
<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">
|
|
<label class="generic-label">Age</label>
|
|
<input type="text" class="" name="data.biodata.age" value="{{data.biodata.age}}" data-dtype="String" />
|
|
</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" />
|
|
</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" />
|
|
</li>
|
|
</ul>
|
|
</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> |