Modified buttons and urls

parent e34ece42
......@@ -20,8 +20,10 @@
</ul>
<div class="flex-parent jc-center">
<button onclick="location.href = '/bookshelf/home'" class="green margin-right">Home</button>
<button onclick="location.href = '/bookshelf/home/books'" class="blue">Books</button>
<a href="{% url 'bookshelf:home' %}" type="button" class="margin-left">Home</a>
<a href="{% url 'bookshelf:books' %}" type="button" class="jc-center">Books</a>
<!-- <button onclick="location.href = '/bookshelf/home'" class="green margin-right">Home</button>
<button onclick="location.href = '/bookshelf/home/books'" class="blue">Books</button> -->
</div>
</body>
......
......@@ -20,8 +20,8 @@
</ul>
<div class="flex-parent jc-center">
<button onclick="location.href = '/bookshelf/home'" class="green margin-right">Home</button>
<button onclick="location.href = '/bookshelf/home/authors'" class="pink">Authors</button>
<a href="{% url 'bookshelf:home' %}" type="button" class="btn btn-outline-secondary">Home</a>
<a href="{% url 'bookshelf:authors' %}" type="button" class="btn btn-outline-secondary">Authors</a>
</div>
</body>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment