Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
almiraredoble_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
Almira Redoble
almiraredoble_reading
Commits
1dca0e6f
Commit
1dca0e6f
authored
Apr 24, 2023
by
Almira Redoble
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improved css.
parent
1b3ac646
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
30 additions
and
17 deletions
+30
-17
add-author.html
...ble_reading/bookshelf/templates/bookshelf/add-author.html
+6
-3
add-book.html
...doble_reading/bookshelf/templates/bookshelf/add-book.html
+6
-3
author_details.html
...reading/bookshelf/templates/bookshelf/author_details.html
+2
-1
book_details.html
...e_reading/bookshelf/templates/bookshelf/book_details.html
+2
-1
edit-author.html
...le_reading/bookshelf/templates/bookshelf/edit-author.html
+7
-4
edit-book.html
...oble_reading/bookshelf/templates/bookshelf/edit-book.html
+6
-3
home.html
...raredoble_reading/bookshelf/templates/bookshelf/home.html
+1
-1
style.css
almiraredoble_reading/static/style.css
+0
-1
No files found.
almiraredoble_reading/bookshelf/templates/bookshelf/add-author.html
View file @
1dca0e6f
...
...
@@ -11,10 +11,13 @@ Add New Author
{% block content %}
{{ form.non_field_errors }}
<form
action=
"{{ object.get_absolute_url }}"
method=
"post"
>
<form
action=
"{% url 'bookshelf:authors-add' %}"
method=
"post"
style=
"display: flex; flex-direction: column; align-items: center;"
>
{% csrf_token %}
{{ form }}
<input
type=
"submit"
value=
"Add Author"
>
<table>
{{ form.as_table }}
</table>
<input
type=
"submit"
value=
"Save Changes"
>
</form>
{% endblock %}
...
...
almiraredoble_reading/bookshelf/templates/bookshelf/add-book.html
View file @
1dca0e6f
...
...
@@ -11,10 +11,13 @@ Add New Book
{% block content %}
{{ form.non_field_errors }}
<form
action=
"{{ object.get_absolute_url }}"
method=
"post"
>
<form
action=
"{% url 'bookshelf:books-add' %}"
method=
"post"
style=
"display: flex; flex-direction: column; align-items: center;"
>
{% csrf_token %}
{{ form }}
<input
type=
"submit"
value=
"Add Book"
>
<table>
{{ form.as_table }}
</table>
<input
type=
"submit"
value=
"Save Changes"
>
</form>
{% endblock %}
...
...
almiraredoble_reading/bookshelf/templates/bookshelf/author_details.html
View file @
1dca0e6f
...
...
@@ -22,7 +22,8 @@
</li>
</ul>
<form
action=
"{% url 'bookshelf:author-edit' pk=object.pk %}"
>
<form
action=
"{% url 'bookshelf:author-edit' pk=object.pk %}"
style=
"display: flex; flex-direction: column; align-items: center;"
>
<input
type=
"submit"
value=
"Edit Author"
>
</form>
...
...
almiraredoble_reading/bookshelf/templates/bookshelf/book_details.html
View file @
1dca0e6f
...
...
@@ -28,7 +28,8 @@
</li>
</ul>
<form
action=
"{% url 'bookshelf:book-edit' pk=object.pk %}"
>
<form
action=
"{% url 'bookshelf:book-edit' pk=object.pk %}"
style=
"display: flex; flex-direction: column; align-items: center;"
>
<input
type=
"submit"
value=
"Edit Book"
>
</form>
...
...
almiraredoble_reading/bookshelf/templates/bookshelf/edit-author.html
View file @
1dca0e6f
...
...
@@ -6,15 +6,18 @@ Edit Book
{% endblock %}
{% block heading %}
Edit {{ object
.title
}}
Edit {{ object }}
{% endblock %}
{% block content %}
{{ form.non_field_errors }}
<form
action=
"{% url 'bookshelf:author-edit' pk=object.pk %}"
method=
"post"
>
<form
action=
"{% url 'bookshelf:author-edit' pk=object.pk %}"
method=
"post"
style=
"display: flex; flex-direction: column; align-items: center;"
>
{% csrf_token %}
{{ form }}
<input
type=
"submit"
value=
"Save Changes"
>
<table>
{{ form.as_table }}
</table>
<input
type=
"submit"
value=
"Save Changes"
>
</form>
{% endblock %}
...
...
almiraredoble_reading/bookshelf/templates/bookshelf/edit-book.html
View file @
1dca0e6f
...
...
@@ -11,10 +11,13 @@ Edit {{ object.title }}
{% block content %}
{{ form.non_field_errors }}
<form
action=
"{% url 'bookshelf:book-edit' pk=object.pk %}"
method=
"post"
>
<form
action=
"{% url 'bookshelf:book-edit' pk=object.pk %}"
method=
"post"
style=
"display: flex; flex-direction: column; align-items: center;"
>
{% csrf_token %}
{{ form }}
<input
type=
"submit"
value=
"Save Changes"
>
<table>
{{ form.as_table }}
</table>
<input
type=
"submit"
value=
"Save Changes"
>
</form>
{% endblock %}
...
...
almiraredoble_reading/bookshelf/templates/bookshelf/home.html
View file @
1dca0e6f
...
...
@@ -15,7 +15,7 @@
{% block footer %}
<a
href=
"{% url 'bookshelf:books' %}"
>
Books
</a>
<a
href=
"{% url 'bookshelf:authors' %}"
>
Authors
</a>
<a
href=
"{% url 'bookshelf:books-add' %}"
>
Add Book
</a>
<a
href=
"{% url 'bookshelf:authors' %}"
>
Authors
</a>
<a
href=
"{% url 'bookshelf:authors-add' %}"
>
Add Author
</a>
{% endblock %}
\ No newline at end of file
almiraredoble_reading/static/style.css
View file @
1dca0e6f
...
...
@@ -68,5 +68,4 @@ a {
justify-content
:
space-evenly
;
background-color
:
#264653
;
font-weight
:
bold
;
text-decoration
:
underline
white
;
}
\ 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