]> jfr.im git - irc/unrealircd/unrealircd-webpanel.git/commitdiff
Overview: Make top margin of bottom row smaller
authorValerie Pond <redacted>
Tue, 7 Feb 2023 15:39:51 +0000 (15:39 +0000)
committerValerie Pond <redacted>
Tue, 7 Feb 2023 15:39:51 +0000 (15:39 +0000)
index.php

index 1e966ecc94e095cac8b5a36147042fd984cd0a28..9919d35f969820a1fcc1827da70147b023cf2142 100644 (file)
--- a/index.php
+++ b/index.php
@@ -18,6 +18,9 @@ Hook::run(HOOKTYPE_PRE_OVERVIEW_CARD, $array_of_stats);
 */
 $stats = (object) $array_of_stats;
 
+$userlist = [];
+Hook::run(HOOKTYPE_GET_USER_LIST, $userlist);
+$num_of_panel_admins = count($userlist);
 
 ?>
 <div class="container">
@@ -226,13 +229,7 @@ $stats = (object) $array_of_stats;
                </div>
        </div>
 </div>
-<?php
-$userlist = [];
-Hook::run(HOOKTYPE_GET_USER_LIST, $userlist);
-$num_of_panel_admins = count($userlist);
-?>
-
-<div class="container mt-5">
+<div class="container mt-3">
 
                        <div class="row">
                                <div class="col-sm-3">