Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
bellapanghulan_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
Ysabella Panghulan
bellapanghulan_reading
Commits
acdb94cf
Commit
acdb94cf
authored
Apr 24, 2023
by
Ysabella Panghulan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
edited styling of edit and add forms
parent
84e91c41
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
59 additions
and
24 deletions
+59
-24
forms.cpython-310.pyc
...hulan_reading/bookshelf/__pycache__/forms.cpython-310.pyc
+0
-0
models.cpython-310.pyc
...ulan_reading/bookshelf/__pycache__/models.cpython-310.pyc
+0
-0
urls.cpython-310.pyc
...ghulan_reading/bookshelf/__pycache__/urls.cpython-310.pyc
+0
-0
views.cpython-310.pyc
...hulan_reading/bookshelf/__pycache__/views.cpython-310.pyc
+0
-0
add-author.html
...lan_reading/bookshelf/templates/bookshelf/add-author.html
+14
-5
add-book.html
...hulan_reading/bookshelf/templates/bookshelf/add-book.html
+13
-5
edit-author.html
...an_reading/bookshelf/templates/bookshelf/edit-author.html
+12
-5
edit-book.html
...ulan_reading/bookshelf/templates/bookshelf/edit-book.html
+12
-5
home.html
...panghulan_reading/bookshelf/templates/bookshelf/home.html
+8
-4
No files found.
bellapanghulan_reading/bookshelf/__pycache__/forms.cpython-310.pyc
0 → 100644
View file @
acdb94cf
File added
bellapanghulan_reading/bookshelf/__pycache__/models.cpython-310.pyc
View file @
acdb94cf
No preview for this file type
bellapanghulan_reading/bookshelf/__pycache__/urls.cpython-310.pyc
View file @
acdb94cf
No preview for this file type
bellapanghulan_reading/bookshelf/__pycache__/views.cpython-310.pyc
View file @
acdb94cf
No preview for this file type
bellapanghulan_reading/bookshelf/templates/bookshelf/add-author.html
View file @
acdb94cf
{%extends 'base.html'%}
{% block stylesheets %}
{% load static %}
<link
rel=
"stylesheet"
type=
"text/css"
href=
"{% static 'stylesheets/form.css' %}"
>
{% endblock %}
{% block title %} Add New Author {% endblock %}
{% block body %}
{% block content %}
<form
method=
"POST"
action=
""
>
{% csrf_token %}
{{form}}
<input
type=
"Submit"
value=
"Add Author"
>
</form>
<div
class=
"form"
>
<form
method=
"POST"
action=
""
>
{% csrf_token %}
{{form}}
<input
type=
"Submit"
value=
"Add Author"
>
</form>
</div>
{% endblock %}
{% endblock %}
\ No newline at end of file
bellapanghulan_reading/bookshelf/templates/bookshelf/add-book.html
View file @
acdb94cf
{%extends 'base.html'%}
{% block stylesheets %}
{% load static %}
<link
rel=
"stylesheet"
type=
"text/css"
href=
"{% static 'stylesheets/form.css' %}"
>
{% endblock %}
{% block title %} Add New Book {% endblock %}
{% block body %}
{% block content %}
<form
method=
"POST"
action=
""
>
{% csrf_token %}
{{form}}
<input
type=
"Submit"
value=
"Add Book"
>
</form>
<div
class=
"form"
>
<form
method=
"POST"
action=
""
>
{% csrf_token %}
{{form}}
<input
type=
"Submit"
value=
"Add Book"
>
</form>
</div>
{% endblock %}
{% endblock %}
\ No newline at end of file
bellapanghulan_reading/bookshelf/templates/bookshelf/edit-author.html
View file @
acdb94cf
{%extends 'base.html'%}
{% block stylesheets %}
{% load static %}
<link
rel=
"stylesheet"
type=
"text/css"
href=
"{% static 'stylesheets/form.css' %}"
>
{% endblock %}
{% block title %} Edit Author {% endblock %}
{% block body %}
{% block content %}
<form
method=
"POST"
action=
""
>
{% csrf_token %}
{{form}}
<input
type=
"Submit"
value=
"Save Changes"
>
</form>
<div
class=
"form"
>
<form
method=
"POST"
action=
""
>
{% csrf_token %}
{{form}}
<input
type=
"Submit"
value=
"Save Changes"
>
</form>
</div>
{% endblock %}
{% endblock %}
\ No newline at end of file
bellapanghulan_reading/bookshelf/templates/bookshelf/edit-book.html
View file @
acdb94cf
{%extends 'base.html'%}
{% block stylesheets %}
{% load static %}
<link
rel=
"stylesheet"
type=
"text/css"
href=
"{% static 'stylesheets/form.css' %}"
>
{% endblock %}
{% block title %} Edit Book {% endblock %}
{% block body %}
{% block content %}
<form
method=
"POST"
action=
""
>
{% csrf_token %}
{{form}}
<input
type=
"Submit"
value=
"Save Changes"
>
</form>
<div
class=
"form"
>
<form
method=
"POST"
action=
""
>
{% csrf_token %}
{{form}}
<input
type=
"Submit"
value=
"Save Changes"
>
</form>
</div>
{% endblock %}
{% endblock %}
\ No newline at end of file
bellapanghulan_reading/bookshelf/templates/bookshelf/home.html
View file @
acdb94cf
...
...
@@ -20,10 +20,14 @@
myself and the world around me. My favorite books include: Ikigai: The Japanese Secret to a Long and Happy Life
and The Subtle Art of Not Giving a F*ck.
</p>
<div
class=
"links"
>
<a
href=
"/books/"
class=
"btn-primary"
>
Books
</a>
<a
href=
"books/add"
class=
"btn-primary"
>
Add Book
</a>
<a
href=
"/authors/"
class=
"btn-secondary"
>
Authors
</a>
<a
href=
"authors/add"
class=
"btn-secondary"
>
Add Author
</a>
<div
class=
"books-links"
>
<a
href=
"/books/"
class=
"btn-primary"
>
Books
</a>
<a
href=
"books/add"
class=
"btn-secondary"
>
Add Book
</a>
</div>
<div
class=
"authors-links"
>
<a
href=
"/authors/"
class=
"btn-primary"
>
Authors
</a>
<a
href=
"authors/add"
class=
"btn-secondary"
>
Add Author
</a>
</div>
</div>
{% endblock %}
</div>
...
...
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