{% extends 'base.html' %} {% block header %}

{% block title %}All charging sessions in database{% endblock %}

{% endblock %} {% block content %} {% for session in sessions %} {% endfor %}
ID Date Start % End % Station Vehicle
{{ session.id }} {{ session.date }} {{ session.startSOC_pct }} {{ session.endSOC_pct }} {% if session.location %}{{ session.location.displayString() }}{% endif %} {{ session.vehicle.displayString() }}
{% endblock %}