2020-09-20 17:38:21 +02:00
< form class = "{{cssClass}}" autocomplete = "off" >
2020-09-20 21:45:46 +02:00
{{!-- 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-09-20 21:45:46 +02: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-09-20 21:45:46 +02:00
< div class = "flexrow" >
< div class = "flexrow" >
2021-03-17 01:21:37 +01:00
< span > {{calc.resumeBlessures}}< / span >
2020-09-20 17:38:21 +02:00
< / div >
2021-01-13 18:01:39 +01:00
< div class = "flexrow" >
2021-06-29 00:56:25 +02:00
{{>"systems/foundryvtt-reve-de-dragon/templates/actor-sheet-effects-partial.html"}}
2021-01-13 18:01:39 +01:00
< / div >
< / div >
2020-09-20 21:45:46 +02:00
< / div >
< / header >
2020-09-20 17:38:21 +02:00
2020-09-20 21:45:46 +02: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 = "blessures" > Blessures< / a >
2020-11-18 16:57:58 +01:00
< a class = "item" data-tab = "items" > Équipement< / a >
2020-09-20 21:45:46 +02:00
< a class = "item" data-tab = "description" > Description< / a >
< / nav >
2020-09-20 17:38:21 +02:00
2020-09-20 21:45:46 +02:00
{{!-- Sheet Body --}}
< section class = "sheet-body" >
2020-09-20 17:38:21 +02:00
2020-09-20 21:45:46 +02:00
{{!-- Carac Tab --}}
< div class = "tab items" data-group = "primary" data-tab = "carac" >
< 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|}}
2021-06-02 22:27:23 +02:00
< li class = "flexrow list-item" data-attribute = "{{key}}" >
2021-03-25 03:18:27 +01:00
{{#if (eq key 'taille')}}
2022-06-12 12:14:55 +02:00
< span class = "carac-label flexrow" name = "system.carac.{{key}}.label" > {{carac.label}}< / span >
2020-09-20 21:45:46 +02:00
{{else}}
2022-06-12 12:14:55 +02:00
< span class = "carac-label flexrow" name = "system.carac.{{key}}.label" > < a
2020-09-20 21:45:46 +02:00
name={{key}}>{{carac.label}}< / a > < / span >
{{/if}}
2022-06-12 12:14:55 +02:00
< input class = "competence-value flexrow" type = "text" name = "system.carac.{{key}}.value"
2020-09-20 21:45:46 +02:00
value="{{carac.value}}" data-dtype="{{carac.type}}" />
< / li >
2020-09-20 17:38:21 +02:00
{{/each}}
2021-06-02 22:27:23 +02:00
< li class = "flexrow" >
< span class = "carac-label" name = "carac-total" > Total Caractéristiques< / span >
< span class = "competence-value" name = "carac-total-value" > {{calc.caracTotal}}< / span >
2020-09-20 21:45:46 +02:00
< / li >
< / ol >
2020-09-20 17:38:21 +02:00
< / div >
2020-09-20 21:45:46 +02:00
< 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.attributs as |attr key|}}
2021-06-02 22:27:23 +02:00
< li class = "flexrow list-item" data-attribute = "{{key}}" >
2022-06-12 12:14:55 +02:00
< span class = "carac-label" name = "system.attributs.{{key}}.label" > {{attr.label}}< / span >
< input type = "text" name = "system.attributs.{{key}}.value" value = "{{attr.value}}" data-dtype = "{{attr.type}}" / >
2020-09-20 17:38:21 +02:00
< / li >
{{/each}}
2021-06-02 22:27:23 +02:00
< li class = "flexrow list-item" data-attribute = "vie" >
2022-09-06 23:52:21 +02:00
< span class = "competence-label" name = "system.sante.vie.label" > Vie< / span >
2021-06-02 22:27:23 +02:00
< span class = "flexrow" >
2022-09-07 18:47:56 +02:00
< input type = "text" name = "system.sante.vie.value" value = "{{system.sante.vie.value}}" data-dtype = "Number" / > /
< input type = "text" name = "system.sante.vie.max" value = "{{system.sante.vie.max}}" data-dtype = "Number" / >
2021-06-02 22:27:23 +02:00
< / span >
2020-09-20 17:38:21 +02:00
< / li >
2021-06-02 22:27:23 +02:00
< li class = "flexrow list-item" data-attribute = "endurance" >
2022-06-12 12:14:55 +02:00
< span class = "competence-label" name = "system.sante.endurance.label" > Endurance< / span >
2021-06-02 22:27:23 +02:00
< span class = "flexrow" >
2022-09-07 18:47:56 +02:00
< input type = "text" name = "system.sante.endurance.value" value = "{{system.sante.endurance.value}}" data-dtype = "Number" / > /
< input type = "text" name = "system.sante.endurance.max" value = "{{system.sante.endurance.max}}" data-dtype = "Number" / >
2021-06-02 22:27:23 +02:00
< / span >
2020-09-20 17:38:21 +02:00
< / li >
2021-06-02 22:27:23 +02:00
< li class = "flexrow list-item" data-attribute = "etat" >
2022-06-12 12:14:55 +02:00
< span class = "competence-label" name = "system.compteurs.etat.label" > Etat Général< / span >
2022-09-07 18:47:56 +02:00
< input type = "text" value = "{{system.compteurs.etat.value}}" disabled / >
2020-09-20 21:45:46 +02:00
< / li >
< / ol >
< / div >
< / div >
< / div >
2021-06-02 22:27:23 +02:00
2020-09-20 21:45:46 +02:00
{{!-- 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}}" >
2021-06-05 18:31:42 +02:00
< a class = "competence-label" name = "{{comp.name}}" >
< img class = "sheet-competence-img" src = "{{comp.img}}" / >
< span class = "competence-label" > {{comp.name}}< / span >
< / a >
< input class = "competence-value creature-carac" type = "text" compname = "{{comp.name}}"
2022-06-12 12:14:55 +02:00
value="{{comp.system.carac_value}}" data-dtype="number" />
2021-03-25 03:18:27 +01:00
< input class = "competence-value creature-niveau" type = "text" compname = "{{comp.name}}"
2022-06-12 12:14:55 +02:00
value="{{numberFormat comp.system.niveau decimals=0 sign=true}}" data-dtype="number" />
2021-03-25 03:18:27 +01:00
< input class = "competence-value creature-dommages" type = "text" compname = "{{comp.name}}"
2022-06-12 12:14:55 +02:00
value="{{numberFormat comp.system.dommages decimals=0 sign=true}}" data-dtype="number" />
2020-09-20 21:45:46 +02: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-09-20 21:45:46 +02:00
< / div >
2020-09-20 17:38:21 +02:00
< / li >
{{/each}}
2020-09-20 21:45:46 +02:00
< / ol >
2020-09-20 17:38:21 +02:00
< / div >
2020-09-20 21:45:46 +02:00
< / div >
< / div >
2021-06-02 22:27:23 +02:00
2020-09-20 21:45:46 +02:00
{{!-- blessures Tab --}}
< div class = "tab blessures" data-group = "primary" data-tab = "blessures" style = "height:200px" >
2021-04-27 00:30:46 +02:00
{{!-- Liste de blessures --}}
2022-09-26 02:23:07 +02:00
{{> "systems/foundryvtt-reve-de-dragon/templates/actor-sheet-blessures.html" this}}
2021-04-27 00:30:46 +02:00
< / div >
2020-11-18 16:57:58 +01:00
2021-04-27 00:30:46 +02:00
{{!-- Equipment Tab --}}
< div class = "tab items" data-group = "primary" data-tab = "items" >
2022-08-27 16:23:22 +02:00
{{> "systems/foundryvtt-reve-de-dragon/templates/actor-sheet-inventaire.html"}}
2021-06-02 22:27:23 +02:00
< / div >
2020-11-18 16:57:58 +01:00
2021-06-02 22:27:23 +02:00
{{!-- Biography Tab --}}
< div class = "tab description" data-group = "primary" data-tab = "description" >
2021-10-08 17:29:56 +02:00
< div class = "form-group" >
< span class = "item-name" > < h4 > Race< / h4 > < / span >
2022-09-07 18:47:56 +02:00
< input type = "text" name = "system.race" value = "{{system.race}}" data-dtype = "String" / >
2021-10-08 17:29:56 +02:00
< / div >
2022-06-12 08:17:59 +02:00
< div class = "form-group editor" >
2021-10-08 17:29:56 +02:00
< span class = "item-name" > < h4 > Description< / h4 >
2022-09-27 21:03:18 +02:00
{{editor description target="system.description" button=true owner=owner editable=true}}
2020-09-20 21:45:46 +02:00
< / div >
2021-10-08 17:29:56 +02:00
2021-06-02 22:27:23 +02:00
{{>"systems/foundryvtt-reve-de-dragon/templates/actor-sheet-editor-notes-mj.html"}}
2021-10-08 17:29:56 +02:00
2020-09-20 21:45:46 +02:00
< / div >
2020-09-20 17:38:21 +02:00
2020-09-20 21:45:46 +02:00
< / section >
< / form >