feat: enhance network status tracking and display in dashboard
CI / lint-and-test (push) Has been cancelled
CI / lint-and-test (push) Has been cancelled
This commit is contained in:
@@ -56,6 +56,32 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="card stat-card" style="border-left: 4px solid var(--brand-primary);">
|
||||
<div class="stat-label">Network Egress</div>
|
||||
<div style="display: grid; gap: 10px; margin-top: 10px;">
|
||||
<div>
|
||||
<div class="stat-subtext muted">System IP</div>
|
||||
<div style="font-size: 18px; font-weight: 600; line-height: 1.4;">
|
||||
{{ data.system_country_flag }}
|
||||
{{ data.system_public_ip or 'Unknown' }}
|
||||
{% if data.system_country_code %}
|
||||
<span style="font-size: 12px; color: var(--text-muted);">({{ data.system_country_code }})</span>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<div class="stat-subtext muted">Last Used IP</div>
|
||||
<div style="font-size: 18px; font-weight: 600; line-height: 1.4; color: var(--brand-primary);">
|
||||
{{ data.last_used_country_flag }}
|
||||
{{ data.last_used_public_ip or 'Unknown' }}
|
||||
{% if data.last_used_country_code %}
|
||||
<span style="font-size: 12px; color: var(--text-muted);">({{ data.last_used_country_code }})</span>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="card stat-card" style="border-left: 4px solid {% if data.queue_dead > 0 %}var(--danger-text){% else %}var(--success-text){% endif %};">
|
||||
<div class="stat-label">Delivery Queue</div>
|
||||
<div class="stat-value" style="font-size: 24px;">
|
||||
|
||||
Reference in New Issue
Block a user