176 lines
6.9 KiB
HTML
176 lines
6.9 KiB
HTML
<form class="{{cssClass}}" autocomplete="off">
|
|
|
|
{{!-- Sheet Header --}}
|
|
<header class="sheet-header">
|
|
<div class="header-fields">
|
|
<div class="flexrow">
|
|
<div>
|
|
<h1 class="charname margin-right"><input name="name" type="text" value="{{name}}" placeholder="Name" /></h1>
|
|
{{!-- Sheet Tab Navigation --}}
|
|
<nav class="sheet-tabs tabs" data-group="primary">
|
|
<a class="item" data-tab="principal">Principal</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>
|
|
</div>
|
|
<img class="profile-img" src="{{img}}" data-edit="img" title="{{name}}" />
|
|
</div>
|
|
</div>
|
|
</header>
|
|
|
|
{{!-- 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}}">
|
|
<span class="item-name-label"><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}}
|
|
<option value="1">1</option>
|
|
<option value="2">2</option>
|
|
<option value="3">3</option>
|
|
<option value="4">4</option>
|
|
<option value="5">5</option>
|
|
<option value="6">6</option>
|
|
<option value="7">7</option>
|
|
<option value="8">8</option>
|
|
<option value="9">9</option>
|
|
<option value="10">10</option>
|
|
{{/select}}
|
|
</select>
|
|
</li>
|
|
{{/each}}
|
|
</ul>
|
|
</div>
|
|
|
|
<div class="sheet-box color-bg-ame color-text-ame">
|
|
<span class="flexrow">
|
|
<h4 class="ame-margin title-font">Bonne Aventure</h4>
|
|
</span>
|
|
<span class="flexrow">
|
|
<label>Base</label><label>{{data.bonneaventure.base}}</label>
|
|
<label>Actuelle</label><label>{{data.bonneaventure.actuelle}}</label>
|
|
</span>
|
|
</div>
|
|
|
|
<div class="sheet-box color-bg-ame color-text-ame">
|
|
<span class="flexrow">
|
|
<h4 class="ame-margin title-font">Eclat</h4>
|
|
</span>
|
|
<span class="flexrow">
|
|
<label>Valeur</label><label>{{data.eclat.value}}</label>
|
|
</span>
|
|
</div>
|
|
|
|
<div class="sheet-box color-bg-ame color-text-ame">
|
|
<span class="flexrow">
|
|
<h4 class="ame-margin title-font">Expérience</h4>
|
|
</span>
|
|
<span class="flexrow">
|
|
<label>Valeur</label><label>{{data.experience.value}}</label>
|
|
</span>
|
|
</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}}">
|
|
<img class="item-name-img" src="{{skill.img}}" />
|
|
<span class="item-name-label">{{skill.name}}</span>
|
|
<span class="item-field-label-short">{{skill.data.niveau}}</span>
|
|
<span class="item-field-label-short">{{skill.data.attribut1}} : {{skill.data.attribut1value}}</span>
|
|
<span class="item-field-label-short">{{skill.data.attribut2}} : {{skill.data.attribut1value}}</span>
|
|
<span class="item-field-label-short">{{skill.data.attribut3}} : {{skill.data.attribut1value}}</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 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> |