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

Initial commit

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