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 ### Other
| To do | Is done? | Priority | | To do | Is done? | Priority |
| ----- | -------- | -------- | | ----- | -------- | -------- |
| Footer | 🟡 | LOW | | Footer | 🟢 | LOW |
| auto-scroll | 🟢 | LOW | | auto-scroll | 🟢 | LOW |
| Multi-theme support | 🔴 | LOW | | Multi-theme support | 🔴 | LOW |
| Search | 🔴 | MEDIUM | | Search | 🔴 | MEDIUM |

View file

@ -1,4 +1,6 @@
<!-- This website is powered by AKF-Forum --> <br><br><br>
<div class="footer"> <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> </div>

View file

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

View file

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