totem picker done

This commit is contained in:
François-Xavier Guillois
2023-08-31 19:18:37 +02:00
parent 987bb9fd6e
commit ff6be3989e
8 changed files with 152 additions and 28 deletions
+15 -6
View File
@@ -1,8 +1,17 @@
<div class="totem choose">
<div class="flexrow row mdb">
<label for="system.identity.totem">{{ localize 'IDENTITY.totem' }}</label>
<select name="system.identity.totem" class="w-full">
{{selectOptions config.totems selected=system.identity.totem localize=true}}
</select>
</div>
{{#each config.totems as | totem tk|}}
{{#if (ne tk "human")}}
{{#if (ne tk "adapted")}}
<div class="flexrow row mdb">
<h4 style="flex:20%;"><a class="totem" data-totem="{{ tk }}" title="{{ smarttlk "TOTEMS" tk "description"}}"><img src="" alt="{{ localize totem }}" /></a></h4>
<p style="flex:80%;">
<strong>Instincts</strong> : {{ smarttlk "TOTEMS" tk "instincts"}}<br>
<strong>Interdits</strong> : {{ smarttlk "TOTEMS" tk "bans"}}<br>
<strong>Comportements</strong> : {{ smarttlk "TOTEMS" tk "behaviour"}}<br>
<strong>Totem opposé</strong> : {{ smartcfg "totem_opposites" tk }}<br>
</p>
</div>
{{/if}}
{{/if}}
{{/each}}
</div>