fvtt-mournblade/templates/actor-sheet.html

176 lines
6.9 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">
<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>
2022-05-29 17:55:22 +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>
2022-05-27 09:45:09 +02:00
</nav>
</div>
<img class="profile-img" src="{{img}}" data-edit="img" title="{{name}}" />
</div>
</div>
</header>
{{!-- 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-05-29 17:55:22 +02:00
{{#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>
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 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>
2022-05-27 09:45:09 +02:00
2022-05-30 07:43:49 +02:00
<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>
2022-05-27 09:45:09 +02:00
2022-05-30 07:43:49 +02:00
<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>
2022-05-27 09:45:09 +02:00
</div>
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|}}
<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>
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>
{{!-- 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>
</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>