{% extends "base.html" %} {% block title %}IT Dashboard{% endblock %} {% block page_title %}IT Operations Dashboard{% endblock %} {% block content %}
{% set stat_items = [ ('open', open_count, 'bi-circle', 'var(--info)', 'rgba(96,165,250,.1)', 'Open'), ('in_progress', in_progress_count, 'bi-arrow-repeat', 'var(--accent3)', 'rgba(0,180,216,.1)', 'In Progress'), ('pending', pending_count, 'bi-hourglass-split', 'var(--warning)', 'rgba(251,191,36,.1)', 'Pending'), ('resolved', resolved_count, 'bi-check2-circle', 'var(--success)', 'rgba(45,212,191,.1)', 'Resolved'), ] %} {% for status, count, icon, color, bg, label in stat_items %}
{{ count }}
{{ label }}
{% endfor %}
Assigned to Me View all →
{% if my_tickets %} {% for t in my_tickets %} {% endfor %}
Ticket #TitlePriorityStatus
{{ t.ticket_number }} {{ t.title[:40] }}{% if t.title|length>40 %}…{% endif %} {{ t.priority.upper() }} {{ t.status.replace('_',' ').upper() }}
{% else %}
No tickets assigned to you.
{% endif %}
Recent Tickets All tickets →
{% for t in recent_tickets %} {% endfor %}
Ticket #UserPriorityStatusAssignee
{{ t.ticket_number }} {{ t.creator.full_name.split()[0] }} {{ t.priority.upper() }} {{ t.status.replace('_',' ').upper() }} {% if t.assignee %} {{ t.assignee.full_name.split()[0] }} {% else %} Unassigned {% endif %}
Quick Actions
Open Queue Unassigned New KB Article {% if current_user.is_admin %} Manage Users Activity Logs {% endif %}
{% endblock %}