Skip to content
Permalink
Browse files

Realm status table improvements

  • Loading branch information
Marlamin committed Feb 9, 2020
1 parent 099ef99 commit f36a93f0ccba1ceaaf1337f72a1b97ca8a65e219
Showing with 1 addition and 1 deletion.
  1. +1 −1 realms/index.php
@@ -68,7 +68,7 @@ function getGroupInfo($group){
?>
<h1 id="<?=$region?>"><?=$region?></h1>
<table class='table table-sm table-striped'>
<thead><tr><th style='width: 50px'></th><th style='width: 300px'>Name</th><th style='width: 50px;'>Type</th><th style='width: 80px'>Population</th><th>Server version</th><th>Last seen in realmlist at (UTC+1)</th></tr></thead>
<thead><tr><th style='width: 80px'></th><th style='width: 300px'>Name</th><th style='width: 50px;'>Type</th><th style='width: 80px'>Population</th><th>Server version</th><th>Last seen in realmlist at (UTC+1)</th></tr></thead>
<?php
foreach($realms as $realm){
$realm['status'] == 1 ? $status = "<span style='color: green'><i class='fa fa-arrow-circle-up'></i></span> Up" : $status = "<span style='color: red;'><i class='fa fa-arrow-circle-down'></i></span> Down";

0 comments on commit f36a93f

Please sign in to comment.
You can’t perform that action at this time.