diff --git a/templates/wireguard/wireguard_peer_list.html b/templates/wireguard/wireguard_peer_list.html
index 59d59b1..e961c8a 100644
--- a/templates/wireguard/wireguard_peer_list.html
+++ b/templates/wireguard/wireguard_peer_list.html
@@ -1,10 +1,10 @@
{% extends "base.html" %}
{% block page_custom_head %}
-
+
{% endblock %}
@@ -244,208 +244,208 @@
+ if (latestHandshake === '0') {
+ calloutDiv.classList.add('callout-danger');
+ } else if (handshakeAge < 600) {
+ calloutDiv.classList.add('callout-success');
+ } else if (handshakeAge < 1800) {
+ calloutDiv.classList.add('callout-info');
+ } else if (handshakeAge < 21600) {
+ calloutDiv.classList.add('callout-warning');
+ }
+ calloutDiv.style.transition = 'all 5s';
+ };
+