]> jfr.im git - irc/unrealircd/unrealircd-webpanel.git/blobdiff - channels/index.php
Some visual enhancements
[irc/unrealircd/unrealircd-webpanel.git] / channels / index.php
index 54d9b90bf86c80979a6cfa1fff3aa026d726f0af..bf02085c281afbcd51a9e1b0d8287653df003fef 100644 (file)
@@ -14,14 +14,13 @@ $channels = $rpc->channel()->getAll();
 
 ?>
 <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>Created</th>
-       <th>User count</th>
-       <th>Topic</th>
-       <th>Topic Set</th>
+       <th>Users</th>
        <th>Modes</th>
+       <th>Topic</th>
+       <th>Created</th>
 </thead>
 <tbody>
        <?php
@@ -29,14 +28,12 @@ $channels = $rpc->channel()->getAll();
                {
                        echo "<tr>";
                        echo "<td>".$channel->name."</td>";
-                       echo "<td>".$channel->creation_time."</td>";
                        echo "<td>".$channel->num_users."</td>";
-                       $topic = (isset($channel->topic)) ? $channel->topic : "";
-                       echo "<td>".$topic."</td>";
-                       $setby = (isset($channel->topic)) ? "By ".$channel->topic_set_by .", at ".$channel->topic_set_at : "";
-                       echo "<td>".$setby."</td>";
                        $modes = (isset($channel->modes)) ? "+" . $channel->modes : "<none>";
                        echo "<td>".$modes."</td>";
+                       $topic = (isset($channel->topic)) ? $channel->topic : "";
+                       echo "<td>".$topic."</td>";
+                       echo "<td>".$channel->creation_time."</td>";
                }
        ?>
 </tbody>