Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
nicsdevega_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
Nics De Vega
nicsdevega_reading
Commits
c9d2c8d3
Commit
c9d2c8d3
authored
Mar 28, 2023
by
Nics De Vega
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added CSS via boostrap cdn
parent
713e190e
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
71 additions
and
37 deletions
+71
-37
author_details.html
...reading/bookshelf/templates/bookshelf/author_details.html
+23
-13
authors.html
...devega_reading/bookshelf/templates/bookshelf/authors.html
+9
-4
book_details.html
...a_reading/bookshelf/templates/bookshelf/book_details.html
+18
-9
books.html
nicsdevega_reading/bookshelf/templates/bookshelf/books.html
+10
-6
home.html
nicsdevega_reading/bookshelf/templates/bookshelf/home.html
+10
-4
base.html
nicsdevega_reading/templates/base.html
+1
-1
style.css
nicsdevega_reading/templates/style.css
+0
-0
No files found.
nicsdevega_reading/bookshelf/templates/bookshelf/author_details.html
View file @
c9d2c8d3
...
...
@@ -2,12 +2,14 @@
{% load static %}
{% block title %}{{object.first_name}} {{object.last_name}}{% endblock %}
{% block content %}
<h3>
{{object.first_name}} {{object.last_name}}
</h3>
<h4>
{{object.age}}
</h4>
<h4>
{{object.nationality}}
</h4>
<p>
{{object.bio}}
</p>
<h3>
Books by {{object.first_name}} {{object.last_name}} I love:
</h3>
<ul
class=
"list-group"
>
<li
class=
"list-group-item"
><h3>
{{object.first_name}} {{object.last_name}}
</h3></li>
<li
class=
"list-group-item"
><h4>
{{object.age}}
</h4></li>
<li
class=
"list-group-item"
><h4>
{{object.nationality}}
</h4></li>
<li
class=
"list-group-item"
><p>
{{object.bio}}
</p></li>
<li
class=
"list-group-item"
><h3>
Books by {{object.first_name}} {{object.last_name}} I love:
</h3></li>
<li
class=
"list-group-item"
>
<ul>
{% for book in object.books.all %}
<li>
...
...
@@ -15,7 +17,15 @@
</li>
{% endfor %}
</ul>
</li>
<li
class=
"list-group-item"
>
<h2
class=
"text-center"
>
<small>
<a
href=
"/bookshelf/home/"
>
Home
</a>
<a
href=
"/bookshelf/books/"
>
Books
</a>
<a
href=
"/bookshelf/authors/"
>
Authors
</a>
</small>
</h2>
</li>
</ul>
{% endblock %}
\ No newline at end of file
nicsdevega_reading/bookshelf/templates/bookshelf/authors.html
View file @
c9d2c8d3
...
...
@@ -2,14 +2,19 @@
{% load static %}
{% block title %}My Favorite Authors{% endblock %}
{% block content %}
<h3>
Welcome to Nics' Favorite Authors:
</h3>
<ul>
<ul
class=
"list-group"
>
{% for object in object_list %}
<li
>
<li
class=
"list-group-item"
>
<a
href=
"{{ object.get_absolute_url }}"
>
{{object.first_name}} {{object.last_name}}
</a>
</li>
{% endfor %}
</ul>
<h2
class=
"text-center"
>
<small>
<a
href=
"/bookshelf/home/"
>
Home
</a>
<a
href=
"/bookshelf/books/"
>
Books
</a>
</small>
</h2>
{% endblock %}
\ No newline at end of file
nicsdevega_reading/bookshelf/templates/bookshelf/book_details.html
View file @
c9d2c8d3
...
...
@@ -2,13 +2,22 @@
{% load static %}
{% block title %}{{object.title}}{% endblock %}
{% block content %}
<h3>
{{object.title}}
</h3>
<a
href =
"{{ object.author.get_absolute_url }}"
><h4>
{{object.author}}
</h4></a>
<h4>
{{object.publisher}}
</h4>
<h4>
{{object.year_published}}
</h4>
<h4>
{{object.ISBN}}
</h4>
<p>
{{object.blurb}}
</p>
<ul
class=
"list-group"
>
<li
class=
"list-group-item"
><h3
class=
"text-center"
>
{{object.title}}
</h3></li>
<li
class=
"list-group-item"
><a
href =
"{{ object.author.get_absolute_url }}"
><h4>
{{object.author}}
</h4></a></li>
<li
class=
"list-group-item"
><h4>
{{object.publisher}}
</h4></li>
<li
class=
"list-group-item"
><h4>
{{object.year_published}}
</h4></li>
<li
class=
"list-group-item"
><h4>
{{object.ISBN}}
</h4></li>
<li
class=
"list-group-item"
><p>
{{object.blurb}}
</p></li>
<li
class=
"list-group-item"
>
<h2
class=
"text-center"
>
<small>
<a
href=
"/bookshelf/home/"
>
Home
</a>
<a
href=
"/bookshelf/books/"
>
Books
</a>
<a
href=
"/bookshelf/authors/"
>
Authors
</a>
</small>
</h2>
</li>
</ul>
{% endblock %}
\ No newline at end of file
nicsdevega_reading/bookshelf/templates/bookshelf/books.html
View file @
c9d2c8d3
...
...
@@ -2,14 +2,18 @@
{% load static %}
{% block title %}My Favorite Books{% endblock %}
{% block content %}
<h
3>
Welcome to Nics' Favorite Books:
</h3
>
<ul>
<h
2
class=
"text-center"
>
Welcome to Nics' Favorite Books:
</h2
>
<ul
class=
"list-group"
>
{% for object in object_list %}
<li>
<li
class=
"list-group-item"
>
<a
href=
"{{ object.get_absolute_url }}"
>
{{object.title}}
</a>
</li>
{% endfor %}
</ul>
<h2
class=
"text-center"
>
<small>
<a
href=
"/bookshelf/home/"
>
Home
</a>
<a
href=
"/bookshelf/authors/"
>
Authors
</a>
</small>
</h2>
</ul>
{% endblock %}
\ No newline at end of file
nicsdevega_reading/bookshelf/templates/bookshelf/home.html
View file @
c9d2c8d3
...
...
@@ -2,8 +2,14 @@
{% load static %}
{% block title %}My Favorite Books{% endblock %}
{% block content %}
<h2>
Welcome to Nics' Database of Favorite Books and Authors!
</h2>
<p>
I usually like books with religious themes that make me go
<b>
Insane
</b>
. I also like Revue Starlight!
</p>
<h2
class=
"text-center"
>
Welcome to Nics' Database of Favorite Books and Authors!
</h2>
<br>
<h4
class=
"text-center"
>
I usually like books with religious themes that make me go
<b>
Insane
</b>
. I also like Revue Starlight!
</p>
<h2
class=
"text-center"
>
<small>
<a
href=
"/bookshelf/books/"
>
Books
</a>
<a
href=
"/bookshelf/authors/"
>
Authors
</a>
</small>
</h2>
{% endblock %}
\ No newline at end of file
nicsdevega_reading/templates/base.html
View file @
c9d2c8d3
...
...
@@ -3,7 +3,7 @@
<head>
<meta
charset=
"UTF-8"
>
<meta
name=
"viewport"
content=
"width=device-width,initial-scale=1.0"
>
<link
rel=
"stylesheet"
href=
"
style
.css"
>
<link
rel=
"stylesheet"
href=
"
https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min
.css"
>
<title>
{% block title %}{% endblock %}
</title>
{% block styles %}{% endblock %}
</head>
...
...
nicsdevega_reading/templates/style.css
deleted
100644 → 0
View file @
713e190e
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