Skip to content

Commit

Permalink
fix: Update button so href covers more than just the text
Browse files Browse the repository at this point in the history
  • Loading branch information
hepplerj committed Jun 5, 2024
1 parent 2bb73ec commit ae9f9ba
Showing 1 changed file with 17 additions and 11 deletions.
28 changes: 17 additions & 11 deletions templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,23 @@
<p>This temporary page is for testing that the content is in good order. Displayed here is a table of all the manuscripts in the database, as well as all the available stanzas.</p>

<div class="p-4">
<button class="bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded">
<a href="/admin">Admin panel</a>
</button>

<button class="bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded">
<a href="{% url 'manuscripts' %}">Table of manuscripts</a>
</button>

<button class="bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded">
<a href="{% url 'stanzas' %}">Text of the manuscript</a>
</button>
<a href="/admin">
<button class="bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded">
Admin panel
</button>
</a>

<a href="{% url 'manuscripts' %}">
<button class="bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded">
Table of manuscripts
</button>
</a>

<a href="{% url 'stanzas' %}">
<button class="bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded">
Text of the manuscript
</button>
</a>
</div>

</section>
Expand Down

0 comments on commit ae9f9ba

Please sign in to comment.