Created HTMLs

parent f976bbef
Pipeline #3109 failed with stages
{%extends "base.html"%}
{% load static %}
{%block content%}
<title>{{object.first_name}} {{object.last_name}}</title>
<h1>{{object.first_name}} {{object.last_name}}</h1>
<h2>{{object.age}}</h2>
<h2>{{object.nationality}}</h2>
<h2>{{object.bio}}</h2>
<h1>Books by {{object.first_name}} {{object.last_name}} I love:</h1>
{% for books in bookdetail %}
<li>
<a href="{%url 'Book_details' books.pk %}">
{{books.title}}<br>
</li>
{%endfor%}
<div style="text-align:center;">
<a href= "/home">Home</a>
<a href= "/books">Books</a>
<a href= "/authors">Authors</a>
</div>
{% endblock content%}
\ No newline at end of file
{%extends "base.html"%}
{% load static %}
{% block content%}
<head>
<title>My Favorite Authors</title>
</head>
<h1>Anchi's Favorite Authors:</h1>
{% for Author in Authors_list %}
<li>
<a href="{% url 'Author_details' Author.pk %}">
{{Author.first_name}} {{Author.last_name}}<br>
</a>
</li>
{% endfor %}
<br>
<div style="text-align:center;">
<a href= "/home">Home</a>
<a href= "/books">Books</a>
</div>
{% endblock content%}
\ No newline at end of file
{% load static %}
<!DOCTYPE html>
<html>
<body>
{% block content%}
{%endblock content%}
</body>
</html>
\ No newline at end of file
{%extends "base.html"%}
{% load static %}
{%block content%}
<title>{{object.title}}</title>
<h1>{{object.title}}</a></h1>
{% for Author in authordetail %}
<h2><a href="{%url 'Author_details' Author.pk %}">{{object.author}}</a></h2>
{% endfor %}
<h2>{{object.publisher}}</h2>
<h2>{{object.year_published|date:'Y'}}</h2>
<h2>{{object.ISBN}}</h2>
<h2>{{object.blurb}}</h2>
<div style="text-align:center;">
<a href= "/home">Home</a>
<a href= "/books">Books</a>
<a href= "/authors">Authors</a>
</div>
{% endblock content%}
{%extends "base.html"%}
{% load static %}
{% block content%}
<head>
<title>My Favorite Books</title>
</head>
<h1>Anchi's Favorite Books:</h1>
{% for books in Books_list %}
<li>
<a href="{%url 'Book_details' books.pk %}">
{{books.title}}<br>
</a>
</li>
{% endfor %}
<br>
<div style="text-align:center;">
<a href= "/home">Home</a>
<a href= "/authors">Authors</a>
</div>
{% endblock content%}
\ No newline at end of file
{%extends "base.html"%}
{% load static %}
{% block content%}
<title>My Favorite Books & Authors</title>
<h1 style="text-align:center;">Welcome to Anchi's Database of Favorite Books and Authors!</h1>
<p style="text-align:center;"> I enjoy reading books that are mostly of <i>fantasy genre</i> with
elements of <u><b>adventure.</b></u> I do not have a type of author as I enjoy many works
regardless of who wrote it. </p>
<div style="text-align:center;">
<a href= "/books">Books</a>
<a href= "/authors">Authors</a>
</div>
{% endblock content%}
\ No newline at end of file
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