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
f9cd1c23
Commit
f9cd1c23
authored
Mar 28, 2023
by
Trisha Angel Millena
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Edited css file and implemented designs, edited all html files under templates
parent
d6eacebc
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
116 additions
and
18 deletions
+116
-18
author_details.html
...reading/bookshelf/templates/bookshelf/author_details.html
+7
-7
authors.html
...illena_reading/bookshelf/templates/bookshelf/authors.html
+3
-3
book_details.html
...a_reading/bookshelf/templates/bookshelf/book_details.html
+5
-5
books.html
...amillena_reading/bookshelf/templates/bookshelf/books.html
+2
-2
styles.css
trishamillena_reading/static/styles.css
+98
-0
base.html
trishamillena_reading/templates/base.html
+1
-1
No files found.
trishamillena_reading/bookshelf/templates/bookshelf/author_details.html
View file @
f9cd1c23
...
@@ -4,16 +4,16 @@
...
@@ -4,16 +4,16 @@
{% block title %}{{ object.first_name }} {{ object.last_name }}{% endblock %}
{% block title %}{{ object.first_name }} {{ object.last_name }}{% endblock %}
{% block content %}
{% block content %}
<h1>
{{ object.first_name }} {{ object.last_name }}
</h1>
<h1
id =
"titleAuthor"
>
{{ object.first_name }} {{ object.last_name }}
</h1>
<p>
{{ object.age }}
</p>
<p
id =
"Details"
>
{{ object.age }}
</p>
<p>
{{ object.nationality }}
</p>
<p
id =
"Details"
>
{{ object.nationality }}
</p>
<p>
{{ object.bio }}
</p>
<p
id =
"Details"
>
{{ object.bio }}
</p>
<p>
Books by {{ object.first_name }} {{ object.last_name }} that I love:
</p>
<p
id =
"Love"
>
Books by {{ object.first_name }} {{ object.last_name }} that I love:
</p>
<ul>
<ul>
{% for book in object.books_set.all %}
{% for book in object.books_set.all %}
<li>
<li
id =
"design"
>
<a
href =
'{{ book.get_absolute_url }}'
>
<a
id =
"specificBook"
href =
'{{ book.get_absolute_url }}'
>
{{ book.title }}
{{ book.title }}
</a>
</a>
</li>
</li>
...
...
trishamillena_reading/bookshelf/templates/bookshelf/authors.html
View file @
f9cd1c23
...
@@ -7,9 +7,9 @@
...
@@ -7,9 +7,9 @@
<h1>
Trisha's Favorite Authors
</h1>
<h1>
Trisha's Favorite Authors
</h1>
<ul>
<ul>
{% for object in object_list %}
{% for object in object_list %}
<li>
<li
id =
"forauthorList"
>
<a
href =
'{{ object.get_absolute_url }}'
>
<a
id =
"bookList"
href =
'{{ object.get_absolute_url }}'
>
{{ object.first_name }}{{ object.last_name }}
{{ object.first_name }}
{{ object.last_name }}
</a>
</a>
</li>
</li>
{% endfor %}
{% endfor %}
...
...
trishamillena_reading/bookshelf/templates/bookshelf/book_details.html
View file @
f9cd1c23
...
@@ -5,12 +5,12 @@
...
@@ -5,12 +5,12 @@
{% block title %}{{ object.title }}{% endblock %}
{% block title %}{{ object.title }}{% endblock %}
{% block content %}
{% block content %}
<h1>
{{ object.title }}
</h1>
<h1
id =
"titleAuthor"
>
{{ object.title }}
</h1>
<a
href =
"{{object.author.get_absolute_url}}"
>
{{ object.author }}
</a>
<a
href =
"{{object.author.get_absolute_url}}"
>
{{ object.author }}
</a>
<p>
{{ object.publisher }}
</p>
<p
id =
"Details"
>
{{ object.publisher }}
</p>
<p>
{{ object.year_published }}
</p>
<p
id =
"Details"
>
{{ object.year_published }}
</p>
<p>
{{ object.ISBN }}
</p>
<p
id =
"Details"
>
{{ object.ISBN }}
</p>
<p>
{{ object.blurb }}
</p>
<p
id =
"Details"
>
{{ object.blurb }}
</p>
<a
href =
'/bookshelf/home/'
>
Home
</a>
<a
href =
'/bookshelf/home/'
>
Home
</a>
<a
href =
'/bookshelf/books/'
>
Books
</a>
<a
href =
'/bookshelf/books/'
>
Books
</a>
...
...
trishamillena_reading/bookshelf/templates/bookshelf/books.html
View file @
f9cd1c23
...
@@ -8,8 +8,8 @@
...
@@ -8,8 +8,8 @@
<h1>
Trisha's Favorite Books
</h1>
<h1>
Trisha's Favorite Books
</h1>
<ul>
<ul>
{% for object in object_list %}
{% for object in object_list %}
<li>
<li
id =
"forbookList"
>
<a
href =
'{{ object.get_absolute_url }}'
>
<a
id =
"bookList"
href =
'{{ object.get_absolute_url }}'
>
{{ object.title }}
{{ object.title }}
</a>
</a>
</li>
</li>
...
...
trishamillena_reading/static/styles.css
View file @
f9cd1c23
@import
url('https://fonts.googleapis.com/css2?family=Archivo&family=Cinzel+Decorative:wght@700&family=Gilda+Display&family=Roboto:wght@900&display=swap')
;
*
{
font-family
:
'Garamond'
;
background
:
lightcoral
;
}
h1
{
background
:
whitesmoke
;
text-align
:
center
;
padding
:
10px
;
}
p
{
text-align
:
center
;
padding
:
80px
;
font-size
:
40px
;
background
:
whitesmoke
;
}
a
{
font-weight
:
bold
;
font-size
:
15
;
background
:
whitesmoke
;
width
:
100px
;
padding
:
10px
;
text-transform
:
uppercase
;
color
:
black
;
text-decoration
:
none
;
cursor
:
pointer
;
}
a
:hover
{
color
:
darkolivegreen
;
}
a
#bookList
{
font-weight
:
lighter
;
background
:
none
;
color
:
whitesmoke
;
text-transform
:
none
;
font-size
:
18px
;
}
a
#bookList
:hover
{
color
:
darkolivegreen
;
}
ul
{
padding
:
25px
;
}
li
#forbookList
{
padding
:
10px
;
}
a
#authorList
{
font-weight
:
lighter
;
background
:
none
;
color
:
whitesmoke
;
text-transform
:
none
;
font-size
:
18px
;
}
li
#forauthorList
{
padding
:
10px
;
}
h1
#titleAuthor
{
font-size
:
30px
;
}
p
#Details
{
background
:
none
;
padding
:
15px
;
font-size
:
24px
;
color
:
whitesmoke
;
}
p
#Love
{
padding
:
5px
;
font-size
:
24px
;
font-weight
:
bold
;
}
a
#specificBook
{
background
:
none
;
color
:
whitesmoke
;
font-size
:
20px
;
text-transform
:
none
;
}
li
#design
{
text-align
:
center
;
}
trishamillena_reading/templates/base.html
View file @
f9cd1c23
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
<html
lang =
"en"
>
<html
lang =
"en"
>
<head>
<head>
<link
rel =
"stylesheet"
href =
"/static/styles.css"
>
<link
rel =
"stylesheet"
href =
"/static/styles.css"
>
<title>
{% block title %}My
book site
{% endblock %}
</title>
<title>
{% block title %}My
Go-To Reads
{% endblock %}
</title>
{% block styles %}{% endblock %}
{% block styles %}{% endblock %}
</head>
</head>
...
...
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