evwiki/templates/result/tiles/chargingconnectivity.html.twig
2025-05-30 07:04:14 +02:00

25 lines
1.1 KiB
Twig

<div class="tile charging-connectivity-tile">
<div class="tile-title">
<i class="fas fa-plug" style="color: #007acc; margin-right: 8px;"></i>
Stecker
</div>
<div class="connector-info" style="margin-top: 8px; text-align: center;">
<!-- Main Connector Types -->
{% if tile.chargingConnectivity.connectorTypes|length > 0 %}
<div style="margin-bottom: 8px;">
{% for connector in tile.chargingConnectivity.connectorTypes %}
<div style="font-weight: bold; font-size: 18px; color: #007acc; margin-bottom: 2px;">{{ connector.value }}</div>
{% endfor %}
</div>
{% endif %}
<!-- Voltage Support -->
{% if tile.chargingConnectivity.is400v or tile.chargingConnectivity.is800v %}
<div style="font-size: 12px; color: #666;">
{% if tile.chargingConnectivity.is400v %}400V{% endif %}
{% if tile.chargingConnectivity.is800v %}{% if tile.chargingConnectivity.is400v %} / {% endif %}800V{% endif %}
</div>
{% endif %}
</div>
<small style="color: #666;">Ladeanschluss</small>
</div>