484 lines
31 KiB
HTML
484 lines
31 KiB
HTML
<form class="{{cssClass}}" autocomplete="off">
|
|
|
|
{{!-- Sheet Header --}}
|
|
<header class="sheet-header">
|
|
<img class="profile-img" src="{{actor.img}}" data-edit="img" title="{{actor.name}}" />
|
|
<div class="header-fields">
|
|
<h1 class="charname"><input name="name" type="text" value="{{actor.name}}" placeholder="Name"/></h1>
|
|
<div class="flexrow">
|
|
<div class="flex-group-center">
|
|
<div>
|
|
<span>Vie <a id="vie-plus">+</a> / <a id="vie-moins">-</a></span>
|
|
<input class="resource-content" type="text" name="data.sante.vie.value" value="{{data.sante.vie.value}}" data-dtype="Number"/>/{{data.sante.vie.max}}
|
|
</div>
|
|
<div>
|
|
<span>Endurance <a id="endurance-plus">+</a> / <a id="endurance-moins">-</a></span>
|
|
<input class="resource-content" type="text" name="data.sante.endurance.value" value="{{data.sante.endurance.value}}" data-dtype="Number"/>/{{data.sante.endurance.max}}
|
|
</div>
|
|
<div>
|
|
<span>Sonné :</span>
|
|
<input class="resource-content" type="checkbox" name="data.sante.sonne.value" value="{{data.sante.sonne.value}}" {{#if data.sante.sonne.value}}checked{{/if}} />
|
|
</div>
|
|
</div>
|
|
<div class="flex-group-center flex-fatigue">
|
|
Fatigue <a id="fatigue-plus">+</a> / <a id="fatigue-moins">-</a>
|
|
<span>{{{data.fatigueHTML}}}</span>
|
|
</div>
|
|
</div>
|
|
<div class="flexrow">
|
|
<div class="flexrow">
|
|
<div class="flex-group-center">Blessures légères : {{data.nbLegeres}}</div>
|
|
<div class="flex-group-center">Blessures graves : {{data.nbGraves}}</div>
|
|
<div class="flex-group-center">Blessure critique : {{data.nbCritiques}}</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</header>
|
|
|
|
{{!-- Sheet Tab Navigation --}}
|
|
<nav class="sheet-tabs tabs" data-group="primary">
|
|
<a class="item" data-tab="carac">Caractéristiques</a>
|
|
<a class="item" data-tab="competences">Compétences</a>
|
|
<a class="item" data-tab="combat">Combat</a>
|
|
<a class="item" data-tab="blessurescompteurs">Blessures/Compteurs</a>
|
|
<a class="item" data-tab="hautreve">Haut-Rêve</a>
|
|
<a class="item" data-tab="items">Equipement</a>
|
|
<a class="item" data-tab="description">Description</a>
|
|
</nav>
|
|
|
|
{{!-- Sheet Body --}}
|
|
<section class="sheet-body">
|
|
|
|
{{!-- Carac Tab --}}
|
|
<div class="tab items" data-group="primary" data-tab="carac">
|
|
<div class="grid grid-2col">
|
|
<div class="flex-group-left flexcol">
|
|
<ol class="carac-list">
|
|
{{#each data.carac as |carac key|}}
|
|
<li class="competence flexrow" data-attribute="{{key}}">
|
|
{{#if carac.isTaille}}
|
|
<span class="carac-label flexrow" name="data.carac.{{key}}.label">{{carac.label}}</span>
|
|
{{else}}
|
|
<span class="carac-label flexrow" name="data.carac.{{key}}.label"><a name={{key}}>{{carac.label}}</a></span>
|
|
{{/if}}
|
|
{{#if carac.derivee}}
|
|
<label class="competence-value flexrow">{{carac.value}}</label>
|
|
{{else}}
|
|
<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"/>
|
|
{{/if}}
|
|
</li>
|
|
{{/each}}
|
|
<li class="competence flexrow">
|
|
<span class="carac-label flexrow" name="carac-total">Total Caractéristiques </span>
|
|
<span class="competence-value flexrow" name="carac-total-value">{{data.caracSum}} </span>
|
|
</li>
|
|
</ol>
|
|
</div>
|
|
<div class="flex-group-left flexcol" >
|
|
<ol class="carac-list">
|
|
{{#each data.attributs as |attr key|}}
|
|
<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}} / {{point.max}}</span>
|
|
</li>
|
|
{{/each}}
|
|
</ol>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
{{!-- Compétences Tab --}}
|
|
<div class="tab competences" data-group="primary" data-tab="competences">
|
|
<div class="grid grid-2col">
|
|
<div class="flex-group-left flexcol competence-column">
|
|
<header class="competence-header flexrow">
|
|
<span class="competence-title">Compétences de base</span>
|
|
</header>
|
|
<ol class="item-list">
|
|
{{#each data.competenceByCategory.generale as |comp key|}}
|
|
<li class="item flexrow" data-item-id="{{comp._id}}">
|
|
<img class="sheet-competence-img" src="{{comp.img}}"/>
|
|
<span class="competence-label" name="data.competenceByCategory.generale[{{key}}].name"><a>{{comp.name}}</a></span>
|
|
<input class="competence-value" type="text" name="data.competenceByCategory.generale[{{key}}].data.value" compname="{{comp.name}}" value="{{numberFormat comp.data.niveau decimals=0 sign=true}}" data-dtype="number"/>
|
|
<input class="competence-xp" type="text" name="data.competenceByCategory.generale[{{key}}]].data.xp" compname="{{comp.name}}" value="{{comp.data.xp}}" data-dtype="number"/>
|
|
<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>
|
|
|
|
<header class="competence-header flexrow">
|
|
<span class="competence-title">Compétences Particulières</span>
|
|
</header>
|
|
<ol class="item-list">
|
|
{{#each data.competenceByCategory.particuliere as |comp key|}}
|
|
<li class="item flexrow" data-item-id="{{comp._id}}">
|
|
<img class="sheet-competence-img" src="{{comp.img}}"/>
|
|
<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" compname="{{comp.name}}" value="{{numberFormat comp.data.niveau decimals=0 sign=true}}" data-dtype="number"/>
|
|
<input class="competence-xp" type="text" name="data.competenceByCategory.particuliere[{{key}}].data.xp" compname="{{comp.name}}" value="{{comp.data.xp}}" data-dtype="number"/>
|
|
<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>
|
|
<header class="competence-header flexrow">
|
|
<span class="competence-title">Compétences Spécialisées</span>
|
|
</header>
|
|
<ol class="item-list">
|
|
{{#each data.competenceByCategory.specialisee as |comp key|}}
|
|
<li class="item flexrow" data-item-id="{{comp._id}}">
|
|
<img class="sheet-competence-img" src="{{comp.img}}"/>
|
|
<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" compname="{{comp.name}}" value="{{numberFormat comp.data.niveau decimals=0 sign=true}}" data-dtype="number"/>
|
|
<input class="competence-xp" type="text" name="data.competenceByCategory.specialisee[{{key}}].data.xp" compname="{{comp.name}}" value="{{comp.data.xp}}" data-dtype="number"/>
|
|
<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>
|
|
|
|
<div class="flex-group-left flexcol competence-column">
|
|
<header class="competence-header flexrow">
|
|
<span class="competence-title">Compétences De Mêlée</span>
|
|
</header>
|
|
<ol class="item-list">
|
|
{{#each data.competenceByCategory.melee as |comp key|}}
|
|
<li class="item flexrow" data-item-id="{{comp._id}}">
|
|
<img class="sheet-competence-img" src="{{comp.img}}"/>
|
|
<span class="competence-label" name="data.competenceByCategory.melee[{{key}}].name"><a>{{comp.name}}</a></span>
|
|
<input class="competence-value" type="text" name="data.competenceByCategory.melee[{{key}}].data.niveau" compname="{{comp.name}}" value="{{numberFormat comp.data.niveau decimals=0 sign=true}}" data-dtype="number"/>
|
|
<input class="competence-xp" type="text" name="data.competenceByCategory.melee[{{key}}].data.xp" compname="{{comp.name}}" value="{{comp.data.xp}}" data-dtype="number"/>
|
|
<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>
|
|
|
|
<header class="competence-header flexrow">
|
|
<span class="competence-title">Compétences De Tir</span>
|
|
</header>
|
|
<ol class="item-list">
|
|
{{#each data.competenceByCategory.tir as |comp key|}}
|
|
<li class="item flexrow" data-item-id="{{comp._id}}">
|
|
<img class="sheet-competence-img" src="{{comp.img}}"/>
|
|
<span class="competence-label" name="data.competenceByCategory.tir[{{key}}].name"><a>{{comp.name}}</a></span>
|
|
<input class="competence-value" type="text" name="data.competenceByCategory.tir[{{key}}].data.niveau" compname="{{comp.name}}" value="{{numberFormat comp.data.niveau decimals=0 sign=true}}" data-dtype="number"/>
|
|
<input class="competence-xp" type="text" name="data.competenceByCategory.tir[{{key}}].data.xp" compname="{{comp.name}}" value="{{comp.data.xp}}" data-dtype="number"/>
|
|
<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>
|
|
|
|
<header class="competence-header flexrow">
|
|
<span class="competence-title">Compétences De Lancer</span>
|
|
</header>
|
|
<ol class="item-list">
|
|
{{#each data.competenceByCategory.lancer as |comp key|}}
|
|
<li class="item flexrow" data-item-id="{{comp._id}}">
|
|
<img class="sheet-competence-img" src="{{comp.img}}"/>
|
|
<span class="competence-label" name="data.competenceByCategory.lancer[{{key}}].name"><a>{{comp.name}}</a></span>
|
|
<input class="competence-value" type="text" name="data.competenceByCategory.lancer[{{key}}].data.niveau" compname="{{comp.name}}" value="{{numberFormat comp.data.niveau decimals=0 sign=true}}" data-dtype="number"/>
|
|
<input class="competence-xp" type="text" name="data.competenceByCategory.lancer[{{key}}].data.xp" compname="{{comp.name}}" value="{{comp.data.xp}}" data-dtype="number"/>
|
|
<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>
|
|
|
|
<header class="competence-header flexrow">
|
|
<span class="competence-title">Connaissances</span>
|
|
</header>
|
|
<ol class="item-list">
|
|
{{#each data.competenceByCategory.connaissance as |comp key|}}
|
|
<li class="item flexrow" data-item-id="{{comp._id}}">
|
|
<img class="sheet-competence-img" src="{{comp.img}}"/>
|
|
<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" compname="{{comp.name}}" value="{{numberFormat comp.data.niveau decimals=0 sign=true}}" data-dtype="number"/>
|
|
<input class="competence-xp" type="text" name="data.competenceByCategory.connaissance[{{key}}].data.xp" compname="{{comp.name}}" value="{{comp.data.xp}}" data-dtype="number"/>
|
|
<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>
|
|
|
|
<header class="competence-header flexrow">
|
|
<span class="competence-title">Draconic</span>
|
|
</header>
|
|
<ol class="item-list">
|
|
{{#each data.competenceByCategory.draconic as |comp key|}}
|
|
<li class="item flexrow" data-item-id="{{comp._id}}">
|
|
<img class="sheet-competence-img" src="{{comp.img}}"/>
|
|
<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" compname="{{comp.name}}" value="{{numberFormat comp.data.niveau decimals=0 sign=true}}" data-dtype="number"/>
|
|
<input class="competence-xp" type="text" name="data.competenceByCategory.draconic[{{key}}].data.xp" compname="{{comp.name}}" value="{{comp.data.xp}}" data-dtype="number"/>
|
|
<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>
|
|
<ol class="item-list">
|
|
<li class="item flexrow">
|
|
<span class="competence-label">Total XP compétences</span>
|
|
<span class="competence-value">{{data.competenceXPTotal}}</span>
|
|
</li>
|
|
</ol>
|
|
</div>
|
|
<div></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
{{!-- Combat Tab --}}
|
|
<div class="tab combat" data-group="primary" data-tab="combat">
|
|
<header class="competence-header flexrow">
|
|
<span class="competence-title">Armes</span>
|
|
<span class="competence-title">Niveau</span>
|
|
<span class="competence-title">XP</span>
|
|
</header>
|
|
<ol class="item-list">
|
|
{{#each data.armes as |arme key|}}
|
|
<li class="item flexrow" data-item-id="{{arme._id}}">
|
|
<span class="arme-label" name="data.armes[{{key}}].name"><a>{{arme.name}}</a></span>
|
|
<span class="competence-label" name="data.armes[{{key}}].data.competence">{{arme.data.competence}}</span>
|
|
<span class="competence-label" name="data.armes[{{key}}].data.niveau">{{numberFormat arme.data.niveau decimals=0 sign=true}}</span>
|
|
<span class="competence-label" name="data.armes[{{key}}].data.dommages">{{numberFormat arme.data.dommages decimals=0 sign=true}}</span>
|
|
</li>
|
|
{{/each}}
|
|
</ol>
|
|
</div>
|
|
|
|
{{!-- Compteurs/Blessures Tab --}}
|
|
<div class="tab blessurescompteurs" data-group="primary" data-tab="blessurescompteurs">
|
|
<div class="flex-group-left flexrow">
|
|
<ol class="item-list">
|
|
{{#each data.compteurs as |compteur key|}}
|
|
<li class="item flexrow"">
|
|
<span class="arme-label">{{compteur.label}}</span>
|
|
{{#if compteur.isInput}}
|
|
<input class="stress-value stress-style compteur-edit" id="{{key}}-edit" type="text" name="{{key}}" value="{{compteur.value}}" data-dtype="number"/>
|
|
{{#if compteur.isStress}}
|
|
<a class="item-control stress-test" id="stress-test" title="Faire un jet de Stress">Faire un jet de Stress</a>
|
|
{{else}}
|
|
<label></label>
|
|
{{/if}}
|
|
<label></label>
|
|
{{else}}
|
|
<span class="competence-label">{{compteur.value}}</span>
|
|
{{/if}}
|
|
</li>
|
|
{{/each}}
|
|
</ol>
|
|
</div>
|
|
<div class="flex-group-left flexcol competence-column">
|
|
<span class="blessures-title">Blessures Légeres :</span>
|
|
<div class="blessure-data">
|
|
{{#each data.blessures.legeres.liste as |bless key|}}
|
|
<li class="item flexrow blessure-data" data-blessure-type="legere" data-attribute={{key}} data-blessure-index="{{key}}">
|
|
<a class="item-control blessure-control" title="Blessure Légère" data-blessure-active="{{bless.active}}">{{#if bless.active}}<i class="fas fa-circle"></i>{{else}}<i class="fas fa-genderless"></i>{{/if}}</a>
|
|
Premiers soins <input class="blessures-soins" type="text" name='premiers_soins' data-dtype="number" value="{{this.premiers_soins}}"/> -
|
|
Soins complets <input class="blessures-soins" type="text" name='soins_complets' data-dtype="number" value="{{this.soins_complets}}"/> -
|
|
Jours <input class="blessures-soins" type="text" name='jours' data-dtype="number" value="{{this.jours}}"/> -
|
|
Loc. <input class="blessures-soins" type="text" name='localisation' data-dtype="String" value="{{this.localisation}}"/>
|
|
</li>
|
|
{{/each}}
|
|
</div>
|
|
<span class="blessures-title">Blessures Graves :</span>
|
|
<div>
|
|
{{#each data.blessures.graves.liste as |bless key|}}
|
|
<li class="item flexrow" data-blessure-type="grave" data-attribute={{key}} data-blessure-index="{{key}}" >
|
|
<a class="item-control blessure-control" title="Blessure Grave" data-blessure-active="{{bless.active}}">{{#if bless.active}}<i class="fas fa-circle"></i>{{else}}<i class="fas fa-genderless"></i>{{/if}}</a>
|
|
Premiers soins <input class="blessures-soins" type="text" name="premiers_soins" data-dtype="number" value="{{bless.premiers_soins}}"/> -
|
|
Soins complets <input class="blessures-soins" type="text" name="soins_complets" data-dtype="number" value="{{bless.soins_complets}}"/> -
|
|
Jours <input class="blessures-soins" type="text" name="jours" data-dtype="number" value="{{bless.jours}}"/> -
|
|
Loc. <input class="blessures-soins" type="text" name="localisation" data-dtype="String" value="{{bless.localisation}}"/>
|
|
</li>
|
|
{{/each}}
|
|
</div>
|
|
<span class="blessures-title">Blessure Critique :</span>
|
|
<div>
|
|
{{#each data.blessures.critiques.liste as |bless key|}}
|
|
<li class="item flexrow" data-blessure-type="critique" data-attribute={{key}} data-blessure-index="{{key}}" >
|
|
<a class="item-control blessure-control" title="Blessure Critique" data-blessure-active="{{bless.active}}">{{#if bless.active}}<i class="fas fa-circle"></i>{{else}}<i class="fas fa-genderless"></i>{{/if}}</a>
|
|
Premiers soins <input class="blessures-soins" type="text" name="premiers_soins" data-dtype="number" value="{{bless.premiers_soins}}"/> -
|
|
Soins complets <input class="blessures-soins" type="text" name="soins_complets" data-dtype="number" value="{{bless.soins_complets}}"/> -
|
|
Jours <input class="blessures-soins" type="text" name="jours" data-dtype="number" value="{{bless.jours}}"/> -
|
|
Loc. <input class="blessures-soins" type="text" name="localisation" data-dtype="String" value="{{bless.localisation}}"/>
|
|
</li>
|
|
</li>
|
|
{{/each}}
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<span><strong>Queues:</strong></span>
|
|
{{#each data.queues as |queue key|}}
|
|
<li class="item flexrow" data-attribute={{key}} data-item-id="{{queue._id}}">
|
|
<span class="queuesouffle-label"> <a data-item-id="{{queue._id}}">{{queue.name}}</a></span>
|
|
<div class="item-controls">
|
|
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
|
|
</div>
|
|
</li>
|
|
{{/each}}
|
|
</div>
|
|
<div>
|
|
<span><strong>Souffles:</strong></span>
|
|
{{#each data.souffles as |souffle key|}}
|
|
<li class="item flexrow" data-attribute={{key}} data-item-id="{{queue._id}}">
|
|
<span class="queuesouffle-label"> <a data-item-id="{{souffle._id}}">{{souffle.name}}</a></span>
|
|
<div class="item-controls">
|
|
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
|
|
</div>
|
|
</li>
|
|
{{/each}}
|
|
</div>
|
|
<div>
|
|
<span><strong>Tetes:</strong></span>
|
|
{{#each data.tetes as |tete key|}}
|
|
<li class="item flexrow" data-attribute={{key}} data-item-id="{{queue._id}}">
|
|
<span class="queuesouffle-label"> <a data-item-id="{{tete._id}}">{{tete.name}}</a></span>
|
|
<div class="item-controls">
|
|
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
|
|
</div>
|
|
</li>
|
|
{{/each}}
|
|
</div>
|
|
<div>
|
|
<span><strong>Ombres de Thanatos:</strong></span>
|
|
{{#each data.ombres as |ombre key|}}
|
|
<li class="item flexrow" data-attribute={{key}} data-item-id="{{queue._id}}">
|
|
<span class="queuesouffle-label"> <a data-item-id="{{ombre._id}}">{{ombre.name}}</a></span>
|
|
<div class="item-controls">
|
|
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
|
|
</div>
|
|
</li>
|
|
{{/each}}
|
|
</div>
|
|
</div>
|
|
|
|
{{!-- hautreve Tab --}}
|
|
<div class="tab hautreve" data-group="primary" data-tab="hautreve" style="height:200px">
|
|
<div>
|
|
<span class="monte-tmr"><strong><a>Monter Normale dans les Terres Medianes !</a></strong></span>
|
|
</div>
|
|
<div>
|
|
<span class="monte-tmr-rapide"><strong><a>Monter Accélérée dans les Terres Medianes !</a></strong></span>
|
|
</div>
|
|
<div>
|
|
<ol class="item-list">
|
|
<li class="item flexrow" >Points de Rêve actuels : <input class="pointsreve-value flexrow" type="text" name="data.reve.reve.value" value="{{data.reve.reve.value}}" data-dtype="Number"/></li>
|
|
{{#if data.isGM}}
|
|
<li class="item flexrow" >Position en TMR : <input class="description-value flexrow" type="text" name="data.reve.tmrpos.coord" value="{{data.reve.tmrpos.coord}}" data-dtype="String"/></li>
|
|
<li class="item flexrow" >Refoulement : <input class="description-value flexrow" type="text" name="data.reve.refoulement.value" value="{{data.reve.refoulement.value}}" data-dtype="Number"/></li>
|
|
{{else}}
|
|
<li class="item flexrow" >Position en TMR : {{data.reve.tmrpos.coord}} </li>
|
|
<li class="item flexrow" >Refoulement : {{data.reve.refoulement.value}} </li>
|
|
{{/if}}
|
|
</ol>
|
|
</div>
|
|
<div>
|
|
<span><strong>Sorts:</strong></span>
|
|
<ol class="item-list">
|
|
{{#each data.sorts as |mysort key|}}
|
|
<li class="item flexrow" data-attribute={{key}}>
|
|
<span class="sort-label"> <a data-id="{{mysort._id}}">{{mysort.name}}</a></span> <span>{{mysort.data.draconic}} - {{mysort.data.difficulte}}</span>
|
|
</li>
|
|
{{/each}}
|
|
</ol>
|
|
</div>
|
|
</div>
|
|
|
|
{{!-- Equipment Tab --}}
|
|
<div class="tab items" data-group="primary" data-tab="items">
|
|
<ol class="item-list">
|
|
{{#each data.armes_seules as |item id|}}
|
|
<li class="item flexrow" data-item-id="{{item._id}}">
|
|
<img class="sheet-competence-img" src="{{item.img}}" title="{{item.name}}"/>
|
|
<h4 class="item-name">{{item.name}}</h4>
|
|
<div class="item-controls">
|
|
<a class="item-control item-equip" title="Equiper">{{#if item.data.equipe}}<i class="fas fa-circle"></i>{{else}}<i class="fas fa-genderless"></i>{{/if}}</a>
|
|
<a class="item-control item-edit" title="Editer"><i class="fas fa-edit"></i></a>
|
|
<a class="item-control item-delete" title="Supprimer"><i class="fas fa-trash"></i></a>
|
|
</div>
|
|
</li>
|
|
{{/each}}
|
|
</ol>
|
|
<ol class="item-list">
|
|
{{#each data.armures as |item id|}}
|
|
<li class="item flexrow" data-item-id="{{item._id}}">
|
|
<img class="sheet-competence-img" src="{{item.img}}" title="{{item.name}}"/>
|
|
<h4 class="item-name">{{item.name}}</h4>
|
|
<div class="item-controls">
|
|
<a class="item-control item-equip" title="Equiper">{{#if item.data.equipe}}<i class="fas fa-circle"></i>{{else}}<i class="fas fa-genderless"></i>{{/if}}</a>
|
|
<a class="item-control item-edit" title="Editer"><i class="fas fa-edit"></i></a>
|
|
<a class="item-control item-delete" title="Supprimer"><i class="fas fa-trash"></i></a>
|
|
</div>
|
|
</li>
|
|
{{/each}}
|
|
</ol>
|
|
</div>
|
|
|
|
{{!-- Biography Tab --}}
|
|
<div class="tab biography" data-group="primary" data-tab="description">
|
|
<div class="grid grid-2col">
|
|
<div class="flex-group-left flexcol competence-column">
|
|
<ol class="item-list">
|
|
<li class="item flexrow" ><span class="description-label">Sexe : </span><input class="description-value flexrow" type="text" name="data.sexe" value="{{data.sexe}}" data-dtype="String"/></li>
|
|
<li class="item flexrow" ><span class="description-label">Poids : </span><input class="description-value flexrow" type="text" name="data.poids" value="{{data.poids}}" data-dtype="String"/></li>
|
|
<li class="item flexrow" ><span class="description-label">Taille : </span><input class="description-value flexrow" type="text" name="data.taille" value="{{data.taille}}" data-dtype="String"/></li>
|
|
<li class="item flexrow" ><span class="description-label">Cheveux : </span><input class="description-value flexrow" type="text" name="data.cheveux" value="{{data.cheveux}}" data-dtype="String"/></li>
|
|
<li class="item flexrow" ><span class="description-label">Yeux : </span><input class="description-value flexrow" type="text" name="data.yeux" value="{{data.yeux}}" data-dtype="String"/></li>
|
|
</ol>
|
|
</div>
|
|
<div>
|
|
<ol class="item-list">
|
|
<li class="item flexrow" ><span class="description-label">Age : </span><input class="description-value flexrow" type="text" name="data.age" value="{{data.age}}" data-dtype="String"/></li>
|
|
<li class="item flexrow" ><span class="description-label">Heure de naissance : </span><input class="description-value flexrow" type="text" name="data.heure" value="{{data.heure}}" data-dtype="String"/></li>
|
|
<li class="item flexrow" ><span class="description-label">Beauté : </span><input class="description-value flexrow" type="text" name="data.beaute" value="{{data.beaute}}" data-dtype="String"/></li>
|
|
<li class="item flexrow" ><span class="description-label">Main directrice : </span><input class="description-value flexrow" type="text" name="data.main" value="{{data.main}}" data-dtype="String"/></li>
|
|
</ol>
|
|
</div>
|
|
</div>
|
|
<div class="flexcol flex-group-left">
|
|
<span><label>Biographie : </label></span>
|
|
<div class="form-group" style="height:200px">
|
|
<div class="form-group editor" style="height:400px !important; min-height: 400px !important;">
|
|
{{editor content=data.biographie target="data.biographie" button=true owner=owner editable=editable}}
|
|
</div>
|
|
</div>
|
|
<span><label>Notes : </label></span>
|
|
<div class="form-group" style="height:200px">
|
|
<div class="form-group editor" style="height:400px !important; min-height: 400px !important;">
|
|
{{editor content=data.notes target="data.notes" button=true owner=owner editable=editable}}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
</section>
|
|
</form>
|
|
|