Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
rjconanan_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
Raul Jarod Conanan
rjconanan_reading
Commits
58529812
Commit
58529812
authored
Mar 28, 2023
by
RJC
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shortened html href urls
parent
14b42b3c
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
16 additions
and
16 deletions
+16
-16
author_detail.html
bookshelf/templates/bookshelf/author_detail.html
+4
-4
authors.html
bookshelf/templates/bookshelf/authors.html
+3
-3
book_detail.html
bookshelf/templates/bookshelf/book_detail.html
+4
-4
books.html
bookshelf/templates/bookshelf/books.html
+3
-3
home.html
bookshelf/templates/bookshelf/home.html
+2
-2
No files found.
bookshelf/templates/bookshelf/author_detail.html
View file @
58529812
...
...
@@ -8,12 +8,12 @@
<p>
{{ authors.bio }}
</p><br>
<h2>
Books by {{ authors.first_name }} {{ authors.last_name }} I love
<3:
</
h2
>
{% for books in authors.books.all %}
<a
href=
"
http://127.0.0.1:8000
/books/{{ books.pk }}/details/"
>
{{ books.title }}
</a><br>
<a
href=
"/books/{{ books.pk }}/details/"
>
{{ books.title }}
</a><br>
{% endfor %}
<br>
<a
href=
"
http://127.0.0.1:8000
/homepage/"
>
Home
</a>
<a
href=
"/homepage/"
>
Home
</a>
<a
href=
"
http://127.0.0.1:8000
/books/"
>
Books
</a>
<a
href=
"/books/"
>
Books
</a>
<a
href=
"
http://127.0.0.1:8000
/authors/"
>
Authors
</a>
<a
href=
"/authors/"
>
Authors
</a>
{% endblock %}
\ No newline at end of file
bookshelf/templates/bookshelf/authors.html
View file @
58529812
...
...
@@ -4,10 +4,10 @@
{% block header %}RJ's Favorite Authors{% endblock %}
{% block content %}
{% for authors in authors %}
<a
href=
"
http://127.0.0.1:8000
/authors/{{ authors.pk }}/details/"
>
{{ authors.first_name }} {{ authors.last_name }}
</a><br>
<a
href=
"/authors/{{ authors.pk }}/details/"
>
{{ authors.first_name }} {{ authors.last_name }}
</a><br>
{% endfor %}
<br>
<a
href=
"
http://127.0.0.1:8000
/homepage/"
>
Home
</a>
<a
href=
"/homepage/"
>
Home
</a>
<a
href=
"
http://127.0.0.1:8000
/books/"
>
Books
</a>
<a
href=
"/books/"
>
Books
</a>
{% endblock %}
\ No newline at end of file
bookshelf/templates/bookshelf/book_detail.html
View file @
58529812
...
...
@@ -3,14 +3,14 @@
{% block title %}{{ books.title }}{% endblock %}
{% block header %}{{ books.title }}{% endblock %}
{% block content %}
<a
href=
"
http://127.0.0.1:8000
/authors/{{ books.author.pk }}/details/"
>
{{ books.author }}
</a><br>
<a
href=
"/authors/{{ books.author.pk }}/details/"
>
{{ books.author }}
</a><br>
<p>
{{ books.publisher }}
</p><br>
<p>
{{ books.year_published }}
</p><br>
<p>
{{ books.ISBN }}
</p><br>
<p>
{{ books.blurb }}
</p><br>
<a
href=
"
http://127.0.0.1:8000
/homepage/"
>
Home
</a>
<a
href=
"/homepage/"
>
Home
</a>
<a
href=
"
http://127.0.0.1:8000
/books/"
>
Books
</a>
<a
href=
"/books/"
>
Books
</a>
<a
href=
"
http://127.0.0.1:8000
/authors/"
>
Authors
</a>
<a
href=
"/authors/"
>
Authors
</a>
{% endblock %}
\ No newline at end of file
bookshelf/templates/bookshelf/books.html
View file @
58529812
...
...
@@ -4,10 +4,10 @@
{% block header %}RJ's Favorite Books{% endblock %}
{% block content %}
{% for books in books %}
<a
href=
"
http://127.0.0.1:8000
/books/{{ books.pk }}/details/"
>
{{ books.title }}
</a><br>
<a
href=
"/books/{{ books.pk }}/details/"
>
{{ books.title }}
</a><br>
{% endfor %}
<br>
<a
href=
"
http://127.0.0.1:8000
/homepage/"
>
Home
</a>
<a
href=
"/homepage/"
>
Home
</a>
<a
href=
"
http://127.0.0.1:8000
/authors/"
>
Authors
</a>
<a
href=
"/authors/"
>
Authors
</a>
{% endblock %}
\ No newline at end of file
bookshelf/templates/bookshelf/home.html
View file @
58529812
...
...
@@ -5,7 +5,7 @@
{% block content %}
<p>
I usually just read whatever books that pique my interest. Though I am slightly partial to the
fantasy genre of books.
</p>
<a
href=
"
http://127.0.0.1:8000
/books/"
>
Books
</a>
<a
href=
"/books/"
>
Books
</a>
<a
href=
"
http://127.0.0.1:8000
/authors/"
>
Authors
</a>
<a
href=
"/authors/"
>
Authors
</a>
{% 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