Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
gabigarrero_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
Gabriel G. Garrero
gabigarrero_reading
Commits
58239bd4
Commit
58239bd4
authored
Mar 28, 2023
by
Gabriel G. Garrero
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Formatted the contents of all the pages using styles.css
parent
00fc0e96
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
95 additions
and
15 deletions
+95
-15
author_details.html
...reading/bookshelf/templates/bookshelf/author_details.html
+5
-3
authors.html
...arrero_reading/bookshelf/templates/bookshelf/authors.html
+5
-3
book_details.html
...o_reading/bookshelf/templates/bookshelf/book_details.html
+6
-4
books.html
gabigarrero_reading/bookshelf/templates/bookshelf/books.html
+4
-2
home.html
gabigarrero_reading/bookshelf/templates/bookshelf/home.html
+6
-3
styles.css
gabigarrero_reading/static/styles.css
+69
-0
No files found.
gabigarrero_reading/bookshelf/templates/bookshelf/author_details.html
View file @
58239bd4
...
@@ -22,8 +22,10 @@
...
@@ -22,8 +22,10 @@
{% endfor %}
{% endfor %}
</ul>
</ul>
<a
href =
'/bookshelf/home/'
>
Home
</a>
<div
class =
"links"
>
<a
href =
'/bookshelf/books/'
>
Books
</a>
<a
class =
"flex-items"
href =
'/bookshelf/home/'
>
Home
</a>
<a
href =
'/bookshelf/authors/'
>
Authors
</a>
<a
class =
"flex-items"
href =
'/bookshelf/books/'
>
Books
</a>
<a
class =
"flex-items"
href =
'/bookshelf/authors/'
>
Authors
</a>
</div>
{% endblock %}
{% endblock %}
\ No newline at end of file
gabigarrero_reading/bookshelf/templates/bookshelf/authors.html
View file @
58239bd4
...
@@ -16,7 +16,9 @@
...
@@ -16,7 +16,9 @@
{% endfor %}
{% endfor %}
</ul>
</ul>
<a
href =
'/bookshelf/home/'
>
Home
</a>
<div
class =
"links"
>
<a
href =
'/bookshelf/books/'
>
Books
</a>
<a
class =
"flex-items"
href =
'/bookshelf/home/'
>
Home
</a>
<a
class =
"flex-items"
href =
'/bookshelf/books/'
>
Books
</a>
</div>
{% endblock %}
{% endblock %}
\ No newline at end of file
gabigarrero_reading/bookshelf/templates/bookshelf/book_details.html
View file @
58239bd4
...
@@ -6,13 +6,15 @@
...
@@ -6,13 +6,15 @@
{% block content %}
{% block content %}
<h1>
{{ object.title }}
</h1>
<h1>
{{ object.title }}
</h1>
<a
href =
'{{ object.author.get_absolute_url }}'
>
{{ object.author }}
</a>
<a
class =
"authorLink"
href =
'{{ object.author.get_absolute_url }}'
>
{{ object.author }}
</a>
<p>
{{ object.publisher }}
</p>
<p>
{{ object.publisher }}
</p>
<p>
{{ object.year_published }}
</p>
<p>
{{ object.year_published }}
</p>
<p>
{{ object.ISBN }}
</p>
<p>
{{ object.ISBN }}
</p>
<p>
{{ object.blurb }}
</p>
<p>
{{ object.blurb }}
</p>
<a
href =
'/bookshelf/home/'
>
Home
</a>
<div
class =
"links"
>
<a
href =
'/bookshelf/books/'
>
Books
</a>
<a
class =
"flex-items"
href =
'/bookshelf/home/'
>
Home
</a>
<a
href =
'/bookshelf/authors/'
>
Authors
</a>
<a
class =
"flex-items"
href =
'/bookshelf/books/'
>
Books
</a>
<a
class =
"flex-items"
href =
'/bookshelf/authors/'
>
Authors
</a>
</div>
{% endblock %}
{% endblock %}
\ No newline at end of file
gabigarrero_reading/bookshelf/templates/bookshelf/books.html
View file @
58239bd4
...
@@ -15,7 +15,9 @@
...
@@ -15,7 +15,9 @@
{% endfor %}
{% endfor %}
</ul>
</ul>
<a
href =
'/bookshelf/home/'
>
Home
</a>
<div
class =
"links"
>
<a
href =
'/bookshelf/authors/'
>
Authors
</a>
<a
class =
"flex-items"
href =
'/bookshelf/home/'
>
Home
</a>
<a
class =
"flex-items"
href =
'/bookshelf/authors/'
>
Authors
</a>
</div>
{% endblock %}
{% endblock %}
\ No newline at end of file
gabigarrero_reading/bookshelf/templates/bookshelf/home.html
View file @
58239bd4
...
@@ -7,8 +7,11 @@
...
@@ -7,8 +7,11 @@
{% block content %}
{% block content %}
<h1>
Welcome to Gabi's Database of Favorite Books and Authors!
</h1>
<h1>
Welcome to Gabi's Database of Favorite Books and Authors!
</h1>
<p>
I don't read books.
</p>
<p>
I don't actually read books so I ended up just putting some of the most famous books and authors for my data.
</p>
<div
class =
"links"
>
<a
class =
"flex-items"
href=
'/bookshelf/books/'
>
Books
</a>
<a
class =
"flex-items"
href=
'/bookshelf/authors/'
>
Authors
</a>
</div>
<a
href=
'/bookshelf/books/'
>
Books
</a>
<a
href=
'/bookshelf/authors/'
>
Authors
</a>
{% endblock %}
{% endblock %}
\ No newline at end of file
gabigarrero_reading/static/styles.css
View file @
58239bd4
/* HTML */
html
{
scroll-behavior
:
smooth
;
background-color
:
#181818
;
font-size
:
24px
;
color
:
white
;
font-family
:
'Trebuchet MS'
,
'Lucida Sans Unicode'
,
'Lucida Grande'
,
'Lucida Sans'
,
Arial
,
sans-serif
;
}
/* Body */
body
{
padding
:
5%
15%
5%
15%
;
}
/* Text */
h1
{
text-align
:
center
;
}
h2
{
text-align
:
center
;
}
p
{
text-align
:
center
;
}
/* Links */
.authorLink
{
text-align
:
center
;
display
:
block
;
}
.links
{
padding-top
:
5%
;
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
}
.flex-items
{
width
:
100px
;
text-align
:
center
;
}
a
:link
{
color
:
#ffa31a
;
text-decoration
:
none
;
transition
:
0.5s
;
}
a
:visited
{
color
:
#ffa31a
;
text-decoration
:
none
;
}
a
:hover
{
color
:
white
;
text-decoration
:
none
;
transition
:
0.5s
;
}
a
:active
{
color
:
#ffa31a
;
text-decoration
:
none
;
}
\ 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