Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
tanyayotoko_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
Tanya Yotoko
tanyayotoko_reading
Commits
644f838f
Commit
644f838f
authored
Apr 25, 2023
by
Tanya Yotoko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Edited html files with the necessary information
parent
ea85720d
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
70 additions
and
0 deletions
+70
-0
add-author.html
...oko_reading/bookshelf/templates/bookshelf/add-author.html
+16
-0
add-book.html
...otoko_reading/bookshelf/templates/bookshelf/add-book.html
+16
-0
author_details.html
...reading/bookshelf/templates/bookshelf/author_details.html
+3
-0
book_details.html
...o_reading/bookshelf/templates/bookshelf/book_details.html
+3
-0
edit-author.html
...ko_reading/bookshelf/templates/bookshelf/edit-author.html
+16
-0
edit-book.html
...toko_reading/bookshelf/templates/bookshelf/edit-book.html
+16
-0
No files found.
tanyayotoko_reading/bookshelf/templates/bookshelf/add-author.html
View file @
644f838f
{% extends 'base.html' %}
{% block title %}Add New Author{% endblock %}
{% block content %}
<form
method=
"post"
>
{% csrf_token %}
{% for field in form %}
<br>
{{field.label}}:{{field}}
<br>
{% endfor %}
<input
type=
"submit"
value=
"Add Author"
>
</form>
{% endblock %}
\ No newline at end of file
tanyayotoko_reading/bookshelf/templates/bookshelf/add-book.html
View file @
644f838f
{% extends 'base.html' %}
{% block title %}Add New Book{% endblock %}
{% block content %}
<form
method=
"post"
>
{% csrf_token %}
{% for field in form %}
<br>
{{field.label}}:{{field}}
<br>
{% endfor %}
<input
type=
"submit"
value=
"Add Book"
>
</form>
{% endblock %}
\ No newline at end of file
tanyayotoko_reading/bookshelf/templates/bookshelf/author_details.html
View file @
644f838f
...
...
@@ -18,6 +18,9 @@
</ul>
<h2>
<a
href=
"/bookshelf/authors/{{object.pk}}/edit/"
class=
"btn btn-primary"
role=
"button"
>
Edit Author
</a>
<br>
<br>
<a
href =
"/bookshelf/home/"
class=
"btn btn-primary"
role=
"button"
>
Home
</a>
<a
href =
"/bookshelf/books/"
class=
"btn btn-primary"
role=
"button"
>
Books
</a>
<a
href =
"/bookshelf/authors/"
class=
"btn btn-primary"
role=
"button"
>
Authors
</a>
...
...
tanyayotoko_reading/bookshelf/templates/bookshelf/book_details.html
View file @
644f838f
...
...
@@ -10,6 +10,9 @@
<li>
<h4>
{{object.ISBN}}
</h4>
</li>
<li>
<h4>
{{object.blurb}}
</h4>
</li>
<a
href=
"/bookshelf/books/{{object.pk}}/edit/"
class=
"btn btn-primary"
role=
"button"
>
Edit Book
</a>
<br>
<br>
<a
href =
"/bookshelf/home/"
class=
"btn btn-primary"
role=
"button"
>
Home
</a>
<a
href =
"/bookshelf/books/"
class=
"btn btn-primary"
role=
"button"
>
Books
</a>
<a
href =
"/bookshelf/authors/"
class=
"btn btn-primary"
role=
"button"
>
Authors
</a>
...
...
tanyayotoko_reading/bookshelf/templates/bookshelf/edit-author.html
View file @
644f838f
{% extends 'base.html' %}
{% block title %}Edit Author{% endblock %}
{% block content %}
<form
method=
"post"
>
{% csrf_token %}
{% for field in form %}
<br>
{{field.label}}:{{field}}
<br>
{% endfor %}
<input
type=
"submit"
value=
"Edit Author"
>
</form>
{% endblock %}
\ No newline at end of file
tanyayotoko_reading/bookshelf/templates/bookshelf/edit-book.html
View file @
644f838f
{% extends 'base.html' %}
{% block title %}Edit Book{% endblock %}
{% block content %}
<form
method=
"post"
>
{% csrf_token %}
{% for field in form %}
<br>
{{field.label}}:{{field}}
<br>
{% endfor %}
<input
type=
"submit"
value=
"Edit Book"
>
</form>
{% 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