{% extends "base.html" %} {% from "_ui.html" import page_head, empty %} {% block title %}Dashboard{% endblock %} {% block content %} {{ page_head('grid', 'Dashboard', 'An overview of what is stored in the portal.') }}
{{ icon('cap') }}
{{ stats.colleges }}
Total Colleges
{{ icon('users') }}
{{ stats.faculty }}
Total Faculties
{{ icon('shield') }}
{{ stats.leads }}
Total Leads
{{ icon('user') }}
{{ stats.users }}
Total Users
{{ icon('file-text') }}
{{ stats.kts }}
Total KT Entries

{{ icon('bar-chart') }} Colleges with KT loaded

{% if stats.colleges %}
{{ stats.colleges_with_kt }} of {{ stats.colleges }} colleges have at least one KT loaded
{{ stats.colleges_with_kt }} loaded {{ stats.colleges_without_kt }} not loaded yet
{% else %} {{ empty('cap', 'No colleges added yet.') }} {% endif %}
{% if rows %}
{% set top = rows[0].kt_count if rows[0].kt_count else 1 %} {% for c in rows %} {% endfor %}
CollegeKT loadedCount
{{ icon('cap') }}{{ c.name }}
{{ c.kt_count }}
{% endif %}
{% endblock %}