Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
neilocampo_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
Christianneil Emmanuel Ocampo
neilocampo_reading
Commits
ef3ab0fc
Commit
ef3ab0fc
authored
Apr 25, 2023
by
Christianneil Emmanuel Ocampo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Created/updated new/old html files
parent
0fa11809
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
68 additions
and
1 deletion
+68
-1
add-author.html
...mpo_reading/bookshelf/templates/bookshelf/add-author.html
+13
-0
add-book.html
...campo_reading/bookshelf/templates/bookshelf/add-book.html
+13
-0
author_details.html
...reading/bookshelf/templates/bookshelf/author_details.html
+5
-1
book_details.html
...o_reading/bookshelf/templates/bookshelf/book_details.html
+4
-0
edit-author.html
...po_reading/bookshelf/templates/bookshelf/edit-author.html
+13
-0
edit-book.html
...ampo_reading/bookshelf/templates/bookshelf/edit-book.html
+13
-0
home.html
neilocampo_reading/bookshelf/templates/bookshelf/home.html
+7
-0
No files found.
neilocampo_reading/bookshelf/templates/bookshelf/add-author.html
0 → 100644
View file @
ef3ab0fc
{% extends 'base.html' %}
{% load static %}
{% block title %}Add New Author{% endblock %}
{% block content %}
<br>
<form
method=
"post"
>
{% csrf_token %}
{% for field in form %}
{{field.label}}:{{field}}
<br><br>
{% endfor %}
<input
type=
"submit"
value=
"Add Author"
>
</form>
{% endblock %}
\ No newline at end of file
neilocampo_reading/bookshelf/templates/bookshelf/add-book.html
0 → 100644
View file @
ef3ab0fc
{% extends 'base.html' %}
{% load static %}
{% block title %}Add New Book{% endblock %}
{% block content %}
<br>
<form
method=
"post"
>
{% csrf_token %}
{% for field in form %}
{{field.label}}:{{field}}
<br><br>
{% endfor %}
<input
type=
"submit"
value=
"Add Book"
>
</form>
{% endblock %}
neilocampo_reading/bookshelf/templates/bookshelf/author_details.html
View file @
ef3ab0fc
...
@@ -17,8 +17,12 @@
...
@@ -17,8 +17,12 @@
</div>
</div>
<div
class=
"container p-3"
>
<div
class=
"container p-3"
>
<p><b>
Biography:
</b><br><br>
<p><b>
Biography:
</b><br><br>
{{object.bio }}
{{
object.bio }}
</p>
</p>
<button
type=
"button"
class=
"btn btn-dark"
>
<a
href=
"/bookshelf/authors/{{object.pk}}/edit"
class=
"link-light"
>
Edit Author
</a>
</button>
<br><br>
</div>
</div>
<div
class=
"container-fluid p-4 bg-dark text-white"
>
<div
class=
"container-fluid p-4 bg-dark text-white"
>
<h2>
Books by {{object.first_name}} {{object.last_name}} I love:
</h2>
<h2>
Books by {{object.first_name}} {{object.last_name}} I love:
</h2>
...
...
neilocampo_reading/bookshelf/templates/bookshelf/book_details.html
View file @
ef3ab0fc
...
@@ -27,6 +27,10 @@
...
@@ -27,6 +27,10 @@
<b>
Blurb:
</b>
{{ object.blurb }}
<b>
Blurb:
</b>
{{ object.blurb }}
</p>
</p>
</div>
</div>
<button
type=
"button"
class=
"btn btn-dark"
>
<a
href=
"/bookshelf/books/{{object.pk}}/edit"
class=
"link-light"
>
Edit Book
</a>
</button>
<br><br>
<button
type=
"button"
class=
"btn btn-dark"
>
<button
type=
"button"
class=
"btn btn-dark"
>
<a
href=
"/bookshelf/home/"
class=
"link-light"
>
Home
</a>
<a
href=
"/bookshelf/home/"
class=
"link-light"
>
Home
</a>
</button>
</button>
...
...
neilocampo_reading/bookshelf/templates/bookshelf/edit-author.html
0 → 100644
View file @
ef3ab0fc
{% extends 'base.html' %}
{% load static %}
{% block title %}Edit Author{% endblock %}
{% block content %}
<br>
<form
method=
"post"
>
{% csrf_token %}
{% for field in form %}
{{field.label}}:{{field}}
<br><br>
{% endfor %}
<input
type=
"submit"
value=
"Save Changes"
>
</form>
{% endblock %}
\ No newline at end of file
neilocampo_reading/bookshelf/templates/bookshelf/edit-book.html
0 → 100644
View file @
ef3ab0fc
{% extends 'base.html' %}
{% load static %}
{% block title %}Edit Book{% endblock %}
{% block content %}
<br>
<form
method=
"post"
>
{% csrf_token %}
{% for field in form %}
{{field.label}}:{{field}}
<br><br>
{% endfor %}
<input
type=
"submit"
value=
"Save Changes"
>
</form>
{% endblock %}
neilocampo_reading/bookshelf/templates/bookshelf/home.html
View file @
ef3ab0fc
...
@@ -23,5 +23,12 @@
...
@@ -23,5 +23,12 @@
<button
type=
"button"
class=
"btn btn-dark"
>
<button
type=
"button"
class=
"btn btn-dark"
>
<a
href=
"/bookshelf/authors/"
class=
"link-light"
>
Authors
</a>
<a
href=
"/bookshelf/authors/"
class=
"link-light"
>
Authors
</a>
</button>
</button>
<br><br>
<button
type=
"button"
class=
"btn btn-dark"
>
<a
href=
"../books/add/"
class=
"link-light"
>
Add Book
</a>
</button>
<button
type=
"button"
class=
"btn btn-dark"
>
<a
href=
"../authors/add/"
class=
"link-light"
>
Add Author
</a>
</button>
</div>
</div>
{% endblock %}
{% 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