utilisation de class au lieu d'id
This commit is contained in:
		| @@ -161,7 +161,7 @@ | ||||
|                 </li> | ||||
|                 {{#each data.attributs as |attr key|}} | ||||
|                 <li class="competence flexrow  list-item" data-attribute="{{key}}"> | ||||
|                   <span class="competence-label flexrow" name="data.attributs.{{key}}.label">{{attr.label}} :  | ||||
|                   <span class="competence-label flexrow" name="data.attributs.{{key}}.label">{{attr.label}} : | ||||
|                   {{#if (eq key 'protection')}} | ||||
|                     <input id="attribut-protection-edit" type="text" name="{{key}}" value="{{attr.value}}" data-dtype="number"/><span/> | ||||
|                   {{else}} | ||||
| @@ -173,12 +173,12 @@ | ||||
|               </ul> | ||||
|               <ul class="carac-list alterne-list"> | ||||
|                 <li class="competence flexrow list-item"> | ||||
|                   <span class="generic-label" id="chance-actuelle"><a>Chance actuelle</a></span> | ||||
|                   <input class="compteur-edit" id="chance-edit" type="text" name="chance" value="{{data.compteurs.chance.value}}" data-dtype="number"/> | ||||
|                   <span><a class="item-control stress-test" id="chance-appel">Utiliser</a></span> | ||||
|                   <span class="generic-label chance-actuelle"><a>Chance actuelle</a></span> | ||||
|                   <input class="compteur-edit" type="text" name="chance" value="{{data.compteurs.chance.value}}" data-dtype="number"/> | ||||
|                   <span><a class="item-control chance-appel">Utiliser</a></span> | ||||
|                 </li> | ||||
|                 {{#each data.compteurs as |compteur key|}} | ||||
|                   {{#if compteur.isChance}} | ||||
|                   {{#if (eq compteur.label 'Chance')}} | ||||
|                   {{else if compteur.isInput}} | ||||
|                     <li class="competence flexrow list-item"> | ||||
|                       <span class="generic-label">{{compteur.label}}</span> | ||||
| @@ -193,7 +193,7 @@ | ||||
|                       {{/if}} | ||||
|                       <span> | ||||
|                         {{#if compteur.isStress}} | ||||
|                         <a class="item-control stress-test" id="stress-test" title="Transformer">Transformer</a> | ||||
|                         <a class="item-control stress-test" title="Transformer">Transformer</a> | ||||
|                         {{else if (eq compteur.label 'Ethylisme')}} | ||||
|                         <a class="item-control ethylisme-test" id="ethylisme-test" title="Jet d'Ethylisme">Jet d'Ethylisme</a> | ||||
|                         {{else if (eq compteur.label 'Moral')}} | ||||
| @@ -228,7 +228,6 @@ | ||||
|           </div> | ||||
|           <div class="grid grid-2col"> | ||||
|             <div class="flex-group-left flexcol competence-column"> | ||||
|  | ||||
|                | ||||
|               <header class="competence-header flexrow"> | ||||
|                 <span class="competence-title">Compétences générales</span> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user