added footer

This commit is contained in:
Akif9748 2022-08-12 22:32:22 +03:00
parent a24ee869a9
commit 7ed5bbb08a
4 changed files with 7 additions and 12 deletions

View File

@ -71,7 +71,7 @@ And, you can learn about API in `util/APIDOCS.md`.
### Other
| To do | Is done? | Priority |
| ----- | -------- | -------- |
| Footer | 🟡 | LOW |
| Footer | 🟢 | LOW |
| auto-scroll | 🟢 | LOW |
| Multi-theme support | 🔴 | LOW |
| Search | 🔴 | MEDIUM |

View File

@ -1,4 +1,6 @@
<!-- This website is powered by AKF-Forum -->
<br><br><br>
<div class="footer">
<!-- <p>This website is powered by AKF-Forum</p> -->
<!-- This website is powered by AKF-Forum -->
<p><a href="https://github.com/Akif9748/akf-forum"> This website is powered by AKF-Forum </a></p>
</div>

View File

@ -1,5 +1,3 @@
<!-- Navbar: -->
<% if (user?.admin){ %>
<div class="admin">
@ -31,7 +29,7 @@
<a style="float: right; background-color: #5F875F;" href="/register">REGISTER</a>
<a id="login" style="float: right; background-color:#5F87AF; " href="/login">LOGIN</a>
<script>
document.getElementById("login").href += "?redirect="+window.location.pathname
document.getElementById("login").href += "?redirect="+window.location.pathname;
</script>
@ -40,9 +38,4 @@
</div>
<hr>
<!-- Navbar end -->

View File

@ -17,7 +17,7 @@
</li>
<% }); %>
</ul>
<%- include("extra/footer") %>
</body>