2020-11-14 23:24:01 +01:00
< form class = "{{cssClass}}" autocomplete = "off" >
{{!-- Sheet Header --}}
< header class = "sheet-header" >
2021-03-25 03:18:27 +01:00
< img class = "profile-img" src = "{{img}}" data-edit = "img" title = "{{name}}" / >
2020-11-14 23:24:01 +01:00
< div class = "header-fields" >
2020-12-27 19:55:51 +01:00
< div class = "flexrow" >
2021-03-25 03:18:27 +01:00
< h1 class = "charname" > < input name = "name" type = "text" value = "{{name}}" placeholder = "Name" / > < / h1 >
2020-12-27 19:55:51 +01:00
< / div >
< div class = "flexrow flex-group-center flex-actions-bar" >
< div >
2021-04-11 12:05:06 +02:00
< span class = "encaisser-direct" > < a title = "Encaisser des dommages" > < img class = "button-img" src = "icons/svg/bones.svg" alt = "Encaisser des dommages" / > < / a > < / span >
2021-01-19 23:39:35 +01:00
< span class = "gm-only remise-a-neuf" > < a title = "Remise à neuf" > < img class = "button-img" src = "icons/svg/regen.svg" alt = "Remise à neuf" / > < / a > < / span >
2020-12-27 19:55:51 +01:00
< / div >
< / div >
2020-11-14 23:24:01 +01:00
< / div >
2020-12-27 19:55:51 +01:00
< / header >
2020-11-14 23:24:01 +01:00
{{!-- 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 = "description" > Description< / a >
< / nav >
{{!-- Sheet Body --}}
< section class = "sheet-body" >
{{!-- Carac Tab --}}
< div class = "tab items" data-group = "primary" data-tab = "carac" >
2022-07-16 23:37:46 +02:00
2020-11-14 23:24:01 +01:00
< div class = "grid grid-2col" >
< div class = "flex-group-left flexcol" >
2020-11-24 21:00:24 +01:00
< ol class = "carac-list alterne-list" >
2022-09-07 18:47:56 +02:00
{{#each system.carac as |carac key|}}
2022-08-27 23:14:16 +02:00
< li class = "caracteristique flexrow list-item" data-attribute = "{{key}}" >
2021-03-25 03:18:27 +01:00
{{#if (eq key 'taille')}}
2022-09-06 23:52:21 +02:00
< span class = "carac-label flexrow" name = "system.carac.{{key}}.label" > {{carac.label}}< / span >
2020-11-14 23:24:01 +01:00
{{else}}
2022-09-06 23:52:21 +02:00
< span class = "carac-label flexrow" name = "system.carac.{{key}}.label" > < a
2020-11-14 23:24:01 +01:00
name={{key}}>{{carac.label}}< / a > < / span >
{{/if}}
2022-09-06 23:52:21 +02:00
< input class = "competence-value flexrow" type = "text" name = "system.carac.{{key}}.value"
2020-11-14 23:24:01 +01:00
value="{{carac.value}}" data-dtype="{{carac.type}}" />
< / li >
{{/each}}
< / ol >
< / div >
2021-11-08 14:58:06 +01:00
< div class = "flex-group-left flexcol" >
2020-11-24 21:00:24 +01:00
< ol class = "carac-list alterne-list" >
2022-08-27 23:14:16 +02:00
< li class = "caracteristique flexrow list-item" >
2021-11-08 14:58:06 +01:00
< span class = "carac-label flexrow" name = "catEntite" > Catégorie : < / span >
2022-09-07 18:47:56 +02:00
< select name = "system.definition.categorieentite" value = "{{system.definition.categorieentite}}" data-dtype = "String" >
{{#select system.definition.categorieentite}}
2021-11-08 14:58:06 +01:00
< option value = "cauchemar" > Cauchemar< / option >
< option value = "reve" > Rêve< / option >
{{/select}}
< / select >
< / li >
2022-08-27 23:14:16 +02:00
< li class = "caracteristique flexrow list-item" >
2021-11-08 14:58:06 +01:00
< span class = "carac-label flexrow" name = "typeEntite" > Type d'entité : < / span >
2022-09-07 18:47:56 +02:00
< select name = "system.definition.typeentite" value = "{{system.definition.typeentite}}" data-dtype = "String" >
{{#select system.definition.typeentite}}
2021-11-08 14:58:06 +01:00
< option value = "incarne" > Incarnée< / option >
< option value = "nonincarne" > Non Incarnée< / option >
2022-09-07 18:47:56 +02:00
< option value = "blurette" > Blurette< / option >
2021-11-08 14:58:06 +01:00
{{/select}}
< / select >
< / li >
2022-09-07 18:47:56 +02:00
{{#each system.attributs as |attr key|}}
2022-08-27 23:14:16 +02:00
< li class = "caracteristique flexrow list-item" data-attribute = "{{key}}" >
2022-09-06 23:52:21 +02:00
< span class = "carac-label flexrow" name = "system.attributs.{{key}}.label" > {{attr.label}} : < / span >
< span > < input class = "attribut-value flexrow" type = "text" name = "system.attributs.{{key}}.value"
2020-11-14 23:24:01 +01:00
value="{{attr.value}}" data-dtype="{{attr.type}}" />< / span >
< / li >
{{/each}}
2022-08-27 23:14:16 +02:00
< li class = "caracteristique flexrow list-item" data-attribute = "endurance" >
2022-09-06 23:52:21 +02:00
< span class = "competence-label flexrow" name = "system.sante.endurance.label" > Endurance : < / span >
< span > < input class = "sante-value flexrow" type = "text" name = "system.sante.endurance.value"
2022-09-07 18:47:56 +02:00
value="{{system.sante.endurance.value}}" data-dtype="Number" />< / span > < span > / < / span >
2022-09-06 23:52:21 +02:00
< span > < input class = "sante-value flexrow" type = "text" name = "system.sante.endurance.max"
2022-09-07 18:47:56 +02:00
value="{{system.sante.endurance.max}}" data-dtype="Number" />< / span >
2020-11-14 23:24:01 +01:00
< / li >
< / ol >
< / div >
< / div >
< / div >
{{!-- Compétences Tab --}}
< div class = "tab competences" data-group = "primary" data-tab = "competences" >
< div class = "flexcol" >
< div class = "flex-group-left flexcol competence-column" >
2020-11-24 21:00:24 +01:00
< ol class = "item-list alterne-list" >
2021-03-25 03:18:27 +01:00
{{#each competences as |comp key|}}
2020-11-24 21:00:24 +01:00
< li class = "item flexrow list-item" data-item-id = "{{comp._id}}" >
2020-11-14 23:24:01 +01:00
< img class = "sheet-competence-img" src = "{{comp.img}}" / >
2021-01-03 19:20:35 +01:00
< span class = "competence-label" > < a > {{comp.name}}< / a > < / span >
2021-03-17 01:21:37 +01:00
< input class = "competence-value creature-carac" type = "text" compname = "{{comp.name}}"
2022-09-06 23:52:21 +02:00
value="{{comp.system.carac_value}}" data-dtype="number" />
2021-03-17 01:21:37 +01:00
< input class = "competence-value creature-niveau" type = "text" compname = "{{comp.name}}"
2022-09-06 23:52:21 +02:00
value="{{numberFormat comp.system.niveau decimals=0 sign=true}}" data-dtype="number" />
2021-03-17 01:21:37 +01:00
< input class = "competence-value creature-dommages" type = "text" compname = "{{comp.name}}"
2022-09-06 23:52:21 +02:00
value="{{numberFormat comp.system.dommages decimals=0 sign=true}}" data-dtype="number" />
2020-11-14 23:24:01 +01:00
< div class = "item-controls" >
2022-08-27 22:58:26 +02:00
< a class = "item-edit" title = "Edit Item" > < i class = "fas fa-edit" > < / i > < / a >
< a class = "item-delete" title = "Delete Item" > < i class = "fas fa-trash" > < / i > < / a >
2020-11-14 23:24:01 +01:00
< / div >
< / li >
{{/each}}
< / ol >
2022-07-16 23:37:46 +02:00
< / div >
< div class = "flex-group-left flexcol competence-column" >
< ol class = "item-list alterne-list" >
{{#each possessions as |possession key|}}
< li class = "item flexrow list-item" data-item-id = "{{possession._id}}" >
< img class = "sheet-competence-img" src = "{{possession.img}}" / >
< span class = "competence-label" > {{possession.name}}< / span >
< div class = "item-controls" >
2022-08-27 22:58:26 +02:00
< a class = "item-edit" title = "Edit Item" > < i class = "fas fa-edit" > < / i > < / a >
< a class = "item-delete" title = "Delete Item" > < i class = "fas fa-trash" > < / i > < / a >
2022-07-16 23:37:46 +02:00
< / div >
< / li >
{{/each}}
< / ol >
2020-11-14 23:24:01 +01:00
< / div >
< / div >
< / div >
2022-07-16 23:37:46 +02:00
2020-11-14 23:24:01 +01:00
{{!-- Biography Tab --}}
< div class = "tab description" data-group = "primary" data-tab = "description" >
< div class = "form-group editor" >
2022-09-27 21:03:18 +02:00
{{editor description target="system.description" button=true owner=owner editable=true}}
2020-11-14 23:24:01 +01:00
< / div >
2022-09-26 23:01:29 +02:00
{{>"systems/foundryvtt-reve-de-dragon/templates/actor/editor-notes-mj.html"}}
2020-11-14 23:24:01 +01:00
< / div >
< / section >
< / form >