forked from public/foundryvtt-reve-de-dragon
		
	- title/alt remplacés par des data-tooltip - description de ce que font les boutons - description des items survolés
		
			
				
	
	
		
			45 lines
		
	
	
		
			1.8 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			45 lines
		
	
	
		
			1.8 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
| <form class="rdd-roll-dialog">
 | |
|   <img class="chat-icon" src="{{item.img}}" data-tooltip="{{item.name}}" />
 | |
|   <h4>{{item.name}}</h4>
 | |
|   <div class="flexcol">
 | |
|     <div class="flexrow flex-group-left">
 | |
|       {{#if quantiteIllimite}}
 | |
|       <label>Quantité illimitée</label>
 | |
|       {{else}}
 | |
|       <label>Quantité disponible</label>
 | |
|       <label>{{quantiteMax}}</label>
 | |
|       {{/if}}
 | |
|     </div>
 | |
|     <div class="flexrow flex-group-left">
 | |
|       <label>Nombre de lots</label>
 | |
|       <div class="flexrow">
 | |
|         {{#unless options.isOwned}}
 | |
|         <input name="quantiteIllimite" class="quantiteIllimite flex-shrink" type="checkbox" {{#if
 | |
|           quantiteIllimite}}checked{{/if}} />
 | |
|         <label class="label-quantiteIllimite flex-shrink">disponibles</label>
 | |
|         {{/unless}}
 | |
|         <input name="quantiteNbLots" class="quantiteNbLots flex-shrink number-x2" type="number" min="1"
 | |
|           max="{{quantiteMaxLots}}" value="{{quantiteNbLots}}" data-dtype="Number" />
 | |
|       </div>
 | |
|     </div>
 | |
|     <div class="flexrow flex-group-left">
 | |
|       <label for="tailleLot">Taille d'un lot</label>
 | |
|       <span class="flexrow">
 | |
|         <input name="tailleLot" class="tailleLot flex-shrink number-x2" type="number" min="1"
 | |
|           max="{{quantiteMax}}" value="{{tailleLot}}" data-dtype="Number" />
 | |
|       </span>
 | |
|     </div>
 | |
|     <div class="flexrow flex-group-left">
 | |
|       <label>Prix unitaire</label>
 | |
|       <label>{{numberFormat prixOrigine decimals=2 sign=false}} Sols</label>
 | |
|     </div>
 | |
|     <div class="flexrow flex-group-left">
 | |
|       <label for="prixLot">Prix du lot</label>
 | |
|       <span class="flexrow">
 | |
|         <input name="prixLot" class="prixLot flex-shrink number-x3" type="number" value="{{numberFormat prixLot decimals=2 sign=false}}"
 | |
|           data-dtype="Number" />
 | |
|         <label>Sols</label>
 | |
|       </span>
 | |
|     </div>
 | |
|   </div>
 | |
| </form> |