]> jfr.im git - irc/unrealircd/unrealircd-webpanel.git/commitdiff
add a cute lil "live" card to the overview ;d
authorValerie Pond <redacted>
Fri, 21 Apr 2023 00:54:51 +0000 (01:54 +0100)
committerValerie Pond <redacted>
Fri, 21 Apr 2023 00:54:51 +0000 (01:54 +0100)
index.php

index 175d4ea3a227fe6f9385a3fb0787653b08f1ec62..8bd66ee3242fb9b2b1235816c8ee76cd1d5bf25f 100644 (file)
--- a/index.php
+++ b/index.php
@@ -5,9 +5,12 @@ require_once "header.php";
 
 $stats = $rpc->stats()->get();
 ?>
-
-<h2>Network Overview</h2>
-
+<div class="row ml-0">
+<h2>Network Overview</h2><div data-toggle="tooltip" data-placement="top" title="The stats on this page are updated in real-time"
+                                                       class="card text-center row font-weight-bold"
+                                                       style="margin-left:5%;height:26px;width:60px;background-color:red;color:white">
+<small style="margin-left:-40px;padding-top:3px;margin-right:-50px">⚪</small>LIVE</div>
+</div>
 <?php
 $array_of_stats = (array)$stats;