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

69 lines
2.1 KiB
HTML
Raw Normal View History

2020-12-10 20:14:35 +01:00
<form class="{{cssClass}}" autocomplete="off">
<header class="sheet-header">
<div class="header-fields">
<h1 class="charname">Horoscope</h1>
</div>
<div class="header-fields">
<a class="chat-card-button" name="theme-astral">Thème astral</a>
<a class="chat-card-button" name="reset-nombres-astraux">Réinitialiser les nombres astraux</a>
2020-12-10 20:14:35 +01:00
</div>
</header>
{{!-- Sheet Body --}}
<section class="sheet-body">
<div class="form-group">
2020-12-13 23:11:58 +01:00
<table class='table-nombres-astraux'>
<tr>
<th>Date</th>
2020-12-10 20:14:35 +01:00
{{#each astrologieData as |nombreData key|}}
<th>{{nombreData.date.jour}}{{timestamp-imgSigneHeure nombreData.date.mois}}</th>
2020-12-10 20:14:35 +01:00
{{/each}}
</tr>
<tr>
<th>Nombre astral</th>
2020-12-11 08:29:24 +01:00
{{#each astrologieData as |nombreData key|}}
<td>
2020-12-13 23:11:58 +01:00
<ol>
<b>{{nombreData.nombreAstral}}</b>
2020-12-12 23:41:04 +01:00
{{#each nombreData.valeursFausses as |fausseVal key|}}
2020-12-13 23:11:58 +01:00
<li>{{fausseVal.actorName}} - {{fausseVal.nombreAstral}}</li>
{{/each}}
2020-12-13 23:11:58 +01:00
</ol>
2020-12-12 23:41:04 +01:00
</td>
2020-12-11 08:29:24 +01:00
{{/each}}
</tr>
</table>
2021-10-11 11:09:30 +02:00
</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}} {{timestamp-imgSigneHeure actor.system.heure}}
</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>
2021-10-11 11:09:30 +02:00
{{/each}}
</table>
2020-12-10 20:14:35 +01:00
</div>
</section>
</form>