Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
enricosuplico_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
Enrico Lucio A. Suplico
enricosuplico_reading
Commits
8298c38f
Commit
8298c38f
authored
May 04, 2023
by
enricosuplico
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updated the html files that are required to be added and updated
parent
eccfcfab
Changes
11
Show whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
171 additions
and
11 deletions
+171
-11
urls.cpython-310.pyc
bookshelf/__pycache__/urls.cpython-310.pyc
+0
-0
views.cpython-310.pyc
bookshelf/__pycache__/views.cpython-310.pyc
+0
-0
add-author.html
bookshelf/templates/bookshelf/add-author.html
+32
-0
add-book.html
bookshelf/templates/bookshelf/add-book.html
+32
-0
authors.html
bookshelf/templates/bookshelf/authors.html
+7
-2
authors_details.html
bookshelf/templates/bookshelf/authors_details.html
+4
-0
books.html
bookshelf/templates/bookshelf/books.html
+6
-2
books_details.html
bookshelf/templates/bookshelf/books_details.html
+4
-0
edit-author.html
bookshelf/templates/bookshelf/edit-author.html
+32
-0
edit-book.html
bookshelf/templates/bookshelf/edit-book.html
+32
-0
home.html
bookshelf/templates/bookshelf/home.html
+22
-7
No files found.
bookshelf/__pycache__/urls.cpython-310.pyc
View file @
8298c38f
No preview for this file type
bookshelf/__pycache__/views.cpython-310.pyc
View file @
8298c38f
No preview for this file type
bookshelf/templates/bookshelf/add-author.html
0 → 100644
View file @
8298c38f
{% extends 'base.html' %}
{% load static %}
{% block title %} Add New Author {% endblock %}
{% block content %}
<div>
<center>
{{ form.non_field_errors }}
{% for field in form %}
{% if field.errors %}
<p>
{{ field.label }} has the following errors:
</p>
<ul>
{% for error in field.errors %}
<li>
{{ error }}
</li>
{% endfor %}
</ul>
{% endif %}
{% endfor %}
<form
method =
"post"
>
{% csrf_token %}
{% for field in form %}
{{field.label}}: {{field}}
<br><br>
{% endfor %}
 
<input
type=
"submit"
value=
"Add Author"
>
</form>
</center></div>
{% endblock %}
\ No newline at end of file
bookshelf/templates/bookshelf/add-book.html
0 → 100644
View file @
8298c38f
{% extends 'base.html' %}
{% load static %}
{% block title %} Add New Book {% endblock %}
{% block content %}
<div>
<center>
{{ form.non_field_errors }}
{% for field in form %}
{% if field.errors %}
<p>
{{ field.label }} has the following errors:
</p>
<ul>
{% for error in field.errors %}
<li>
{{ error }}
</li>
{% endfor %}
</ul>
{% endif %}
{% endfor %}
<form
method =
"post"
>
{% csrf_token %}
{% for field in form %}
{{field.label}}: {{field}}
<br><br>
{% endfor %}
 
