]> jfr.im git - irc/unrealircd/unrealircd-webpanel.git/commitdiff
Add the footer back
authorValerie Pond <redacted>
Fri, 13 Jan 2023 01:06:31 +0000 (01:06 +0000)
committerValerie Pond <redacted>
Fri, 13 Jan 2023 01:06:31 +0000 (01:06 +0000)
channels/index.php
css/unrealircd-admin.css
footer.php
index.php

index bf02085c281afbcd51a9e1b0d8287653df003fef..536c7790f1ab2e58fb7313527cc7ea50f098537e 100644 (file)
@@ -35,6 +35,8 @@ $channels = $rpc->channel()->getAll();
                        echo "<td>".$topic."</td>";
                        echo "<td>".$channel->creation_time."</td>";
                }
+
+       require_once("../footer.php");
        ?>
 </tbody>
 </table>
index 057225f410744ac2435c4d6b5706fa2d5fad202f..0e5912a36e8d4c2aedf2833d4797cf6256d78305 100644 (file)
@@ -28,7 +28,6 @@
        width: 70%;
 }
 
-
 .nav-item {
        margin-left: 2px;
        margin-right: 2px;
@@ -126,7 +125,16 @@ textarea {
        box-sizing: inherit;
        /* enable the "border-box effect" everywhere */
 }
-
+body {
+    padding-bottom: 120px;
+}
+footer {
+       font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
+       position: absolute;
+       bottom: 0;
+       width: 100%;
+       height: 55px;
+  }
 .body-for-sticky {
        position: relative;
        /* for the footer to move with the page size */
@@ -134,22 +142,6 @@ textarea {
        /* for the footer to be at the bottom */
 }
 
-.footer {
-       font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
-       position: fixed;
-       left: 0;
-       bottom: 0;
-       width: 100%;
-       background-color: #333;
-       color: white;
-       text-align: center;
-}
-
-
-.footer a {
-       color: #4B86EE;
-}
-
 .topnav {
        background-color: #333;
        overflow: hidden;
@@ -179,15 +171,6 @@ textarea {
        color: white;
 }
 
-
-[data-tab-content] {
-       display: none;
-}
-
-.active[data-tab-content] {
-       display: block;
-}
-
 .tab.active {
        background-color: #AAA;
 }
@@ -196,71 +179,6 @@ textarea {
        background-color: #AAA;
 }
 
-#headerContainer,
-#headerTitle {
-       background-color: #4B86EE;
-       font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
-       height: 62px;
-       margin-top: -10px;
-       padding: 10px 25px;
-       position: relative;
-}
-
-#headerContainer {
-       margin-left: -15px;
-       z-index: 10;
-
-       -webkit-box-shadow: 0 3px 3px .01px rgba(0, 0, 0, 0.2);
-       box-shadow: 0 3px 3px .01px rgba(0, 0, 0, 0.2);
-}
-
-#headerContainer:before {
-       border-color: #034FD5 transparent;
-       border-style: solid;
-       border-width: 1em 0 0 1em;
-       bottom: -1em;
-       content: '';
-       display: block;
-       left: 0;
-       position: absolute;
-}
-
-#headerContainer h2,
-#headerContainer h2 small {
-       color: white !important;
-       margin-bottom: 0px;
-
-}
-
-#headerContainer h2 small {
-       font-weight: lighter;
-}
-
-#headerTitle {
-       background-color: white;
-       margin-right: 15px;
-       z-index: 9;
-}
-
-#headerTitle h2 {
-       line-height: 1.5;
-       margin-bottom: 0px;
-}
-
-#headerTitle h2 i {
-       color: #f2f2f2;
-       font-size: 80px;
-       position: absolute;
-       right: 0;
-       top: -30px;
-       z-index: -1;
-}
-
-#headerTitle h2 small {
-       color: #bbb;
-}
-
-
 body {
        padding-top: 45px;
        background-image: url("../img/linen.png");
index 308b1d01b6ca1e7ab1b1fa896e6a8497bbcd1a37..111f05083cc552f020f1cf438e522da900a1c380 100644 (file)
@@ -1,2 +1,36 @@
+<footer class="text-center bg-dark text-white fixed-bottom" style="background-color: #f1f1f1;">
+  <!-- Grid container -->
+  <div class="container">
+    <!-- Section: Social media -->
+    <section class="mt-1">
+    © 1999-<?php echo date('Y'); ?> UnrealIRCd 
+
+      <!-- Twitter -->
+      <a
+        class="btn btn-link btn-floating btn-lg text-white"
+        href="https://twitter.com/Unreal_IRCd"
+        role="button"
+        data-mdb-ripple-color="dark"
+        ><i class="fab fa-twitter"></i
+      ></a>
+      <!-- Github -->
+      <a
+        class="btn btn-link btn-floating btn-lg text-white"
+        href="https://github.com/unrealircd/unrealircd-webpanel"
+        role="button"
+        data-mdb-ripple-color="dark"
+        ><i class="fab fa-github"></i
+      ></a>
+      <!-- UnrealIRCd -->
+      <a
+        href="https://unrealircd.org"
+        role="button"
+        data-mdb-ripple-color="dark"
+        ><img  class="btn btn-link btn-floating btn-xs text-white" src="<?php echo BASE_URL; ?>img/favicon.ico" width="25" height="25"></i
+      ></a>
+      
+    </section>
+    
+</footer>
 </body>
 </html>
index 98ef1da0f39b366950c2583a67e386afec753b9a..dd0d60fe3f4b24a9cb23543304ffa9e3fdece57a 100644 (file)
--- a/index.php
+++ b/index.php
@@ -1,6 +1,5 @@
 <?php
 require_once "common.php";
-
 require_once "header.php";
 
 rpc_pop_lists();
@@ -201,4 +200,8 @@ rpc_pop_lists();
                        </div>
                </div>
        </div>
-</div>
\ No newline at end of file
+</div>
+
+<?php
+
+require_once "footer.php";