This commit is contained in:
François-Xavier Guillois
2023-09-03 16:02:30 +02:00
parent 83757d26d0
commit 7677c79582
6 changed files with 16 additions and 11 deletions
+3 -3
View File
@@ -1,8 +1,8 @@
<div class="actor choose flexrow row">
<div class="actor choose flexrow row" style="flex-wrap: wrap;max-height: 100px;justify-content:center;">
{{#each actorsList as | actor akey|}}
<div class="actor rounded-full" data-totem="{{ tk }}" data-id="{{ actor.id }}" style="position:relative; width:100px;height:100px;">
<span class="flexrow w-full flex-group-center flex-align-center" style="position:absolute;z-index:10;height:100%;">{{ actor.name }}</span>
<img src="{{ actor.img }}" alt="{{ actor.name }}" width="100" height="100" style="position:relative;" />
<span class="flexrow w-full flex-group-center flex-align-center" style="position:absolute;z-index:10;width:100px;height:100px;">{{ actor.name }}</span>
<img src="{{ actor.img }}" alt="{{ actor.name }}" width="100" height="100" style="position:relative;min-width:100px;" />
</div>
{{/each}}
</div>
+7 -3
View File
@@ -2,9 +2,13 @@
{{#each config.totems as | totem tk|}}
{{#if (ne tk "human")}}
{{#if (ne tk "adapted")}}
<div class="flexrow row mdb">
<h4 style="flex:33%;"><a class="totem" data-totem="{{ tk }}" title="{{ smarttlk "TOTEMS" tk "description"}}"><img src="/systems/vermine2047/assets/images/ui/totems/{{ tk }}.webp" alt="{{ localize totem }}" width="80" height="80" /></a></h4>
<p style="flex:66%;">
<div class="flexrow row mdb flex-group-center">
<h4 style="flex:33%;">
<a class="totem" data-totem="{{ tk }}" title="{{ smarttlk "TOTEMS" tk "description"}}">
<img src="/systems/vermine2047/assets/images/ui/totems/{{ tk }}.webp" alt="{{ localize totem }}" width="80" height="80" />
</a>
</h4>
<p style="flex:66%;text-align:left;">
<strong>Instincts</strong> : {{ smarttlk "TOTEMS" tk "instincts"}}<br>
<strong>Interdits</strong> : {{ smarttlk "TOTEMS" tk "bans"}}<br>
<strong>Comportements</strong> : {{ smarttlk "TOTEMS" tk "behaviour"}}<br>