]> jfr.im git - irc/unrealircd/unrealircd-webpanel.git/blobdiff - login/index.php
Add able to change background on overview
[irc/unrealircd/unrealircd-webpanel.git] / login / index.php
index 56dc0a72612cd979ff29d7cf8c9ab37630a3de7a..e35239c429b9ee570a5ceec666867187e1b98dd8 100644 (file)
@@ -53,8 +53,8 @@ if (!empty($_POST))
                        Hook::run(HOOKTYPE_USER_LOGIN, $user);
 
                        /* Middle of install? Override redirect: */
-                       if (!isset($config['unrealircd']) || empty($config['unrealircd']['host']))
-                               $redirect = get_config("base_url")."settings/install2.php";
+                       if (!isset($config['unrealircd']))
+                               $redirect = get_config("base_url")."settings/rpc-servers.php";
                        header('Location: ' . $redirect);
                        die();
                }
@@ -98,7 +98,7 @@ if (!empty($_POST))
 </head>
 <section class="vh-100">
   <div class="container py-5 h-10">
-       <div class="row d-flex justify-content-center align-items-center h-100">
+       <div class="row d-flex justify-content-center align-items-center">
          <div class="col-12 col-md-8 col-lg-6 col-xl-5">
                <div class="card shadow-2-strong" style="border-radius: 1rem;">
                  <div class="card-body p-5 text-center">
@@ -138,7 +138,13 @@ if (!empty($_POST))
        </div>
 </div>
 </div></section>
+<style>
 
+body {
+               background-image: url('https://cdn.wallpapersafari.com/34/98/yznZmQ.jpg');
+               background-size: cover;
+       }
+</style>
 <script>
        var form = document.getElementById('login');
        var pinp = document.getElementById('passinp');