Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
J
jakhermosisima_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
Joaquin Hermosisima
jakhermosisima_reading
Commits
bdc80354
Commit
bdc80354
authored
Apr 13, 2023
by
Joaquin Hermosisima
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
created and edited templates/bookshelf
parent
81197049
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
91 additions
and
0 deletions
+91
-0
author_details.html
...reading/bookshelf/templates/bookshelf/author_details.html
+31
-0
author_list.html
...ma_reading/bookshelf/templates/bookshelf/author_list.html
+19
-0
book_details.html
...a_reading/bookshelf/templates/bookshelf/book_details.html
+22
-0
book_list.html
...sima_reading/bookshelf/templates/bookshelf/book_list.html
+19
-0
No files found.
jakhermosisima_reading/bookshelf/templates/bookshelf/author_details.html
0 → 100644
View file @
bdc80354
{% extends "base.html" %}
{%block title%}{{object.first_name}} {{object.last_name}}{%endblock%}
{% block content %}
<h2>
{{object.first_name}} {{object.last_name}}
</h2>
<ul>
<li>
{{object.age}}
</li>
<li>
{{object.nationality}}
</li>
<li>
{{object.bio}}
</li>
</ul>
<h3>
Books by {{object.first_name}} {{object.last_name}} I love:
</h3>
<br>
<ul>
{% for item in book_list %}
<li><a
href=
"../../book/{{item.pk}}/details"
"
>
{{item.title}}
</a></li>
{% endfor %}
</ul>
<br><br><br>
{% for url in url_list %}
<a
href=
"../../{{url}}"
>
{{url}}
</a>
{% endfor %}
{% endblock %}
\ No newline at end of file
jakhermosisima_reading/bookshelf/templates/bookshelf/author_list.html
0 → 100644
View file @
bdc80354
{% extends "base.html" %}
{%block title%}My Favorite Authors{%endblock%}
{% block content %}
<h2>
{{nickname}}'s Favorite Authors:
</h2>
{%for object in object_list%}
<li><a
href=
"{{object.get_absolute_url}}"
>
{{object}}
</a></li>
{%endfor%}
<br><br><br>
{% for url in url_list %}
<a
href=
"../../{{url}}"
>
{{url}}
</a>
{% endfor %}
{% endblock %}
\ No newline at end of file
jakhermosisima_reading/bookshelf/templates/bookshelf/book_details.html
0 → 100644
View file @
bdc80354
{% extends "base.html" %}
{% block title %}{{object.title}}{% endblock %}
{% block content %}
<h2>
{{object.title}}
</h2>
<ul>
<a
href=
"{{object.author.get_absolute_url}}"
><li>
{{object.author}}
</li></a>
<li>
{{object.publisher}}
</li>
<li>
{{object.year_published}}
</li>
<li>
{{object.ISBN}}
</li>
<li>
{{object.blurb}}
</li>
</ul>
<br><br><br>
{% for url in url_list %}
<a
href=
"../../{{url}}"
>
{{url}}
</a>
{% endfor %}
{% endblock %}
\ No newline at end of file
jakhermosisima_reading/bookshelf/templates/bookshelf/book_list.html
0 → 100644
View file @
bdc80354
{% extends "base.html" %}
{% block title %}{{title}}{% endblock %}
{% block content %}
<h2>
{{nickname}}'s Favorite Books
</h2>
{%for object in object_list%}
<li><a
href=
"{{object.get_absolute_url}}"
>
{{object.title}}
</a></li>
{%endfor%}
<br><br><br>
{% for url in url_list %}
<a
href=
"../{{url}}"
>
{{url}}
</a>
{% endfor %}
{% endblock %}
\ No newline at end of file
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