Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
luigirodriguez_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
Neal Luigi D. Rodriguez
luigirodriguez_reading
Commits
7209c4f3
Commit
7209c4f3
authored
Mar 29, 2023
by
Neal Luigi D. Rodriguez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CSS Files have been added
parent
7e79ee13
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
68 additions
and
8 deletions
+68
-8
authors.html
...riguez_reading/bookshelf/templates/bookshelf/authors.html
+1
-0
authors_details.html
...eading/bookshelf/templates/bookshelf/authors_details.html
+7
-4
book_details.html
...z_reading/bookshelf/templates/bookshelf/book_details.html
+6
-3
books.html
...odriguez_reading/bookshelf/templates/bookshelf/books.html
+1
-0
home.html
...rodriguez_reading/bookshelf/templates/bookshelf/home.html
+2
-1
settings.cpython-39.pyc
...uigirodriguez_reading/__pycache__/settings.cpython-39.pyc
+0
-0
settings.py
luigirodriguez_reading/luigirodriguez_reading/settings.py
+1
-0
details_style.css
luigirodriguez_reading/static/details_style.css
+28
-0
home_style.css
luigirodriguez_reading/static/home_style.css
+8
-0
list_style.css
luigirodriguez_reading/static/list_style.css
+14
-0
No files found.
luigirodriguez_reading/bookshelf/templates/bookshelf/authors.html
View file @
7209c4f3
...
@@ -3,6 +3,7 @@
...
@@ -3,6 +3,7 @@
{% block title %} My Favorite Authors {% endblock %}
{% block title %} My Favorite Authors {% endblock %}
{% block content %}
{% block content %}
<link
rel=
"stylesheet"
href=
"{% static 'list_style.css' %}"
>
<h1>
Luigi's Favorite Authors:
</h1>
<h1>
Luigi's Favorite Authors:
</h1>
<ul>
<ul>
{% for object in authors %}
{% for object in authors %}
...
...
luigirodriguez_reading/bookshelf/templates/bookshelf/authors_details.html
View file @
7209c4f3
...
@@ -2,12 +2,15 @@
...
@@ -2,12 +2,15 @@
{% load static %}
{% load static %}
{% block title %} {{ author.first_name }}{% endblock %}
{% block title %} {{ author.first_name }}{% endblock %}
{% block content %}
{% block content %}
<link
rel=
"stylesheet"
href=
"{% static 'details_style.css' %}"
>
<h1>
{{ author.first_name }} {{author.last_name}}
</h1>
<h1>
{{ author.first_name }} {{author.last_name}}
</h1>
<ul>
<ul>
<li>
{{ author.age }}
</li>
<li>
Age: {{ author.age }}
</li>
<li>
{{ author.nationality }}
</li>
<li>
Nationality: {{ author.nationality }}
</li>
<li>
{{ author.bio }}
</li>
<div
class=
"bio"
>
<li>
{{ author.bio }}
</li>
</div>
</ul>
</ul>
<p>
<p>
<a
href=
"http://127.0.0.1:8000/bookshelf/home"
>
Home
</a>
<a
href=
"http://127.0.0.1:8000/bookshelf/home"
>
Home
</a>
...
...
luigirodriguez_reading/bookshelf/templates/bookshelf/book_details.html
View file @
7209c4f3
{% extends 'base.html' %}
{% extends 'base.html' %}
{% load static %}
{% load static %}
{% block title %} {{ object.title }}{% endblock %}
{% block title %} {{ object.title }}{% endblock %}
{% block content %}
{% block content %}
<link
rel=
"stylesheet"
href=
"{% static 'details_style.css' %}"
>
<h1>
{{ object.title }}
</h1>
<h1>
{{ object.title }}
</h1>
<ul>
<ul>
<li>
Author:
<a
href=
"{{ object.author.get_absolute_url }}"
"
>
{{ object.author }}
</a></li>
<li>
Author:
<a
href=
"{{ object.author.get_absolute_url }}"
"
>
{{ object.author }}
</a></li>
<li>
Publisher: {{ object.publisher }}
</li>
<li>
Publisher: {{ object.publisher }}
</li>
<li>
Year Published: {{ object.year_published }}
</li>
<li>
Year Published: {{ object.year_published }}
</li>
<li>
ISBN: {{ object.ISBN }}
</li>
<li>
ISBN: {{ object.ISBN }}
</li>
<li>
Blurb: {{ object.blurb }}
</li>
<div
class=
"blurb"
>
<li>
{{ object.blurb }}
</li>
</div>
</ul>
</ul>
<p>
<p>
<a
href=
"http://127.0.0.1:8000/bookshelf/home"
>
Home
</a>
<a
href=
"http://127.0.0.1:8000/bookshelf/home"
>
Home
</a>
...
...
luigirodriguez_reading/bookshelf/templates/bookshelf/books.html
View file @
7209c4f3
...
@@ -3,6 +3,7 @@
...
@@ -3,6 +3,7 @@
{% block title %} My Favorite Books {% endblock %}
{% block title %} My Favorite Books {% endblock %}
{% block content %}
{% block content %}
<link
rel=
"stylesheet"
href=
"{% static 'list_style.css' %}"
>
<h1>
Luigi's Favorite Books
</h1>
<h1>
Luigi's Favorite Books
</h1>
<ul>
<ul>
{% for object in books %}
{% for object in books %}
...
...
luigirodriguez_reading/bookshelf/templates/bookshelf/home.html
View file @
7209c4f3
...
@@ -2,7 +2,8 @@
...
@@ -2,7 +2,8 @@
{% load static %}
{% load static %}
{% block title %} My Favorite Books and Authors {% endblock %}
{% block title %} My Favorite Books and Authors {% endblock %}
{% block content %}
{% block content %}
<link
rel=
"stylesheet"
href=
"{% static 'home_style.css' %}"
>
<h1>
Welcome to Luigi's Database of Favorite Books and Authors!
</h1>
<h1>
Welcome to Luigi's Database of Favorite Books and Authors!
</h1>
<p>
<p>
I don't usually read in my freetime, but when I do, I usually
I don't usually read in my freetime, but when I do, I usually
...
...
luigirodriguez_reading/luigirodriguez_reading/__pycache__/settings.cpython-39.pyc
View file @
7209c4f3
No preview for this file type
luigirodriguez_reading/luigirodriguez_reading/settings.py
View file @
7209c4f3
...
@@ -122,6 +122,7 @@ USE_TZ = True
...
@@ -122,6 +122,7 @@ USE_TZ = True
# https://docs.djangoproject.com/en/3.2/howto/static-files/
# https://docs.djangoproject.com/en/3.2/howto/static-files/
STATIC_URL
=
'/static/'
STATIC_URL
=
'/static/'
STATICFILES_DIRS
=
[
os
.
path
.
join
(
BASE_DIR
,
'static'
)]
# Default primary key field type
# Default primary key field type
# https://docs.djangoproject.com/en/3.2/ref/settings/#default-auto-field
# https://docs.djangoproject.com/en/3.2/ref/settings/#default-auto-field
...
...
luigirodriguez_reading/static/details_style.css
0 → 100644
View file @
7209c4f3
h1
{
text-align
:
center
;
color
:
darkcyan
}
ul
{
text-align
:
center
;
font-family
:
Cambria
,
Cochin
,
Georgia
,
Times
,
'Times New Roman'
,
serif
;
list-style-type
:
none
;
line-height
:
2
;
}
.blurb
{
padding
:
70px
70px
;
position
:
absolute
;
text-align
:
center
;
font-family
:
Cambria
,
Cochin
,
Georgia
,
Times
,
'Times New Roman'
,
serif
;
}
.bio
{
padding
:
70px
70px
;
position
:
absolute
;
text-align
:
center
;
font-family
:
Cambria
,
Cochin
,
Georgia
,
Times
,
'Times New Roman'
,
serif
;
}
p
{
position
:
absolute
;
font-family
:
Cambria
,
Cochin
,
Georgia
,
Times
,
'Times New Roman'
,
serif
;
left
:
45%
;
bottom
:
50px
;
}
\ No newline at end of file
luigirodriguez_reading/static/home_style.css
0 → 100644
View file @
7209c4f3
h1
{
text-align
:
center
;
color
:
darkcyan
}
p
{
text-align
:
center
;
font-family
:
Cambria
,
Cochin
,
Georgia
,
Times
,
'Times New Roman'
,
serif
;
}
\ No newline at end of file
luigirodriguez_reading/static/list_style.css
0 → 100644
View file @
7209c4f3
h1
{
text-align
:
center
;
color
:
darkcyan
}
ul
{
text-align
:
center
;
font-family
:
Cambria
,
Cochin
,
Georgia
,
Times
,
'Times New Roman'
,
serif
;
list-style-type
:
none
;
line-height
:
2
;
}
p
{
text-align
:
center
;
font-family
:
Cambria
,
Cochin
,
Georgia
,
Times
,
'Times New Roman'
,
serif
;
}
\ 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