fvtt-mournblade/templates/actor-sheet.html

311 lines
12 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">
<div class="flexrow">
<div class="flexrow">
<div class="sheet-box color-bg-ame color-text-ame">
<span class="flexrow">
2022-05-29 17:55:22 +02:00
<h4 class="ame-margin title-font">Attributs</h4>
2022-05-27 09:45:09 +02:00
</span>
2022-05-29 17:55:22 +02:00
{{#each data.attributs as |attr key|}}
<span><label>{{attr.label}}</label><label>{{attr.value}}</label></span>
{{/each}}
2022-05-27 09:45:09 +02:00
</div>
2022-05-29 17:55:22 +02:00
<div class="sheet-box color-bg-ame color-text-ame">
2022-05-27 09:45:09 +02:00
<span class="flexrow">
2022-05-29 17:55:22 +02:00
<h4 class="ame-margin title-font">Bonne Aventure</h4>
2022-05-27 09:45:09 +02:00
</span>
2022-05-29 17:55:22 +02:00
<span><label>Base</label><label>{{data.bonneaventure.base}}</label></span>
<span><label>Actuelle</label><label>{{data.bonneaventure.actuelle}}</label></span>
2022-05-27 09:45:09 +02:00
</div>
2022-05-29 17:55:22 +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><label>Valeur</label><label>{{data.eclat.value}}</label></span>
</div>
2022-05-27 09:45:09 +02:00
2022-05-29 17:55:22 +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><label>Valeur</label><label>{{data.experience.value}}</label></span>
</div>
2022-05-27 09:45:09 +02:00
</div>
</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">
<h3><label class="items-title-text">Equipement</label></h3>
</span>
<span class="item-field-label-short">
<label class="short-label">Intensité</label>
</span>
</li>
{{#each equipements as |equip key|}}
<li class="item flexrow " data-item-id="{{equip._id}}">
<img class="item-name-img" src="{{equip.img}}" />
<span class="item-name-label">{{equip.name}}</span>
<span class="item-field-label-short">{{equip.data.value}}</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">
<span class="item-name-label-header">
<h3><label class="items-title-text">Capacités</label></h3>
</span>
<span class="item-field-label-short">
<label class="short-label">Aide</label>
</span>
<span class="item-field-label-short">
<label class="short-label">Ressource</label>
</span>
</li>
{{#each capacites as |capa key|}}
<li class="item flexrow " data-item-id="{{capa._id}}">
<img class="item-name-img" src="{{capa.img}}" /></a>
<span class="item-name-label">{{capa.name}}</span>
<span class="item-field-label-short"">{{capa.data.aide}}</span>
<span class=" item-field-label-short"">{{capa.data.ressource}}</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 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">Singularités</label></h3>
</span>
<span class="item-field-label-short">
<label class="short-label">Intensité</label>
</span>
</li>
{{#each singularites as |singul key|}}
<li class="item flexrow " data-item-id="{{singul._id}}">
<img class="item-name-img" src="{{singul.img}}" />
<span class="item-name-label">{{singul.name}}</span>
<span class="item-field-label-short">{{singul.data.value}}</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">
<span class="item-name-label-header">
<h3><label class="items-title-text">Contacts/Finances</label></h3>
</span>
<span class="item-field-label-short">
<label class="short-label">Intensité</label>
</span>
</li>
{{#each contacts as |contact key|}}
<li class="item flexrow " data-item-id="{{contact._id}}">
<img class="item-name-img" src="{{contact.img}}" />
<span class="item-name-label">{{contact.name}}</span>
<span class="item-field-label-short">{{contact.data.value}}</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>
{{!-- 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">Imperium</label>
<input type="text" class="" name="data.biodata.imperium" value="{{data.biodata.imperium}}"
data-dtype="String" />
</li>
<li class="item flexrow">
<label class="generic-label">ADM ID</label>
<input type="text" class="" name="data.biodata.admid" value="{{data.biodata.admid}}"
data-dtype="String" />
</li>
<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>
</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>
<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>
</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>
<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>
</div>
</div>
<div class="flexrow">
<div>
<h3>Apparence actuelle : </h3>
<div class="form-group small-editor">
{{editor content=data.biodata.appactual target="data.biodata.appactual" button=true owner=owner
editable=editable}}
</div>
</div>
<div>
<h3>Autres identités : </h3>
<div class="form-group small-editor">
{{editor content=data.biodata.identities target="data.biodata.identities" button=true owner=owner
editable=editable}}
</div>
</div>
</div>
<div class="flexrow">
<div>
<h3>Traits particuliers : </h3>
<div class="form-group small-editor">
{{editor content=data.biodata.traits target="data.biodata.traits" button=true owner=owner
editable=editable}}
</div>
</div>
<div>
<h3>Souvenirs quantiques : </h3>
<div class="form-group small-editor">
{{editor content=data.biodata.memories target="data.biodata.memories" button=true owner=owner
editable=editable}}
</div>
</div>
</div>
<div class="flexrow">
<div>
<h3>Rebuild : </h3>
<div class="form-group small-editor">
{{editor content=data.biodata.rebuild target="data.biodata.rebuild" button=true owner=owner
editable=editable}}
</div>
</div>
<div>
<h3>Relations, contacts et acolytes : </h3>
<div class="form-group small-editor">
{{editor content=data.biodata.contacts target="data.biodata.contacts" button=true owner=owner
editable=editable}}
</div>
</div>
</div>
<h3>Qui suis-je : </h3>
<div class="form-group editor">
{{editor content=data.biodata.whoami target="data.biodata.whoami" button=true owner=owner
editable=editable}}
</div>
<hr>
<h3>Notes : </h3>
<div class="form-group editor">
{{editor content=data.biodata.notes target="data.biodata.notes" button=true owner=owner editable=editable}}
</div>
<hr>
</article>
</div>
</section>
</form>