Commit 44a6fc3a authored by Anthony Bicomong's avatar Anthony Bicomong

Initial commit

parent a4ee8e29
Pipeline #3086 canceled with stages
......@@ -4,10 +4,10 @@
{% block content %}
<h1>{{ object }}</h1>
<b>Age: </b> {{ object.age }} years old <br>
<b>Nationality:</b> {{ object.nationality }} <br>
<b>Biography:</b> {{ object.bio }} <br> <br>
<b>Books by {{ object }} I love:</b>
<ul>
{% for Books in object.booksquery.all %}
......@@ -18,7 +18,6 @@
</li>
{% endfor %}
</ul>
{% endblock %}
{% block table %}
......
......@@ -9,6 +9,7 @@
{{ object.author }}
</a>
</h2>
<b>Publisher: </b>{{ object.publisher }} <br>
<b>Year Published: </b>{{ object.year_published}} <br>
<b>ISBN: </b> {{ object.ISBN }} <br>
......
......@@ -7,7 +7,6 @@
I should probably read more lmao
{% endblock %}
{# navigation bar block #}
{% block table %}
<td><a href = '../books'>Books</a></td>
<td><a href = '../authors'>Authors</a></td>
......
......@@ -5,19 +5,14 @@
</head>
<body>
{# block for content #}
<div id="content">
{% block content %}{% endblock %}
</div>
<br>
{# block for navigation bar, app pages simply put table data for needed links #}
<table> <tr>
{% block table %}{% endblock %}
</table> </tr>
</body>
</html>
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