Techxyra — IT Asset Dashboard

Asset intelligence · lifecycle tracking · cost optimization

🕐 Time Travel - View Historical Machine States

Select any date to see how your machines were rated on that day. The system replays all logged activities to reconstruct the exact state.

{% if selected_date %} Return to Current {% endif %}
{% if historical_info %}
🕐 Time-Travel Active: Viewing {{ historical_info.date }}
📊 {{ historical_info.machine_count }} machines | 🔧 {{ historical_info.repairs_count }} repairs | ⬆️ {{ historical_info.upgrades_count }} upgrades
State reconstructed by replaying activity log
{% endif %} {% if comparison_data %}

📈 Changes Since {{ selected_date }}

Score Range Historical Current Change
0-25 (Critical) {{ comparison_data.historical['0-25'] }} {{ comparison_data.current['0-25'] }} {% if comparison_data.changes['0-25'] > 0 %}+{% endif %}{{ comparison_data.changes['0-25'] }}
26-50 (Critical) {{ comparison_data.historical['26-50'] }} {{ comparison_data.current['26-50'] }} {% if comparison_data.changes['26-50'] > 0 %}+{% endif %}{{ comparison_data.changes['26-50'] }}
51-75 (Alarming) {{ comparison_data.historical['51-75'] }} {{ comparison_data.current['51-75'] }} {% if comparison_data.changes['51-75'] > 0 %}+{% endif %}{{ comparison_data.changes['51-75'] }}
76-100 (Healthy) {{ comparison_data.historical['76-100'] }} {{ comparison_data.current['76-100'] }} {% if comparison_data.changes['76-100'] > 0 %}+{% endif %}{{ comparison_data.changes['76-100'] }}
{% endif %}

Summary{% if selected_date %} ({{ selected_date }}){% endif %}

Total Machines: {{ machines|length }}

Healthy: {{ machines|selectattr("health","equalto","Healthy")|list|length }}

Alarming: {{ machines|selectattr("health","equalto","Alarming")|list|length }}

Critical: {{ machines|selectattr("health","equalto","Critical")|list|length }}

{% if not selected_date %}

🔄 Recalculate All Scores

{% endif %}

Health Score Distribution

Machines by Generation Zone

Machines by Location

{% for b in branches_all %} {% set loc = b.name %} {% if oldest_active_generation %} {% else %} {% endif %} {% endfor %}
LocationStatusTotal (Active)Aging MachinesRetired/OutphasedTouched by TechniciansAdd Retired Machine
{{ loc }} {{ b.status }} {{ machines|selectattr("machine_location","equalto",loc)|selectattr("status","equalto","Active")|list|length }} {{ machines|selectattr("machine_location","equalto",loc)|selectattr("status","equalto","Active")|list|selectattr("generation","equalto",oldest_active_generation)|list|length }}0 {{ machines|selectattr("machine_location","equalto",loc)|selectattr("status","equalto","Retired")|list|length }} {{ repairs|selectattr("machine_location","equalto",loc)|list|length }} + Add Retired

Critical Machines (5 Lowest Health Scores)

{% for m in critical_machines %} {% endfor %}
CodeNameAssignedLocationHealth ScoreRepair Risk
{{ m.machine_code }} {{ m.computer_name }} {{ m.assigned_to }} {{ m.machine_location }} {{ m.health_score }}/100 {{ m.repair_risk }}