{% extends "base.html" %} {% block title %}IT Overview{% endblock %} {% block page_title %}IT Operations Overview{% endblock %} {% block content %}
{% for label, value, icon, color, bg in [ ('Total Tickets', stats.total_tickets, 'bi-collection', 'var(--text)', 'rgba(255,255,255,.05)'), ('Open', stats.open, 'bi-circle', 'var(--info)', 'rgba(96,165,250,.1)'), ('In Progress', stats.in_progress, 'bi-arrow-repeat', 'var(--accent3)', 'rgba(0,180,216,.1)'), ('Resolved', stats.resolved, 'bi-check-circle', 'var(--success)', 'rgba(45,212,191,.1)'), ('Closed', stats.closed, 'bi-archive', 'var(--muted)', 'rgba(112,112,160,.1)'), ('Active Users', stats.total_users, 'bi-people', 'var(--accent2)', 'rgba(123,94,167,.1)'), ] %}
{{ value }}
{{ label }}
{% endfor %}
Recent Activity {% if current_user.is_admin %} Full log → {% endif %}
{% for log in recent_logs %} {% endfor %}
Action User Entity Details Time
{{ log.action }} {% if log.user %}{{ log.user.full_name }}{% else %}System{% endif %} {{ log.entity_type or '—' }} {% if log.entity_id %}#{{ log.entity_id }}{% endif %} {{ log.details or '—' }} {{ log.created_at.strftime('%b %d %H:%M') }}
{% endblock %}