{% extends "base.html" %} {% block title %}Admin Dashboard{% endblock %} {% block content %}

Admin Panel

Total Users: {{ total_users }}

{% for u in users %} {% set last = u.id | tojson | int and (crud.get_predictions(u.id)|last) %} {% endfor %}
ID Name Email Last CGPA Actions
{{ u.id }} {{ u.name }} {{ u.email }} {% if last %} {{ last.predicted | round(2) }} {% else %} — {% endif %}
{% endblock %}