]> jfr.im git - irc/unrealircd/unrealircd-webpanel.git/commitdiff
Make things look prettier
authorValerie Pond <redacted>
Thu, 5 Jan 2023 01:26:36 +0000 (01:26 +0000)
committerValerie Pond <redacted>
Thu, 5 Jan 2023 01:26:36 +0000 (01:26 +0000)
config.php
css/unrealircd-admin.css
index.php

index 295dee4197621dbfd6104757c39fd96e9d3356ca..c40af52c2ac1a25ce6ab93f4eadfe472b4b446be 100644 (file)
@@ -38,4 +38,4 @@ define( 'UNREALIRCD_SSL_VERIFY', false );
 /**
  * You should only need this if you're developing something.
 */
-define( 'UNREALIRCD_DEBUG', true );
\ No newline at end of file
+define( 'UNREALIRCD_DEBUG', false );
\ No newline at end of file
index fdddcd9ca7393544ba54aa4547394ab0317e7842..edf473109078b721a38edb44a345249423cdf58e 100644 (file)
@@ -1,7 +1,7 @@
 .unrealircd_overview {
     font-family: arial, sans-serif;
     border-collapse: collapse;
-    border-radius: 15px;
+    border-radius: 7px;
     width: 25%;
     box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
 }
@@ -9,16 +9,26 @@
 .users_overview {
     font-family: arial, sans-serif;
     border-collapse: collapse;
-    border-radius: 15px;
+    border-radius: 7px;
     width: 100%;
     box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
 }
 
+select {
+    border-radius: 7px;
+}
+
 a {
     color: white;
     text-decoration: none;
 }
-
+textarea {
+    height: 30px;
+    width: 400px;
+    padding: 5px 5px;
+    margin: 8px 0;
+    border-radius: 7px;
+  }
 table {
     border-collapse: collapse;
     margin: 25px 0;
@@ -239,7 +249,7 @@ body {
     appearance: none;
     background-color: #4B86EE;
     background-size: calc(100% + 20px) calc(100% + 20px);
-    border-radius: 100px;
+    border-radius: 7px;
     border-width: 0;
     box-shadow: none;
     box-sizing: border-box;
index 55fa3c755f7d702548dae1680a33afd334e517e9..0472a48cc5ddcdb10c2e6bf6af3efe9fabd3293f 100644 (file)
--- a/index.php
+++ b/index.php
@@ -70,7 +70,7 @@ if (!empty($_POST)) {
                        if (rpc_tkl_add($user, $bantype, $duration, $reason))
                        {
                                $c = $nick['result']['client'];
-                               Message::Success($c['name'] . " (*@".$c['hostname'].") has been $bantype" . "'d $msg_msg");
+                               Message::Success($c['name'] . " (*@".$c['hostname'].") has been $bantype" . "'d $msg_msg: $reason");
                        }
                }
        }
@@ -145,7 +145,7 @@ rpc_pop_lists();
                        echo "<td>".$user['user']['reputation']."</td>";
                }
        ?></table>
-       <label for="bantype">Apply action: 
+       <label for="bantype">Apply action: </label><br>
        <select name="bantype" id="bantype">
                        <option value=""></option>
                <optgroup label="Bans">
@@ -154,7 +154,7 @@ rpc_pop_lists();
                </optgroup>
        </select>
        <br>
-       <label for="banlen_w">Duration: </label>
+       <label for="banlen_w">Duration: </label><br>
        <select name="banlen_w" id="banlen_w">
                        <?php
                        for ($i = 0; $i <= 56; $i++)
@@ -197,9 +197,9 @@ rpc_pop_lists();
                        }
                        ?>
        </select>
-       <br>
-       <input type="text" name="ban_reason" id="ban_reason" value="No reason"></input><br>
-       <input type="submit" value="Apply">
+       <br><label for="ban_reason">Reason:<br></label>
+       <textarea name="ban_reason" id="ban_reason">No reason</textarea><br>
+       <input class="cute_button" type="submit" value="Apply">
        </form>
        
        </div></div>