evwiki/templates/result/tiles/chargetime.html.twig
2025-05-28 09:04:15 +02:00

19 lines
923 B
Twig

<div class="tile charge-time-tile">
<div class="tile-title">Schnellladen</div>
<div class="charge-times" style="margin-top: 12px;">
{% if tile.chargeTimeProperties.minutesFrom10To80 %}
<div style="text-align: center; margin-bottom: 12px;">
<div style="font-weight: bold; font-size: 24px; color: #007acc;">{{ tile.chargeTimeProperties.minutesFrom10To80 }}</div>
<small style="color: #666; font-weight: 600;">Minuten 10-80%</small>
</div>
{% endif %}
{% if tile.chargeTimeProperties.minutesFrom20To80 %}
<div style="text-align: center;">
<div style="font-weight: bold; font-size: 18px; color: #6c757d;">{{ tile.chargeTimeProperties.minutesFrom20To80 }}</div>
<small style="color: #666;">Minuten 20-80%</small>
</div>
{% endif %}
</div>
<small style="color: #666;">DC Laden</small>
</div>