Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
fausto_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
Brendan Fausto
fausto_reading
Commits
54fa928c
Commit
54fa928c
authored
Apr 27, 2023
by
Brendan Fausto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed home URL error in Authors & Books page, and added buttons to edit author and book
parent
efc2d905
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
22 additions
and
8 deletions
+22
-8
authors_details.html
reading/bookshelf/templates/bookshelf/authors_details.html
+8
-3
authors_page.html
reading/bookshelf/templates/bookshelf/authors_page.html
+1
-1
books_details.html
reading/bookshelf/templates/bookshelf/books_details.html
+8
-3
books_page.html
reading/bookshelf/templates/bookshelf/books_page.html
+1
-1
homepage.html
reading/bookshelf/templates/bookshelf/homepage.html
+4
-0
db.sqlite3
reading/db.sqlite3
+0
-0
No files found.
reading/bookshelf/templates/bookshelf/authors_details.html
View file @
54fa928c
...
@@ -28,7 +28,12 @@
...
@@ -28,7 +28,12 @@
{% endif %}
{% endif %}
{% endfor %}
{% endfor %}
<br>
<br>
<a
href =
"http://127.0.0.1:8000/"
>
Home
</a>
<p>
<a
href =
"http://127.0.0.1:8000/books"
>
Books
</a>
<a
href =
"http://127.0.0.1:8000/"
>
Home
</a>
<a
href =
"http://127.0.0.1:8000/authors"
>
Authors
</a>
<a
href =
"http://127.0.0.1:8000/books"
>
Books
</a>
<a
href =
"http://127.0.0.1:8000/authors"
>
Authors
</a>
</p>
<p>
<button
onclick=
"window.location.href='../../../authors/{{object.pk}}/edit';"
>
Edit Author
</button><br/>
</p>
{% endblock %}
{% endblock %}
\ No newline at end of file
reading/bookshelf/templates/bookshelf/authors_page.html
View file @
54fa928c
...
@@ -21,7 +21,7 @@
...
@@ -21,7 +21,7 @@
</ul>
</ul>
<p>
<p>
<a
href =
"http://127.0.0.1:8000/"
>
Home
</a>
<a
href =
"http://127.0.0.1:8000/
home
"
>
Home
</a>
<a
href =
"http://127.0.0.1:8000/books"
>
Books
</a>
<a
href =
"http://127.0.0.1:8000/books"
>
Books
</a>
</p>
</p>
{% endblock %}
{% endblock %}
\ No newline at end of file
reading/bookshelf/templates/bookshelf/books_details.html
View file @
54fa928c
...
@@ -24,8 +24,13 @@
...
@@ -24,8 +24,13 @@
</ul>
</ul>
<p>
<p>
<a
href =
"http://127.0.0.1:8000/"
>
Home
</a>
<a
href =
"http://127.0.0.1:8000/"
>
Home
</a>
<a
href =
"http://127.0.0.1:8000/books"
>
Books
</a>
<a
href =
"http://127.0.0.1:8000/books"
>
Books
</a>
<a
href =
"http://127.0.0.1:8000/authors"
>
Authors
</a>
<a
href =
"http://127.0.0.1:8000/authors"
>
Authors
</a>
</p>
<p>
<button
onclick=
"window.location.href='../../../books/{{object.pk}}/edit';"
>
Edit Book
</button><br/>
</p>
</p>
{% endblock %}
{% endblock %}
\ No newline at end of file
reading/bookshelf/templates/bookshelf/books_page.html
View file @
54fa928c
...
@@ -21,7 +21,7 @@
...
@@ -21,7 +21,7 @@
</ul>
</ul>
<p>
<p>
<a
href =
"http://127.0.0.1:8000/"
>
Home
</a>
<a
href =
"http://127.0.0.1:8000/
home
"
>
Home
</a>
<a
href =
"http://127.0.0.1:8000/authors"
>
Authors
</a>
<a
href =
"http://127.0.0.1:8000/authors"
>
Authors
</a>
</p>
</p>
{% endblock %}
{% endblock %}
\ No newline at end of file
reading/bookshelf/templates/bookshelf/homepage.html
View file @
54fa928c
...
@@ -15,4 +15,8 @@
...
@@ -15,4 +15,8 @@
<a
href =
"http://127.0.0.1:8000/books"
>
Books
</a>
<a
href =
"http://127.0.0.1:8000/books"
>
Books
</a>
<a
href =
"http://127.0.0.1:8000/authors"
>
Authors
</a>
<a
href =
"http://127.0.0.1:8000/authors"
>
Authors
</a>
</p>
</p>
<p>
<a
href =
"http://127.0.0.1:8000/books/add"
>
Add Book
</a>
<a
href =
"http://127.0.0.1:8000/authors/add"
>
Add Author
</a>
</p>
{% endblock %}
{% endblock %}
\ No newline at end of file
reading/db.sqlite3
View file @
54fa928c
No preview for this file type
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