Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
J
janang_reading
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jan Ericsson Ong Ang
janang_reading
Commits
d7b47230
Commit
d7b47230
authored
Mar 28, 2023
by
Jan Ericsson Ong Ang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
edited templates for home & book & author details
parent
035856cd
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
51 additions
and
0 deletions
+51
-0
author_details.html
...reading/bookshelf/templates/bookshelf/author_details.html
+22
-0
book_details.html
...g_reading/bookshelf/templates/bookshelf/book_details.html
+17
-0
home.html
janang_reading/bookshelf/templates/bookshelf/home.html
+12
-0
homepage.html
janang_reading/bookshelf/templates/bookshelf/homepage.html
+0
-0
No files found.
janang_reading/bookshelf/templates/bookshelf/author_details.html
View file @
d7b47230
{% extends 'base.html' %}
{% block title %}{{ author.first_name }} {{ author.last_name }}{% endblock %}
{% block header %}{{ author.first_name }} {{ author.last_name }}{% endblock %}
{% block content %}
<p>
{{ author.age }}
</p>
<p>
{{ author.nationality }}
</p>
<p>
{{ author.bio }}
</p>
<p>
{{ author.age }}
</p>
<p>
Books by {{ author.first_name }} {{ author.last_name }} I love
</p>
<a
href=
"/books/1/details"
>
Home
</a><br>
<a
href=
"/books/2/details"
>
Home
</a><br>
<a
href=
"/books/3/details"
>
Home
</a><br>
<a
href=
"/homepage/"
>
Home
</a>
<a
href=
"/books/"
>
Books
</a>
<a
href=
"/authors/"
>
Authors
</a>
{% endblock %}
\ No newline at end of file
janang_reading/bookshelf/templates/bookshelf/book_details.html
View file @
d7b47230
{% extends 'base.html' %}
{% block title %}{{ books.title }}{% endblock %}
{% block header %}{{ books.title }}{% endblock %}
{% block content %}
<a
href=
"/authors/{{ books.author.pk }}/details/"
>
{{ books.author.pk }}
</a><br>
<p>
{{ books.publisher }}
</p>
<p>
{{ books.year_published }}
</p>
<p>
{{ books.year_ISBN }}
</p>
<p>
{{ books.year_blurb }}
</p>
<a
href=
"/homepage/"
>
Home
</a>
<a
href=
"/books/"
>
Books
</a>
<a
href=
"/authors/"
>
Authors
</a>
{% endblock %}
\ No newline at end of file
janang_reading/bookshelf/templates/bookshelf/home.html
0 → 100644
View file @
d7b47230
{% extends 'base.html' %}
{% block title %} My Favorite Books
&
Authors!{% endblock %}
{% block header %}Welcome to Jan's Database of Favorite Books and Author's! {% endblock %}
{% block content %}
<p>
I love fiction novels that are able to tell a story really well. A book that is able to keep me interested throughout every page is what I love!
</p>
<a
href=
"/books/"
>
Books
</a>
<a
href=
"/authors/"
>
Authors
</a>
{% endblock %}
\ No newline at end of file
janang_reading/bookshelf/templates/bookshelf/homepage.html
deleted
100644 → 0
View file @
035856cd
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment