Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
bellapanghulan_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
Ysabella Panghulan
bellapanghulan_reading
Commits
4f77ea0e
Commit
4f77ea0e
authored
Apr 24, 2023
by
Ysabella Panghulan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added Edit Author button
parent
92a5933c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
18 deletions
+19
-18
book_details.html
...n_reading/bookshelf/templates/bookshelf/book_details.html
+19
-18
No files found.
bellapanghulan_reading/bookshelf/templates/bookshelf/book_details.html
View file @
4f77ea0e
{%extends 'base.html'%}
{% block stylesheets %}
{% load static %}
<link
rel=
"stylesheet"
type=
"text/css"
href=
"{% static 'stylesheets/book_details.css' %}"
>
{% load static %}
<link
rel=
"stylesheet"
type=
"text/css"
href=
"{% static 'stylesheets/book_details.css' %}"
>
{% endblock %}
{% block title %} {{ object.title }} {% endblock %}
{% block header %}
<h2>
{{ object.title }}
</h2>
<h2>
{{ object.title }}
</h2>
{% endblock %}
{% block body %}
<div
class=
"books-content"
>
{% block content %}
<a
href=
"{{ object.author.get_absolute_url }}"
class=
"author"
>
{{ object.author }}
</a>
<div
class=
"author-details"
>
<h3><span
class=
"label"
>
Publisher
</span><br>
{{ object.publisher }}
</h3>
<h3><span
class=
"label"
>
Year Published
</span><br>
{{ object.year_published }}
</h3>
<h3><span
class=
"label"
>
ISBN
</span><br>
{{ object.ISBN }}
</h3>
</div>
<p>
{{ object.blurb }}
</p>
<div
class=
"links"
>
<a
href=
"/home/"
class=
"btn-primary"
>
Home
</a>
<a
href=
"/books/"
class=
"btn-secondary"
>
Books
</a>
<a
href=
"/authors/"
class=
"btn-primary"
>
Authors
</a>
</div>
{% endblock %}
<div
class=
"books-content"
>
{% block content %}
<a
href=
"{{ object.author.get_absolute_url }}"
class=
"author"
>
{{ object.author }}
</a>
<div
class=
"author-details"
>
<h3><span
class=
"label"
>
Publisher
</span><br>
{{ object.publisher }}
</h3>
<h3><span
class=
"label"
>
Year Published
</span><br>
{{ object.year_published }}
</h3>
<h3><span
class=
"label"
>
ISBN
</span><br>
{{ object.ISBN }}
</h3>
</div>
<p>
{{ object.blurb }}
</p>
<a
href=
"{{object.get_absolute_url}}edit"
class=
"btn-primary"
>
Edit Book
</a>
<div
class=
"links"
>
<a
href=
"/home/"
class=
"btn-primary"
>
Home
</a>
<a
href=
"/books/"
class=
"btn-secondary"
>
Books
</a>
<a
href=
"/authors/"
class=
"btn-primary"
>
Authors
</a>
</div>
{% endblock %}
</div>
{% 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