Sync with head

This commit is contained in:
LeRatierBretonnien 2020-05-24 21:02:04 +02:00
parent 12f23601dd
commit 1b794e5953

View File

@ -1,4 +1,4 @@
<form class="{{cssClass}} flexcol" autocomplete="off"> <form class="{{cssClass}}" autocomplete="off">
{{!-- Sheet Header --}} {{!-- Sheet Header --}}
<header class="sheet-header"> <header class="sheet-header">
@ -29,38 +29,33 @@
<section class="sheet-body"> <section class="sheet-body">
{{!-- Carac Tab --}} {{!-- Carac Tab --}}
<div class="tab" data-group="primary" data-tab="carac"> <div class="tab items" data-group="primary" data-tab="carac">
<div class="grid grid-2col"> <div class="grid grid-2col">
<div class="flex-group-center"> <div class="flex-group-left flexcol">
<header class="carac-header flexrow">
<span class="carac-title">Nom</span>
<span class="carac-title">Valeur</span>
<span class="carac-title">XP</span>
</header>
<ol class="carac-list"> <ol class="carac-list">
{{#each data.carac as |carac key|}} {{#each data.carac as |carac key|}}
<li class="competence flexrow" data-attribute="{{key}}"> <li class="competence flexrow" data-attribute="{{key}}">
<span class="competence-label" name="data.carac.{{key}}.label">{{carac.label}}</span> <span class="competence-label flexrow" name="data.carac.{{key}}.label">{{carac.label}}</span>
{{#if carac.derivee}} {{#if carac.derivee}}
<label class="competence-value">{{carac.value}}</label> <label class="competence-value flexrow">{{carac.value}}</label>
{{else}} {{else}}
<input class="competence-value" type="text" name="data.carac.{{key}}.value" value="{{carac.value}}" data-dtype="{{carac.type}}"/> <input class="competence-value flexrow" type="text" name="data.carac.{{key}}.value" value="{{carac.value}}" data-dtype="{{carac.type}}"/>
<input class="competence-xp" type="text" name="data.carac.{{key}}.xp" value="{{carac.xp}}" data-dtype="number"/> <input class="competence-xp flexrow" type="text" name="data.carac.{{key}}.xp" value="{{carac.xp}}" data-dtype="number"/>
{{/if}} {{/if}}
</li> </li>
{{/each}} {{/each}}
</ol> </ol>
</div> </div>
<div class="flex-group-center" > <div class="flex-group-left flexcol" >
<header class="attributs-header flexrow"> <ol class="carac-list">
<span class="attributs-title">Nom</span>
<span class="attributs-title">Valeur</span>
</header>
<ol class="attributs-list">
{{#each data.attributs as |attr key|}} {{#each data.attributs as |attr key|}}
<li class="attribut flexrow" data-attribute="{{key}}"> <li class="competence flexrow" data-attribute="{{key}}">
<span class="attribut-label" name="data.attributs.{{key}}.label">{{attr.label}}</span> <span class="competence-label flexrow" name="data.attributs.{{key}}.label">{{attr.label}} : {{attr.value}}</span>
<label class="attribut-value">{{attr.value}}</label> </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>
</li> </li>
{{/each}} {{/each}}
</ol> </ol>