foundryvtt-reve-de-dragon/templates/calendar-astrologie-template.html

65 lines
1.9 KiB
HTML

<form class="{{cssClass}}" autocomplete="off">
<header class="sheet-header">
<div class="header-fields">
<h1 class="charname">Horoscope</h1>
</div>
</header>
{{!-- Sheet Body --}}
<section class="sheet-body">
<div class="form-group">
<table class='table-nombres-astraux'>
<tr>
<th>Date</th>
{{#each astrologieData as |nombreData key|}}
<th>{{nombreData.date.jour}}{{timestamp-imgSigneHeure nombreData.date.mois}}</th>
{{/each}}
</tr>
<tr>
<th>Nombre astral</th>
{{#each astrologieData as |nombreData key|}}
<td>
<ol>
<b>{{nombreData.nombreAstral}}</b>
{{#each nombreData.valeursFausses as |fausseVal key|}}
<li>{{fausseVal.actorName}} - {{fausseVal.nombreAstral}}</li>
{{/each}}
</ol>
</td>
{{/each}}
</tr>
</table>
</div>
<div>
<table class='table-nombres-astraux'>
<tr>
<th></th>
{{#each heures as |heure|}}
<th>
{{timestamp-imgSigneHeure heure}}
</th>
{{/each}}
</tr>
{{#each ajustementsActeur as |ajustementActeur|}}
<tr>
<td>
<img class="img-signe-heure" src="{{actor.img}}" title="{{actor.name}}" />
{{actor.name}}
</td>
{{#each ajustementActeur.ajustements as |ajustement|}}
<td>{{#if (ne ajustement.ajustement 0)}}
<strong>
{{numberFormat ajustement.ajustement decimals=0 sign=true}}
</strong>
{{else}}
<div class="dimmed">
{{timestamp-imgSigneHeure ajustement.heure}}
</div>
{{/if}}</td>
{{/each}}
</tr>
{{/each}}
</table>
</div>
</section>
</form>