summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
inline | side by side (from parent 1:
fa42b0f)
Updated overview, enhanced tables by making them containers
?>
<h4>Channels Overview</h4><br>
?>
<h4>Channels Overview</h4><br>
-<table class="table table-responsive caption-top table-striped">
+<table class="container-xxl table table-responsive caption-top table-striped">
<thead class="table-primary">
<th>Name</th>
<th>Users</th>
<thead class="table-primary">
<th>Name</th>
<th>Users</th>
-table {
- font-size: 96%;
-}
-
.unrealircd_overview {
font-family: arial, sans-serif;
border-collapse: collapse;
.unrealircd_overview {
font-family: arial, sans-serif;
border-collapse: collapse;
<h2>Network Overview</h2>
<h2>Network Overview</h2>
-<div class="container mt-4">
+<div class="container mt-3">
<div class="card text-center">
<div class="card-header bg-success text-white">
<div class="row">
<div class="card text-center">
<div class="card-header bg-success text-white">
<div class="row">
</div>
<div class="col">
<h3 class="display-4"><?php echo count(RPC_List::$user); ?></h3>
</div>
<div class="col">
<h3 class="display-4"><?php echo count(RPC_List::$user); ?></h3>
+ <div class="card-body">
+ <div class="row">
+ <div class="col">
+ <h6>Users Online</h6>
+ </div>
+ <div class="col"> <a class="btn btn-primary" href="<?php echo BASE_URL; ?>users">View</a></div>
+ </div>
+ </div>
<div class="card text-center">
<div class="card-header bg-primary text-white">
<div class="row">
<div class="card text-center">
<div class="card-header bg-primary text-white">
<div class="row">
</div>
<div class="col">
<h3 class="display-4"><?php echo count(RPC_List::$channel); ?></h3>
</div>
<div class="col">
<h3 class="display-4"><?php echo count(RPC_List::$channel); ?></h3>
+ </div>
+ </div>
+ </div>
+ <div class="card-body">
+ <div class="row">
+ <div class="col">
+ <div class="col"><a class="btn btn-primary" href="<?php echo BASE_URL; ?>channels">View</a></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="card text-center">
<div class="card-header bg-warning">
<div class="row">
<div class="card text-center">
<div class="card-header bg-warning">
<div class="row">
</div>
<div class="col">
<h3 class="display-4"><?php echo RPC_List::$opercount; ?></h3>
</div>
<div class="col">
<h3 class="display-4"><?php echo RPC_List::$opercount; ?></h3>
+ </div>
+ </div>
+ </div>
+ <div class="card-body">
+ <div class="row">
+ <div class="col">
+ <!-- TODO: Filter opers in user list and make this do that -->
+ <div class="col"><a class="btn btn-secondary disabled" href="#">View</a></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="card text-center">
<div class="card-header bg-secondary text-white">
<div class="row">
<div class="card text-center">
<div class="card-header bg-secondary text-white">
<div class="row">
</div>
<div class="col">
<h3 class="display-4"><?php echo count(RPC_List::$server); ?></h3>
</div>
<div class="col">
<h3 class="display-4"><?php echo count(RPC_List::$server); ?></h3>
+ </div>
+ </div>
+ </div>
+ <div class="card-body">
+ <div class="row">
+ <div class="col">
+ <div class="col"> <a class="btn btn-primary" href="<?php echo BASE_URL; ?>network">View</a></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
-<div class="container mt-4">
+<div class="container mt-3">
<div class="card text-center">
<div class="card-header bg-danger text-white">
<div class="row">
<div class="card text-center">
<div class="card-header bg-danger text-white">
<div class="row">
</div>
<div class="col">
<h3 class="display-4"><?php echo count(RPC_List::$tkl); ?></h3>
</div>
<div class="col">
<h3 class="display-4"><?php echo count(RPC_List::$tkl); ?></h3>
+ </div>
+ </div>
+ </div>
+ <div class="card-body">
+ <div class="row">
+ <div class="col">
<h6>Server Bans</h6>
</div>
<h6>Server Bans</h6>
</div>
+ <div class="col"> <a class="btn btn-primary" href="<?php echo BASE_URL; ?>server_bans.php">View</a></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="card text-center">
<div class="card-header bg-secondary text-white">
<div class="row">
<div class="card text-center">
<div class="card-header bg-secondary text-white">
<div class="row">
</div>
<div class="col">
<h3 class="display-4"><?php echo count(RPC_List::$spamfilter); ?></h3>
</div>
<div class="col">
<h3 class="display-4"><?php echo count(RPC_List::$spamfilter); ?></h3>
- <h6>Spamfilter Entries</h6>
+ <div class="card-body">
+ <div class="row">
+ <div class="col">
+ <h6>Spamfilter</h6>
+ </div>
+ <div class="col"> <a class="btn btn-primary" href="<?php echo BASE_URL; ?>spamfilter.php">View</a></div>
+ </div>
+ </div>
<div class="card text-center">
<div class="card-header bg-primary text-white">
<div class="row">
<div class="card text-center">
<div class="card-header bg-primary text-white">
<div class="row">
</div>
<div class="col">
<h3 class="display-4"><?php echo count(RPC_List::$exception); ?></h3>
</div>
<div class="col">
<h3 class="display-4"><?php echo count(RPC_List::$exception); ?></h3>
+
+ <div class="card-body">
+ <div class="row">
+ <div class="col">
+ <h6>Server Ban Exceptions</h6>
+ </div>
+ <div class="col"> <a class="btn btn-secondary disabled" href="#">View</a></div>
+ </div>
+ </div>
</div>
</div>
<?php
if (RPC_List::$services_count) {
$bg = "bg-success";
} ?>
</div>
</div>
<?php
if (RPC_List::$services_count) {
$bg = "bg-success";
} ?>
<div class="card text-center">
<div class="card-header <?php echo $bg; ?> text-white">
<div class="row">
<div class="card text-center">
<div class="card-header <?php echo $bg; ?> text-white">
<div class="row">
</div>
<div class="col">
<h3 class="display-4"><?php echo RPC_List::$services_count; ?></h3>
</div>
<div class="col">
<h3 class="display-4"><?php echo RPC_List::$services_count; ?></h3>
+ </div>
+ </div>
+ </div>
+ <div class="card-body">
+ <div class="row">
+ <div class="col">
<h6>Services Online</h6>
</div>
<h6>Services Online</h6>
</div>
+ <div class="col"> <a class="btn btn-secondary disabled" href="#">View</a></div>
Message::Info("Listing servers which match name: \"" . $_POST['sf_name'] . "\"");
?>
Message::Info("Listing servers which match name: \"" . $_POST['sf_name'] . "\"");
?>
- <table class="table table-responsive caption-top table-striped">
+ <table class="container-xxl table table-responsive caption-top table-striped">
<thead>
<th scope="col"><h5>Filter:</h5></th>
<form action="" method="post">
<thead>
<th scope="col"><h5>Filter:</h5></th>
<form action="" method="post">
<th scope="col"> <input class="btn btn-primary" type="submit" value="Search"></th></form>
</thead></table>
<th scope="col"> <input class="btn btn-primary" type="submit" value="Search"></th></form>
</thead></table>
- <table class="table table-responsive caption-top table-striped">
+ <table class="container-xxl table table-responsive caption-top table-striped">
<thead class="table-primary">
<th scope="col"><input type="checkbox" label='selectall' onClick="toggle_server(this)" /></th>
<th scope="col">Name</th>
<thead class="table-primary">
<th scope="col"><input type="checkbox" label='selectall' onClick="toggle_server(this)" /></th>
<th scope="col">Name</th>
- <table class="table table-responsive caption-top table-striped">
+ <table class="container-xxl table table-responsive caption-top table-striped">
<thead class="table-primary">
<form method="post">
<th><input type="checkbox" label='selectall' onClick="toggle_tkl(this)" /></th>
<thead class="table-primary">
<form method="post">
<th><input type="checkbox" label='selectall' onClick="toggle_tkl(this)" /></th>
- <table class="table table-responsive caption-top table-striped">
+ <table class="container-xxl table table-responsive caption-top table-striped">
<thead class="table-primary"><form action="spamfilter.php" method="post">
<th><input type="checkbox" label='selectall' onClick="toggle_sf(this)" /></th>
<th>Match Type</th>
<thead class="table-primary"><form action="spamfilter.php" method="post">
<th><input type="checkbox" label='selectall' onClick="toggle_sf(this)" /></th>
<th>Match Type</th>
Message::Info("Listing users which match account: \"" . $_POST['uf_account'] . "\"");
?>
Message::Info("Listing users which match account: \"" . $_POST['uf_account'] . "\"");
?>
- <table class="table table-responsive caption-top table-striped">
+ <table class="container-xxl table table-responsive caption-top table-striped">
<thead>
<th scope="col"><h5>Filter:</h5></th>
<form action="" method="post">
<thead>
<th scope="col"><h5>Filter:</h5></th>
<form action="" method="post">
<th scope="col"> <input class="btn btn-primary" type="submit" value="Search"></th></form>
</thead></table>
<th scope="col"> <input class="btn btn-primary" type="submit" value="Search"></th></form>
</thead></table>
- <table class="table table-responsive caption-top table-striped">
+ <table class="container-xxl table table-responsive caption-top table-striped">
<thead class="table-primary">
<th scope="col"><input type="checkbox" label='selectall' onClick="toggle_user(this)" /></th>
<th scope="col">Nick</th>
<thead class="table-primary">
<th scope="col"><input type="checkbox" label='selectall' onClick="toggle_user(this)" /></th>
<th scope="col">Nick</th>