2020-05-24 21:02:04 +02:00
|
|
|
<form class="{{cssClass}}" autocomplete="off">
|
2020-05-21 21:48:20 +02:00
|
|
|
|
|
|
|
{{!-- Sheet Header --}}
|
|
|
|
<header class="sheet-header">
|
|
|
|
<img class="profile-img" src="{{actor.img}}" data-edit="img" title="{{actor.name}}" height="100" width="100"/>
|
|
|
|
<div class="header-fields">
|
2020-05-24 20:19:57 +02:00
|
|
|
<h1 class="charname"><input name="name" type="text" value="{{actor.name}}" placeholder="Name"/></h1>
|
2020-05-27 23:47:49 +02:00
|
|
|
<div class="grid grid-3col">
|
2020-05-24 20:19:57 +02:00
|
|
|
<div class="flex-group-center">
|
2020-05-27 21:57:00 +02:00
|
|
|
Vie
|
2020-05-24 20:19:57 +02:00
|
|
|
<input class="resource-content flexrow flex-center flex-between" type="text" name="data.sante.vie.value" value="{{data.sante.vie.value}}" data-dtype="Number"/>/{{data.sante.vie.max}}
|
2020-05-21 21:48:20 +02:00
|
|
|
</div>
|
2020-05-24 20:19:57 +02:00
|
|
|
<div class="flex-group-center">
|
2020-05-27 21:57:00 +02:00
|
|
|
Endurance
|
2020-05-24 20:19:57 +02:00
|
|
|
<input class="resource-content flexrow flex-center flex-between" type="text" name="data.sante.fatigue.value" value="{{data.sante.fatigue.value}}" data-dtype="Number"/>/{{data.sante.fatigue.max}}
|
2020-05-21 21:48:20 +02:00
|
|
|
</div>
|
2020-05-27 23:47:49 +02:00
|
|
|
<div class="flex-group-center">
|
|
|
|
Fatigue
|
|
|
|
<span>{{{data.fatigueHTML}}}</span>
|
|
|
|
</div>
|
2020-05-24 20:19:57 +02:00
|
|
|
</div>
|
2020-05-21 21:48:20 +02:00
|
|
|
</div>
|
|
|
|
</header>
|
|
|
|
|
|
|
|
{{!-- Sheet Tab Navigation --}}
|
|
|
|
<nav class="sheet-tabs tabs" data-group="primary">
|
2020-05-22 00:48:43 +02:00
|
|
|
<a class="item" data-tab="carac">Caractéristiques</a>
|
2020-05-22 19:28:01 +02:00
|
|
|
<a class="item" data-tab="competences">Compétences</a>
|
2020-05-21 21:48:20 +02:00
|
|
|
<a class="item" data-tab="description">Description</a>
|
|
|
|
<a class="item" data-tab="items">Items</a>
|
|
|
|
<a class="item" data-tab="attributes">Attributes</a>
|
|
|
|
</nav>
|
|
|
|
|
|
|
|
{{!-- Sheet Body --}}
|
|
|
|
<section class="sheet-body">
|
|
|
|
|
2020-05-22 00:48:43 +02:00
|
|
|
{{!-- Carac Tab --}}
|
2020-05-24 21:02:04 +02:00
|
|
|
<div class="tab items" data-group="primary" data-tab="carac">
|
2020-05-24 20:19:57 +02:00
|
|
|
<div class="grid grid-2col">
|
2020-05-24 21:02:04 +02:00
|
|
|
<div class="flex-group-left flexcol">
|
2020-05-24 20:19:57 +02:00
|
|
|
<ol class="carac-list">
|
|
|
|
{{#each data.carac as |carac key|}}
|
|
|
|
<li class="competence flexrow" data-attribute="{{key}}">
|
2020-05-24 21:02:04 +02:00
|
|
|
<span class="competence-label flexrow" name="data.carac.{{key}}.label">{{carac.label}}</span>
|
2020-05-24 20:19:57 +02:00
|
|
|
{{#if carac.derivee}}
|
2020-05-24 21:02:04 +02:00
|
|
|
<label class="competence-value flexrow">{{carac.value}}</label>
|
2020-05-24 20:19:57 +02:00
|
|
|
{{else}}
|
2020-05-24 21:02:04 +02:00
|
|
|
<input class="competence-value flexrow" type="text" name="data.carac.{{key}}.value" value="{{carac.value}}" data-dtype="{{carac.type}}"/>
|
|
|
|
<input class="competence-xp flexrow" type="text" name="data.carac.{{key}}.xp" value="{{carac.xp}}" data-dtype="number"/>
|
2020-05-24 20:19:57 +02:00
|
|
|
{{/if}}
|
|
|
|
</li>
|
|
|
|
{{/each}}
|
|
|
|
</ol>
|
|
|
|
</div>
|
2020-05-24 21:02:04 +02:00
|
|
|
<div class="flex-group-left flexcol" >
|
|
|
|
<ol class="carac-list">
|
2020-05-24 20:19:57 +02:00
|
|
|
{{#each data.attributs as |attr key|}}
|
2020-05-24 21:02:04 +02:00
|
|
|
<li class="competence flexrow" data-attribute="{{key}}">
|
|
|
|
<span class="competence-label flexrow" name="data.attributs.{{key}}.label">{{attr.label}} : {{attr.value}}</span>
|
|
|
|
</li>
|
|
|
|
{{/each}}
|
|
|
|
{{#each data.sante as |point key|}}
|
|
|
|
<li class="competence flexrow" data-attribute="{{key}}">
|
|
|
|
<span class="competence-label flexrow" name="data.attributs.{{key}}.label">{{point.label}} : {{point.value}}</span>
|
2020-05-24 20:19:57 +02:00
|
|
|
</li>
|
|
|
|
{{/each}}
|
|
|
|
</ol>
|
|
|
|
</div>
|
|
|
|
</div>
|
2020-05-22 00:48:43 +02:00
|
|
|
</div>
|
2020-05-24 20:19:57 +02:00
|
|
|
|
2020-05-22 00:48:43 +02:00
|
|
|
{{!-- Compétences Tab --}}
|
2020-05-22 19:28:01 +02:00
|
|
|
<div class="tab competences" data-group="primary" data-tab="competences">
|
2020-05-22 22:37:02 +02:00
|
|
|
<header class="competence-header flexrow">
|
|
|
|
<span class="competence-title">Compétences de base</span>
|
|
|
|
<span class="competence-title">Niveau</span>
|
|
|
|
<span class="competence-title">XP</span>
|
2020-05-22 00:48:43 +02:00
|
|
|
</header>
|
2020-05-22 19:28:01 +02:00
|
|
|
<ol class="item-list">
|
|
|
|
{{#each data.competenceByCategory.generale as |comp key|}}
|
|
|
|
<li class="item flexrow" data-attribute="{{key}}">
|
2020-05-22 22:37:02 +02:00
|
|
|
<span class="competence-label" name="data.competenceByCategory.generale[{{key}}].name"><a>{{comp.name}}</a></span>
|
2020-05-24 20:19:57 +02:00
|
|
|
<input class="competence-value" type="text" name="data.competenceByCategory.generale[{{key}}].data.niveau" value="{{numberFormat comp.data.niveau decimals=0 sign=true}}" data-dtype="number"/>
|
2020-05-22 22:37:02 +02:00
|
|
|
<input class="competence-xp" type="text" name="data.competenceByCategory.generale[{{key}}].data.xp" value="{{comp.data.xp}}" data-dtype="number"/>
|
2020-05-22 19:28:01 +02:00
|
|
|
</li>
|
|
|
|
{{/each}}
|
|
|
|
</ol>
|
|
|
|
|
|
|
|
<header class="competences-header flexrow">
|
2020-05-22 22:37:02 +02:00
|
|
|
<span class="competence-title">Compétences Particulières</span>
|
|
|
|
<span class="competence-title">Niveau</span>
|
|
|
|
<span class="competence-title">XP</span>
|
2020-05-22 19:28:01 +02:00
|
|
|
</header>
|
|
|
|
<ol class="item-list">
|
|
|
|
{{#each data.competenceByCategory.particuliere as |comp key|}}
|
|
|
|
<li class="item flexrow" data-attribute="{{key}}">
|
2020-05-22 22:37:02 +02:00
|
|
|
<span class="competence-label" name="data.competenceByCategory.particuliere[{{key}}].name"><a>{{comp.name}}</a></span>
|
|
|
|
<input class="competence-value" type="text" name="data.competenceByCategory.particuliere[{{key}}].data.niveau" value="{{comp.data.niveau}}" data-dtype="number"/>
|
|
|
|
<input class="competence-xp" type="text" name="data.competenceByCategory.particuliere[{{key}}].data.xp" value="{{comp.data.xp}}" data-dtype="number"/>
|
2020-05-22 19:28:01 +02:00
|
|
|
</li>
|
|
|
|
{{/each}}
|
|
|
|
</ol>
|
|
|
|
|
|
|
|
<header class="competences-header flexrow">
|
2020-05-22 22:37:02 +02:00
|
|
|
<span class="competence-title">Compétences Spécialisées</span>
|
|
|
|
<span class="competence-title">Niveau</span>
|
|
|
|
<span class="competence-title">XP</span>
|
2020-05-22 19:28:01 +02:00
|
|
|
</header>
|
|
|
|
<ol class="item-list">
|
|
|
|
{{#each data.competenceByCategory.specialisee as |comp key|}}
|
|
|
|
<li class="item flexrow" data-attribute="{{key}}">
|
2020-05-22 22:37:02 +02:00
|
|
|
<span class="competence-label" name="data.competenceByCategory.specialisee[{{key}}].name"><a>{{comp.name}}</a></span>
|
|
|
|
<input class="competence-value" type="text" name="data.competenceByCategory.specialisee[{{key}}].data.niveau" value="{{comp.data.niveau}}" data-dtype="number"/>
|
|
|
|
<input class="competence-xp" type="text" name="data.competenceByCategory.specialisee[{{key}}].data.xp" value="{{comp.data.xp}}" data-dtype="number"/>
|
2020-05-22 19:28:01 +02:00
|
|
|
</li>
|
|
|
|
{{/each}}
|
|
|
|
</ol>
|
|
|
|
|
2020-05-22 22:37:02 +02:00
|
|
|
<header class="competence-header flexrow">
|
|
|
|
<span class="competence-title">Connaissances</span>
|
|
|
|
<span class="competence-title">Niveau</span>
|
|
|
|
<span class="competence-title">XP</span>
|
2020-05-22 19:28:01 +02:00
|
|
|
</header>
|
|
|
|
<ol class="item-list">
|
|
|
|
{{#each data.competenceByCategory.connaissance as |comp key|}}
|
|
|
|
<li class="item flexrow" data-attribute="{{key}}">
|
2020-05-22 22:37:02 +02:00
|
|
|
<span class="competence-label" name="data.competenceByCategory.connaissance[{{key}}].name"><a>{{comp.name}}</a></span>
|
|
|
|
<input class="competence-value" type="text" name="data.competenceByCategory.connaissance[{{key}}].data.niveau" value="{{comp.data.niveau}}" data-dtype="number"/>
|
|
|
|
<input class="competence-xp" type="text" name="data.competenceByCategory.connaissance[{{key}}].data.xp" value="{{comp.data.xp}}" data-dtype="number"/>
|
2020-05-22 00:48:43 +02:00
|
|
|
</li>
|
|
|
|
{{/each}}
|
|
|
|
</ol>
|
2020-05-22 19:28:01 +02:00
|
|
|
|
|
|
|
<header class="competences-header flexrow">
|
2020-05-22 22:37:02 +02:00
|
|
|
<span class="competence-title">Draconic</span>
|
|
|
|
<span class="competence-title">Niveau</span>
|
|
|
|
<span class="competence-title">XP</span>
|
2020-05-22 19:28:01 +02:00
|
|
|
</header>
|
|
|
|
<ol class="item-list">
|
|
|
|
{{#each data.competenceByCategory.draconic as |comp key|}}
|
|
|
|
<li class="item flexrow" data-attribute="{{key}}">
|
2020-05-22 22:37:02 +02:00
|
|
|
<span class="competence-label" name="data.competenceByCategory.draconic[{{key}}].name"><a>{{comp.name}}</a></span>
|
|
|
|
<input class="competence-value" type="text" name="data.competenceByCategory.draconic[{{key}}].data.niveau" value="{{comp.data.niveau}}" data-dtype="number"/>
|
|
|
|
<input class="competence-xp" type="text" name="data.competenceByCategory.draconic[{{key}}].data.xp" value="{{comp.data.xp}}" data-dtype="number"/>
|
2020-05-22 19:28:01 +02:00
|
|
|
</li>
|
|
|
|
{{/each}}
|
|
|
|
</ol>
|
|
|
|
|
2020-05-22 00:48:43 +02:00
|
|
|
</div>
|
|
|
|
|
2020-05-21 21:48:20 +02:00
|
|
|
{{!-- Biography Tab --}}
|
2020-05-22 19:28:01 +02:00
|
|
|
<div class="tab biography" data-group="primary" data-tab="description" style="height:200px">
|
2020-05-22 00:48:43 +02:00
|
|
|
{{editor content=data.biographie target="data.biographie" button=true owner=owner editable=editable}}
|
2020-05-21 21:48:20 +02:00
|
|
|
</div>
|
|
|
|
|
|
|
|
{{!-- Owned Items Tab --}}
|
|
|
|
<div class="tab items" data-group="primary" data-tab="items">
|
|
|
|
<ol class="item-list">
|
|
|
|
{{#each actor.items as |item id|}}
|
|
|
|
<li class="item flexrow" data-item-id="{{item._id}}">
|
|
|
|
<img src="{{item.img}}" title="{{item.name}}" width="24" height="24"/>
|
|
|
|
<h4 class="item-name">{{item.name}}</h4>
|
|
|
|
<div class="item-controls">
|
|
|
|
<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}}
|
|
|
|
</ol>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</section>
|
|
|
|
</form>
|
|
|
|
|