Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
trishamillena_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
Trisha Angel Millena
trishamillena_reading
Commits
8f4f57f9
Commit
8f4f57f9
authored
Apr 25, 2023
by
Trisha Angel Millena
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added CSS Styling
parent
ab84e2be
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
54 additions
and
18 deletions
+54
-18
add-author.html
...ena_reading/bookshelf/templates/bookshelf/add-author.html
+4
-1
author_details.html
...reading/bookshelf/templates/bookshelf/author_details.html
+9
-7
book_details.html
...a_reading/bookshelf/templates/bookshelf/book_details.html
+9
-6
edit-author.html
...na_reading/bookshelf/templates/bookshelf/edit-author.html
+3
-0
db.sqlite3
trishamillena_reading/db.sqlite3
+0
-0
styles.css
trishamillena_reading/static/styles.css
+29
-4
No files found.
trishamillena_reading/bookshelf/templates/bookshelf/add-author.html
View file @
8f4f57f9
...
...
@@ -5,10 +5,13 @@
{% block title %}Add New Author{% endblock %}
{% block content %}
<form
method =
"POST"
>
{% csrf_token %
}
{% csrf_token %}
{{ form.as_p }}
<input
type =
"submit"
value =
"Add Author"
/>
</form>
{% endblock %}
trishamillena_reading/bookshelf/templates/bookshelf/author_details.html
View file @
8f4f57f9
...
...
@@ -19,12 +19,14 @@
</li>
{% endfor %}
</ul>
<form
action =
"./edit"
>
<!-- for edit button-->
<input
type =
"submit"
value =
"Edit Author"
/>
</form>
<a
href =
'/bookshelf/home/'
>
Home
</a>
<a
href =
'/bookshelf/books/'
>
Books
</a>
<a
href =
'/bookshelf/authors/'
>
Authors
</a>
<div
class =
"buttons"
>
<form
action =
"./edit"
>
<!-- for edit button-->
<input
type =
"submit"
value =
"Edit Author"
/>
</form>
<a
href =
'/bookshelf/home/'
>
Home
</a>
<a
href =
'/bookshelf/books/'
>
Books
</a>
<a
href =
'/bookshelf/authors/'
>
Authors
</a>
</div>
{% endblock %}
\ No newline at end of file
trishamillena_reading/bookshelf/templates/bookshelf/book_details.html
View file @
8f4f57f9
...
...
@@ -12,12 +12,15 @@
<p
id =
"Details"
>
{{ object.ISBN }}
</p>
<p
id =
"Details"
>
{{ object.blurb }}
</p>
<form
action =
"./edit"
>
<!-- for edit button-->
<input
type =
"submit"
value =
"Edit Book"
/>
</form>
<div
class =
"buttons"
>
<form
action =
"./edit"
>
<!-- for edit button-->
<input
type =
"submit"
value =
"Edit Book"
/>
</form>
<a
href =
'/bookshelf/home/'
>
Home
</a>
<a
href =
'/bookshelf/books/'
>
Books
</a>
<a
href =
'/bookshelf/authors/'
>
Authors
</a>
<a
href =
'/bookshelf/home/'
>
Home
</a>
<a
href =
'/bookshelf/books/'
>
Books
</a>
<a
href =
'/bookshelf/authors/'
>
Authors
</a>
</div>
{% endblock %}
\ No newline at end of file
trishamillena_reading/bookshelf/templates/bookshelf/edit-author.html
View file @
8f4f57f9
...
...
@@ -5,9 +5,12 @@
{% block title %}Edit Author{% endblock %}
{% block content %}
<div
class =
"ForForm"
>
<form
method =
"POST"
>
{% csrf_token %}
{{ form.as_p }}
<input
type =
"submit"
value =
"Save Changes"
/>
</form>
</div>
{% endblock %}
\ No newline at end of file
trishamillena_reading/db.sqlite3
View file @
8f4f57f9
No preview for this file type
trishamillena_reading/static/styles.css
View file @
8f4f57f9
...
...
@@ -5,7 +5,6 @@
background
:
lightcoral
;
}
h1
{
background
:
whitesmoke
;
text-align
:
center
;
...
...
@@ -16,7 +15,8 @@ p {
text-align
:
center
;
padding
:
80px
;
font-size
:
40px
;
background
:
whitesmoke
;
background
:
lightcyan
;
}
a
{
...
...
@@ -72,10 +72,11 @@ h1#titleAuthor {
}
p
#Details
{
background
:
none
;
background
:
lightcyan
padding
:
15px
;
font-size
:
24px
;
color
:
whitesmoke
;
color
:
black
;
}
p
#Love
{
...
...
@@ -95,4 +96,28 @@ li#design {
text-align
:
center
;
}
form
{
text-align
:
center
;
}
input
{
font-weight
:
bold
;
font-size
:
100
;
width
:
150px
;
height
:
50px
;
padding
:
10px
;
text-transform
:
uppercase
;
color
:
whitesmoke
;
text-decoration
:
none
;
cursor
:
pointer
;
border
:
none
;
}
input
:hover
{
color
:
#556b2f
;
}
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