Modified buttons and urls

parent e34ece42
...@@ -20,8 +20,10 @@ ...@@ -20,8 +20,10 @@
</ul> </ul>
<div class="flex-parent jc-center"> <div class="flex-parent jc-center">
<button onclick="location.href = '/bookshelf/home'" class="green margin-right">Home</button> <a href="{% url 'bookshelf:home' %}" type="button" class="margin-left">Home</a>
<button onclick="location.href = '/bookshelf/home/books'" class="blue">Books</button> <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> </div>
</body> </body>
......
...@@ -20,8 +20,8 @@ ...@@ -20,8 +20,8 @@
</ul> </ul>
<div class="flex-parent jc-center"> <div class="flex-parent jc-center">
<button onclick="location.href = '/bookshelf/home'" class="green margin-right">Home</button> <a href="{% url 'bookshelf:home' %}" type="button" class="btn btn-outline-secondary">Home</a>
<button onclick="location.href = '/bookshelf/home/authors'" class="pink">Authors</button> <a href="{% url 'bookshelf:authors' %}" type="button" class="btn btn-outline-secondary">Authors</a>
</div> </div>
</body> </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