Commit 8c1d8634 authored by Jayson Lim's avatar Jayson Lim

Updated templates following page title specifications

parent 394c69bc
{% extends 'base.html' %} {% extends 'base.html' %}
{% load static %} {% load static %}
{% block title %}{{ object }}{% endblock %}
{% block content %} {% block content %}
<style> <style>
h3 { h1 {
border-bottom: 2px solid white; border-bottom: 2px solid white;
} }
h3, h1, ul, a, p { h1, h2, ul, a, p {
color: white; color: white;
} }
</style> </style>
<h3>{{ object }}</h3>
<h1>{{ object }}</h1> <h1>{{ object }}</h1>
<p style="font-size: 20px">{{ object.age }}</p> <p style="font-size: 20px">{{ object.age }}</p>
<p style="font-size: 20px">{{ object.nationality }}</p> <p style="font-size: 20px">{{ object.nationality }}</p>
<p style="font-size: 20px">{{ object.bio }}</p> <p style="font-size: 20px">{{ object.bio }}</p>
<h1>Books by {{ object }} I love:</h1> <h2>Books by {{ object }} I love:</h2>
<ul> <ul>
{% for book in books %} {% for book in books %}
<li> <li>
......
{% extends 'base.html' %} {% extends 'base.html' %}
{% load static %} {% load static %}
{% block title %}My Favourite Authors{% endblock %}
{% block content %} {% block content %}
<style> <style>
h3 { h1 {
border-bottom: 2px solid white; border-bottom: 2px solid white;
} }
h3, h1, ul, a { h1, ul, a {
color: white; color: white;
} }
</style> </style>
<h3>My Favourite Authors</h3>
<h1>Jayson's Favorite Authors:</h1> <h1>Jayson's Favorite Authors:</h1>
<ul> <ul>
{% for object in object_list %} {% for object in object_list %}
......
{% extends 'base.html' %} {% extends 'base.html' %}
{% load static %} {% load static %}
{% block title %}{{ object.title }}{% endblock %}
{% block content %} {% block content %}
<style> <style>
h3 { h1 {
border-bottom: 2px solid white; border-bottom: 2px solid white;
} }
h3, h1, ul, a, p { h1, ul, a, p {
color: white; color: white;
} }
</style> </style>
<h3>{{ object.title }}</h3>
<h1>{{ object.title }}</h1> <h1>{{ object.title }}</h1>
<a href="{{ author.get_absolute_url }}" style="font-size: 24px">{{ author }}</a> <a href="{{ author.get_absolute_url }}" style="font-size: 24px">{{ author }}</a>
<p style="font-size: 20px">{{ object.publisher }}</p> <p style="font-size: 20px">{{ object.publisher }}</p>
......
{% extends 'base.html' %} {% extends 'base.html' %}
{% load static %} {% load static %}
{% block title %}My Favourite Books{% endblock %}
{% block content %} {% block content %}
<style> <style>
h3 { h1 {
border-bottom: 2px solid white; border-bottom: 2px solid white;
} }
h3, h1, ul, a { h1, ul, a {
color: white; color: white;
} }
</style> </style>
</style> </style>
<h3>My Favourite Books & Authors</h3>
<h1>Jayson's Favorite Books:</h1> <h1>Jayson's Favorite Books:</h1>
<ul> <ul>
{% for object in object_list %} {% for object in object_list %}
......
{% extends 'base.html' %} {% extends 'base.html' %}
{% load static %} {% load static %}
{% block content %} {% block title %}My Favourite Books & Authors{% endblock %}
{% block content %}
<style> <style>
h3 { h1 {
border-bottom: 2px solid white; border-bottom: 2px solid white;
} }
h3, h1, h2, p, a { h1, h2, p, a {
color: white; color: white;
} }
</style> </style>
<h3>My Favourite Books & Authors</h3>
<h1>Welcome to Jayson's Database of Favorite Books and Authors!</h1> <h1>Welcome to Jayson's Database of Favorite Books and Authors!</h1>
<h2>Genres</h2> <h2>Genres</h2>
<p style="font-size: 20px">I absolutely love to read and I can't get enough of four genres in particular: <p style="font-size: 20px">I absolutely love to read and I can't get enough of four genres in particular:
......
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