forked from public/foundryvtt-reve-de-dragon
		
	
		
			
				
	
	
		
			58 lines
		
	
	
		
			1.6 KiB
		
	
	
	
		
			Handlebars
		
	
	
	
	
	
			
		
		
	
	
			58 lines
		
	
	
		
			1.6 KiB
		
	
	
	
		
			Handlebars
		
	
	
	
	
	
| <div>
 | |
|   <a class="chat-card-button" name="rebuild-nombres-astraux">Réinitialiser les nombres astraux</a>
 | |
| </div>
 | |
| <div class="form-group">
 | |
|   <table class='table-nombres-astraux'>
 | |
|     <tr>
 | |
|       <th>Date</th>
 | |
|       {{#each gmAstrologie.nombresAstraux as |nba|}}
 | |
|       <th>{{nba.date.jour}}{{timestamp-imgSigneHeure nba.date.mois}}</th>
 | |
|       {{/each}}
 | |
|     </tr>
 | |
|     <tr>
 | |
|       <th>Nombre astral</th>
 | |
|       {{#each gmAstrologie.nombresAstraux as |nba|}}
 | |
|       <td class="nombre-astral" data-nombre-astral="{{nba.nombreAstral}}">
 | |
|         <ol>
 | |
|         <b>{{nba.nombreAstral}}</b>
 | |
|         {{#each nba.lectures as |lecture|}}
 | |
|         <li>{{lecture.actorName}} - {{lecture.nombreAstral}}</li>
 | |
|         {{/each}}
 | |
|         </ol>
 | |
|       </td>
 | |
|       {{/each}}
 | |
|     </tr>
 | |
|   </table>
 | |
| </div>
 | |
| <div>
 | |
|   <table class='table-nombres-astraux'>
 | |
|     <tr>
 | |
|       <th></th>
 | |
|       {{#each heures as |heure|}}
 | |
|       <td>
 | |
|         {{timestamp-imgSigneHeure heure.heure}}
 | |
|       </td>
 | |
|       {{/each}}
 | |
|     </tr>
 | |
|     {{#each gmAstrologie.ajustementsActors as |ajustementActeur|}}
 | |
|     <tr class="heure-naissance" data-heure-naissance="{{actor.system.heure}}">
 | |
|       <td>
 | |
|         <img class="img-signe-heure" src="{{actor.img}}" data-tooltip="{{actor.name}}" />
 | |
|         {{actor.name}} {{timestamp-imgSigneHeure actor.system.heure}}
 | |
|       </td>
 | |
|       {{#each ajustementActeur.ajustements as |ajustement|}}
 | |
|       <td>{{#if (ne ajustement.ajustement 0)}}
 | |
|         <strong>
 | |
|           {{plusMoins ajustement.ajustement}}
 | |
|         </strong>
 | |
|         {{else}}
 | |
|         <div class="dimmed">
 | |
|           {{timestamp-imgSigneHeure ajustement.heure}}
 | |
|         </div>
 | |
|         {{/if}}</td>
 | |
|       {{/each}}
 | |
|     </tr>
 | |
|     {{/each}}
 | |
|   </table>
 | |
| </div>
 |