Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
albertgagalac_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
Albert Gagalac
albertgagalac_reading
Commits
f0e033a8
Commit
f0e033a8
authored
Mar 30, 2023
by
Albert Gagalac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Final edit of CSS
parent
ebebefef
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
47 additions
and
66 deletions
+47
-66
urls.cpython-310.pyc
...agalac_reading/bookshelf/__pycache__/urls.cpython-310.pyc
+0
-0
author_detail.html
..._reading/bookshelf/templates/bookshelf/author_detail.html
+9
-3
author_list.html
...ac_reading/bookshelf/templates/bookshelf/author_list.html
+2
-11
book_detail.html
...ac_reading/bookshelf/templates/bookshelf/book_detail.html
+7
-11
book_list.html
...alac_reading/bookshelf/templates/bookshelf/book_list.html
+4
-11
home.html
...rtgagalac_reading/bookshelf/templates/bookshelf/home.html
+5
-19
urls.py
...rtgagalac_reading/albertgagalac_reading/bookshelf/urls.py
+2
-2
base.html
...gagalac_reading/albertgagalac_reading/templates/base.html
+18
-9
No files found.
albertgagalac_reading/albertgagalac_reading/bookshelf/__pycache__/urls.cpython-310.pyc
View file @
f0e033a8
No preview for this file type
albertgagalac_reading/albertgagalac_reading/bookshelf/templates/bookshelf/author_detail.html
View file @
f0e033a8
{% extends 'base.html' %}
{% extends 'base.html' %}
{% load static %}
{% load static %}
{% block css %} {% endblock %}
{% block css %}
h1 {
padding-top: 2%;
}
h3 {
font-family:'Comic Sans MS',cursive;
text-decoration: underline;
}
{% endblock %}
{% block title %}{{object}}{% endblock %}
{% block title %}{{object}}{% endblock %}
{% block heading %}{{object}}{% endblock %}
{% block heading %}{{object}}{% endblock %}
{% block content %}
{% block content %}
<ul>
<h3>
Age:
</h3>
{{object.age}}
<br>
<h3>
Age:
</h3>
{{object.age}}
<br>
<h3>
Nationality:
</h3>
{{object.nationality}}
<br>
<h3>
Nationality:
</h3>
{{object.nationality}}
<br>
<h3>
Bio:
</h3>
{{object.bio}}
<h3>
Bio:
</h3>
{{object.bio}}
<br><br><br><a
href=
"/home/ "
>
Home
</a>
|
<a
href=
"/books/ "
>
Books
</a>
|
<a
href=
"/author/ "
>
Authors
</a>
<br><br><br><a
href=
"/home/ "
>
Home
</a>
|
<a
href=
"/books/ "
>
Books
</a>
|
<a
href=
"/author/ "
>
Authors
</a>
</ul>
{% endblock %}
{% endblock %}
\ No newline at end of file
albertgagalac_reading/albertgagalac_reading/bookshelf/templates/bookshelf/author_list.html
View file @
f0e033a8
...
@@ -3,26 +3,17 @@
...
@@ -3,26 +3,17 @@
{% block css %}
{% block css %}
h1 {
h1 {
text-align: center;
padding-top: 80px;
padding-top: 175px;
font-family: "Comic Sans MS", cursive;
}
ul {
text-align: center;
font-family: "Arial", cursive;
}
}
{% endblock %}
{% endblock %}
{% block title %}My Favorite Authors{% endblock %}
{% block title %}My Favorite Authors{% endblock %}
{% block heading %}Burt's Favorite Authors{% endblock %}
{% block heading %}Burt's Favorite Authors{% endblock %}
{% block content %}
{% block content %}
<ul>
{% for object in object_list %}
{% for object in object_list %}
<a
href=
"{{ object.get_absolute_url }}"
>
<a
href=
"{{ object.get_absolute_url }}"
>
{{ object }}
{{ object }}
</a>
<br>
</a>
<br>
<br>
{% endfor %}
<br>
{% endfor %}
<br>
<a
href=
"/home/ "
>
Home
</a>
|
<a
href=
"/books/ "
>
Books
</a>
|
<a
href=
"/author/ "
>
Authors
</a>
<a
href=
"/home/ "
>
Home
</a>
|
<a
href=
"/books/ "
>
Books
</a>
|
<a
href=
"/author/ "
>
Authors
</a>
</ul>
{% endblock %}
{% endblock %}
\ No newline at end of file
albertgagalac_reading/albertgagalac_reading/bookshelf/templates/bookshelf/book_detail.html
View file @
f0e033a8
...
@@ -3,25 +3,21 @@
...
@@ -3,25 +3,21 @@
{% block css %}
{% block css %}
h1 {
h1 {
text-align: center;
padding-top: 2%;
padding-top: 175px;
font-family: "Comic Sans MS", cursive;
}
}
p
{
h3
{
text-align: center
;
font-family:'Comic Sans MS',cursive
;
font-family: "Arial", cursiv
e;
text-decoration: underlin
e;
}
}
{% endblock %}
{% endblock %}
{% block title %}{{object}}{% endblock %}
{% block title %}{{object}}{% endblock %}
{% block heading %}{{object}}{% endblock %}
{% block heading %}{{object}}{% endblock %}
{% block content %}
{% block content %}
<ul>
<h3>
Author:
</h3>
{{object.author}}
<h3>
Author:
</h3>
{{object.author}}
<br>
<h3>
Publisher:
</h3>
{{object.publisher}}
<h3>
Publisher:
</h3>
{{object.publisher}}
<br>
<h3>
ISBN:
</h3>
{{object.ISBN}}
<h3>
ISBN:
</h3>
{{object.ISBN}}
<br>
<h3>
Blurb:
</h3>
{{object.blurb}}
<h3>
Blurb:
</h3>
{{object.blurb}}
<br><br><br><a
href=
"/home/ "
>
Home
</a>
|
<a
href=
"/books/ "
>
Books
</a>
|
<a
href=
"/author/ "
>
Authors
</a>
<br><br><br><a
href=
"/home/ "
>
Home
</a>
|
<a
href=
"/books/ "
>
Books
</a>
|
<a
href=
"/author/ "
>
Authors
</a>
</ul>
{% endblock %}
{% endblock %}
\ No newline at end of file
albertgagalac_reading/albertgagalac_reading/bookshelf/templates/bookshelf/book_list.html
View file @
f0e033a8
...
@@ -3,24 +3,17 @@
...
@@ -3,24 +3,17 @@
{% block css %}
{% block css %}
h1 {
h1 {
text-align: center;
padding-top: 80px;
padding-top: 175px;
color: deep-blue;
font-family: "Comic Sans MS", cursive;
}
ul {
text-align: center;
font-family: "Arial", cursive;
}
}
{% endblock %}
{% endblock %}
{% block title %}My Favorite Books{% endblock %}
{% block title %}My Favorite Books{% endblock %}
{% block heading %}Burt's Favorite Books{% endblock %}
{% block heading %}Burt's Favorite Books{% endblock %}
{% block content %}
{% block content %}
<ul>
{% for object in object_list %}
{% for object in object_list %}
<a
href=
"{{ object.get_absolute_url }}"
>
{{object.title}}
</a><br>
<a
href=
"{{ object.get_absolute_url }}"
>
{{object.title}}
</a><br>
<br>
{% endfor %}
<br>
<br>
{% endfor %}
<br>
<a
href=
"/home/ "
>
Home
</a>
|
<a
href=
"/author/"
>
Authors
</a>
<a
href=
"/home/ "
>
Home
</a>
|
<a
href=
"/author/"
>
Authors
</a>
</ul>
{% endblock %}
{% endblock %}
\ No newline at end of file
albertgagalac_reading/albertgagalac_reading/bookshelf/templates/bookshelf/home.html
View file @
f0e033a8
{% extends "base.html" %}
{% extends "base.html" %}
{% load static %}
{% load static %}
{% comment %} {% block css %}
<style>
h1
{
text-align
:
center
;
padding-top
:
175px
;
}
p
{
text-align
:
center
;
}
</style>
{% endblock %} {% endcomment %}
{% block css %}
{% block css %}
h1 {
h1 {
text-align: center;
padding-top: 100px;
padding-top: 175px;
font-family: "Comic Sans MS", cursive;
}
}
p {
h4{
text-align: center;
color: #F4C35D;
font-family: "Arial", cursive;
}
}
{% endblock %}
{% endblock %}
...
@@ -33,6 +18,7 @@
...
@@ -33,6 +18,7 @@
I have come to love more manga that deal with
<br>
I have come to love more manga that deal with
<br>
down-to-earth and realistic themes.
<br>
<br>
down-to-earth and realistic themes.
<br>
<br>
tl;dr: I now weeb
<br>
<br>
<br>
tl;dr: I now weeb
<br>
<br>
<br>
<a
href=
"/books/ "
>
Books
</a>
|
<a
href=
"/author/"
>
Authors
</a>
<a
href=
"/books/ "
>
Books
</a>
|
<a
href=
"/author/"
>
Authors
</a><br>
<h4>
dsg ftw
</h4>
{% endblock %}
{% endblock %}
albertgagalac_reading/albertgagalac_reading/bookshelf/urls.py
View file @
f0e033a8
...
@@ -7,10 +7,10 @@ from .views import (
...
@@ -7,10 +7,10 @@ from .views import (
urlpatterns
=
[
urlpatterns
=
[
path
(
''
,
home
,
name
=
'home'
),
path
(
''
,
home
,
name
=
'home'
),
path
(
'home/'
,
home
,
name
=
'home'
),
path
(
'home/'
,
home
,
name
=
'home'
),
path
(
"author/"
,
AuthorListView
.
as_view
(),
name
=
"author-list"
),
path
(
"author
s
/"
,
AuthorListView
.
as_view
(),
name
=
"author-list"
),
path
(
"books/"
,
BookListView
.
as_view
(),
name
=
"books-list"
),
path
(
"books/"
,
BookListView
.
as_view
(),
name
=
"books-list"
),
path
(
"books/<int:pk>/details"
,
BookDetailView
.
as_view
(),
name
=
"books-detail"
),
path
(
"books/<int:pk>/details"
,
BookDetailView
.
as_view
(),
name
=
"books-detail"
),
path
(
"author/<int:pk>/details"
,
AuthorDetailView
.
as_view
(),
name
=
"author-detail"
),
path
(
"author
s
/<int:pk>/details"
,
AuthorDetailView
.
as_view
(),
name
=
"author-detail"
),
]
]
app_name
=
"bookshelf"
app_name
=
"bookshelf"
\ No newline at end of file
albertgagalac_reading/albertgagalac_reading/templates/base.html
View file @
f0e033a8
<!DOCTYPE html>
<!DOCTYPE html>
<html
lang=
"en"
>
<html
lang=
"en"
>
<head>
<head>
<style>
<style>
.itemDiv
{
white-space
:
normal
;
max-width
:
500px
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
margin
:
auto
;
text-align
:
center
;
font-family
:
'Arial'
,
sans-serif
;
}
{
%
block
css
%
}
{
%
block
css
%
}
body
{
background
:
rgba
(
255
,
207
,
51
,
0.938
);}
{
%
endblock
%
}
{
%
endblock
%
}
</style>
</style>
<link
rel=
"stylesheet"
href=
"style.css"
>
<title>
{% block title %}Burt's Book Bemporium{% endblock %}
</title>
<title>
{% block title %}Burt's Book Bemporium{% endblock %}
</title>
</head>
</head>
<body>
<body
style =
"background-color:#F4C35D;"
>
<h1>
{% block heading %}{% endblock %}
</h1>
<h1
style=
"font-family:'Comic Sans MS',cursive;
<div
id=
"content"
>
text-align: center;"
>
{% block heading %}{% endblock %}
</h1>
<div
class =
"itemDiv"
>
<p>
{% block content %}{% endblock %}
</p>
<p>
{% block content %}{% endblock %}
</p>
</div>
</div>
</body>
</body>
</html>
</html>
\ 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