{% extends 'base.html' %} {% block title %}Routes{% endblock %} {% block topbar_title %}Route Management{% endblock %} {% block content %}

πŸ—ΊοΈ Routes

Add and manage the routes your trips run on.

βž• Add a route
{% for r in routes %} {% empty %} {% endfor %}
ID From To Distance Duration Status Actions
{{ r.id }} {{ r.source_city.city_name }} {{ r.destination_city.city_name }} {% if r.distance_km %}{{ r.distance_km }} km{% else %}β€”{% endif %} {% if r.estimated_duration_minutes %}{{ r.estimated_duration_minutes }} min{% else %}β€”{% endif %} {% if r.is_active %}ACTIVE {% else %}INACTIVE{% endif %} Edit {% if r.is_active %}Deactivate{% else %}Activate{% endif %}
No routes yet.
{% endblock %}