Skip to content

Commit

Permalink
Revert "Template update for easy user navigation"
Browse files Browse the repository at this point in the history
This reverts commit 1bd22cd.
  • Loading branch information
ZEZE1020 committed Jan 13, 2025
1 parent f0ccb61 commit 25c4777
Showing 1 changed file with 3 additions and 23 deletions.
26 changes: 3 additions & 23 deletions templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{% block title %}My Social Media API{% endblock %}</title>
{% load static %}
<title>{% block title %}My Social Media API{% endblock %}</title>
<link rel="stylesheet" href="{% static 'css/styles.css' %}">
</head>
<body>
Expand All @@ -16,12 +16,7 @@
<li><a href="/api/accounts/">Accounts API</a></li>
<li><a href="/api/notifications/">Notifications API</a></li>
<li><a href="/api/posts/">Posts API</a></li>
<li><a href="/api/accounts/">Accounts</a></li>
{% if user.is_authenticated %}
<li><a href="{% url 'account_logout' %}">Sign Out</a></li>
{% else %}
<li><a href="{% url 'account_login' %}">Sign In</a></li>
{% endif %}
<li><a href="/accounts/">Accounts</a></li>
</ul>
</nav>
</header>
Expand All @@ -45,22 +40,7 @@ <h2>Sign Up</h2>
</main>

<footer>
<nav>
<ul>
<li><a href="{% url 'home' %}">Home</a></li>
<li><a href="/admin/">Admin</a></li>
<li><a href="/api/accounts/">Accounts API</a></li>
<li><a href="/api/notifications/">Notifications API</a></li>
<li><a href="/api/posts/">Posts API</a></li>
<li><a href="/accounts/">Accounts</a></li>
{% if user.is_authenticated %}
<li><a href="{% url 'account_logout' %}">Sign Out</a></li>
{% else %}
<li><a href="{% url 'account_login' %}">Sign In</a></li>
{% endif %}
</ul>
</nav>
<p>&copy; 2025 My Social Media API</p>
<p>&copy; 2025 Ogembo Godfrey</p>
</footer>
</body>
</html>

0 comments on commit 25c4777

Please sign in to comment.