{% extends "base.html" %} {% block title %}Vehicle {{ vehicle.id }} - Dune Awakening Dashboard{% endblock %} {% block content %}
| ID | Module | Current | DB Max | % | Damage Cause |
|---|---|---|---|---|---|
| {{ m.id }} | {{ m.name }} | {{ m.current }} | {{ m.max }} | {% set pct = (m.current / m.max * 100) if m.max > 0 else 0 %}{% if pct > 66 %}{{ "%.0f"|format(pct) }}%{% elif pct > 33 %}{{ "%.0f"|format(pct) }}%{% else %}{{ "%.0f"|format(pct) }}%{% endif %} | {{ m.damage_cause or '-' }} |
| No modules found | |||||