<input
type=
"submit"
value=
"Add Book"
>
</form>
</center>
</div>
{% endblock %}
\ No newline at end of file
bookshelf/templates/bookshelf/authors.html
View file @
8298c38f
...
...
@@ -2,6 +2,9 @@
{% load static %}
{% block title %} My Favorite Authors {% endblock %}
{% block content %}
<div>
<center>
<h1>
Enrico's Favorite Authors:
</h1>
...
...
@@ -19,9 +22,11 @@
<footer>
<br>
<br>
<a
href=
"/bookshelf/home"
>
Home
</a>
<a
href=
"/bookshelf/home"
>
Home
</a>
<a
href=
"/bookshelf/books"
>
Books
</a>
<a
href=
"/bookshelf/books"
>
Books
</a>
</footer>
</center>
</div>
{% endblock %}
\ No newline at end of file
bookshelf/templates/bookshelf/authors_details.html
View file @
8298c38f
...
...
@@ -2,6 +2,8 @@
{% load static %}
{% block title %} {{ object.first_name }} {{ object.last_name }} {% endblock %}
{% block content %}
<div>
<center>
<h1>
{{ object.first_name }} {{ object.last_name }}
</h1>
<body>
...
...
@@ -30,4 +32,6 @@
<a
href=
"/bookshelf/authors"
>
Authors
</footer>
</center>
</div>
{% endblock %}
\ No newline at end of file
bookshelf/templates/bookshelf/books.html
View file @
8298c38f
...
...
@@ -2,6 +2,8 @@
{% load static %}
{% block title %} My Favorite Books {% endblock %}
{% block content %}
<div>
<center>
<h1>
Enrico's Favorite Books:
</h1>
<body>
...
...
@@ -13,8 +15,10 @@
</body>
<footer>
<br><br>
<a
href=
"/bookshelf/home"
>
Home
</a>
<a
href=
"/bookshelf/home"
>
Home
</a>
<a
href=
"/bookshelf/authors"
>
Authors
</a>
<a
href=
"/bookshelf/authors"
>
Authors
</a>
</footer>
</center></div>
{% endblock %}
\ No newline at end of file
bookshelf/templates/bookshelf/books_details.html
View file @
8298c38f
...
...
@@ -2,6 +2,8 @@
{% load static %}
{% block title %} {{ object.title }} {% endblock %}
{% block content %}
<div>
<center>
<h1>
{{ object.title }}
</h1>
...
...
@@ -28,4 +30,6 @@
<a
href=
"/bookshelf/authors"
>
Authors
</footer>
</center>
</div>
{% endblock %}
\ No newline at end of file
bookshelf/templates/bookshelf/edit-author.html
0 → 100644
View file @
8298c38f
{% extends 'base.html' %}
{% load static %}
{% block title %} Edit Author {% endblock %}
{% block content %}
<div>
<center>
{{ form.non_field_errors }}
{% for field in form %}
{% if field.errors %}
<p>
{{ field.label }} has the following errors:
</p>
<ul>
{% for error in field.errors %}
<li>
{{ error }}
</li>
{% endfor %}
</ul>
{% endif %}
{% endfor %}
<form
method =
"post"
>
{% csrf_token %}
{% for field in form %}
{{field.label}}: {{field}}
<br><br>
{% endfor %}
 
<input
type=
"submit"
value=
"Add Author"
>
</form>
</center></div>
{% endblock %}
\ No newline at end of file
bookshelf/templates/bookshelf/edit-book.html
0 → 100644
View file @
8298c38f
{% extends 'base.html' %}
{% load static %}
{% block title %} Edit Book {% endblock %}
{% block content %}
<div>
<center>
{{ form.non_field_errors }}
{% for field in form %}
{% if field.errors %}
<p>
{{ field.label }} has the following errors:
</p>
<ul>
{% for error in field.errors %}
<li>
{{ error }}
</li>
{% endfor %}
</ul>
{% endif %}
{% endfor %}
<form
method =
"post"
>
{% csrf_token %}
{% for field in form %}
{{field.label}}: {{field}}
<br><br>
{% endfor %}
 
<input
type=
"submit"
value=
"Add Author"
>
</form>
</center></div>
{% endblock %}
\ No newline at end of file
bookshelf/templates/bookshelf/home.html
View file @
8298c38f
...
...
@@ -2,20 +2,35 @@
{% load static %}
{% block title %} My Favorite Books
&
Authors {% endblock %}
{% block content %}
<div>
<center>
<h1>
Welcome to Enrico's Database of Favorite Books and Authors!
</h1>
<body>
The kind of Genres I enjoy from books are those that I can imagine in my head.
<br>
It makes me feel as if I am part of the story.
<body>
The kind of Genres I enjoy from books are those that I can imagine in my head.
<br>
<It
makes
me
feel
as
if
I
am
part
of
the
story
.
<
br
>
I like authors who write well and are able to paint the image they want inside their reader's head.
<br>
<br>
</body>
<footer>
<a
href=
"/bookshelf/books"
>
Books
</a>
<a
href=
"/bookshelf/books"
>
Books
</a>
<a
href=
"/bookshelf/authors"
>
Authors
</a>
<a
href=
"/bookshelf/authors"
>
Authors
</a><br>
<a
href=
"/bookshelf/books/add"
>
Add Book
</a>
<a
href =
"/bookshelf/authors/add"
>
Add Author
</a>
</footer>
</center>
</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