Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
anchisilang_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
Anchilla Vera Marie Silang
anchisilang_reading
Commits
ae97c5a2
Commit
ae97c5a2
authored
Mar 30, 2023
by
Anchilla Vera Marie Silang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Created HTMLs
parent
f976bbef
Pipeline
#3109
failed with stages
Changes
6
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
130 additions
and
0 deletions
+130
-0
author_details.html
anchisilang_reading/templates/author_details.html
+26
-0
authors.html
anchisilang_reading/templates/authors.html
+24
-0
base.html
anchisilang_reading/templates/base.html
+12
-0
book_details.html
anchisilang_reading/templates/book_details.html
+22
-0
books.html
anchisilang_reading/templates/books.html
+26
-0
home.html
anchisilang_reading/templates/home.html
+20
-0
No files found.
anchisilang_reading/templates/author_details.html
0 → 100644
View file @
ae97c5a2
{%extends "base.html"%}
{% load static %}
{%block content%}
<title>
{{object.first_name}} {{object.last_name}}
</title>
<h1>
{{object.first_name}} {{object.last_name}}
</h1>
<h2>
{{object.age}}
</h2>
<h2>
{{object.nationality}}
</h2>
<h2>
{{object.bio}}
</h2>
<h1>
Books by {{object.first_name}} {{object.last_name}} I love:
</h1>
{% for books in bookdetail %}
<li>
<a
href=
"{%url 'Book_details' books.pk %}"
>
{{books.title}}
<br>
</li>
{%endfor%}
<div
style=
"text-align:center;"
>
<a
href=
"/home"
>
Home
</a>
<a
href=
"/books"
>
Books
</a>
<a
href=
"/authors"
>
Authors
</a>
</div>
{% endblock content%}
\ No newline at end of file
anchisilang_reading/templates/authors.html
0 → 100644
View file @
ae97c5a2
{%extends "base.html"%}
{% load static %}
{% block content%}
<head>
<title>
My Favorite Authors
</title>
</head>
<h1>
Anchi's Favorite Authors:
</h1>
{% for Author in Authors_list %}
<li>
<a
href=
"{% url 'Author_details' Author.pk %}"
>
{{Author.first_name}} {{Author.last_name}}
<br>
</a>
</li>
{% endfor %}
<br>
<div
style=
"text-align:center;"
>
<a
href=
"/home"
>
Home
</a>
<a
href=
"/books"
>
Books
</a>
</div>
{% endblock content%}
\ No newline at end of file
anchisilang_reading/templates/base.html
0 → 100644
View file @
ae97c5a2
{% load static %}
<!DOCTYPE html>
<html>
<body>
{% block content%}
{%endblock content%}
</body>
</html>
\ No newline at end of file
anchisilang_reading/templates/book_details.html
0 → 100644
View file @
ae97c5a2
{%extends "base.html"%}
{% load static %}
{%block content%}
<title>
{{object.title}}
</title>
<h1>
{{object.title}}
</a></h1>
{% for Author in authordetail %}
<h2><a
href=
"{%url 'Author_details' Author.pk %}"
>
{{object.author}}
</a></h2>
{% endfor %}
<h2>
{{object.publisher}}
</h2>
<h2>
{{object.year_published|date:'Y'}}
</h2>
<h2>
{{object.ISBN}}
</h2>
<h2>
{{object.blurb}}
</h2>
<div
style=
"text-align:center;"
>
<a
href=
"/home"
>
Home
</a>
<a
href=
"/books"
>
Books
</a>
<a
href=
"/authors"
>
Authors
</a>
</div>
{% endblock content%}
anchisilang_reading/templates/books.html
0 → 100644
View file @
ae97c5a2
{%extends "base.html"%}
{% load static %}
{% block content%}
<head>
<title>
My Favorite Books
</title>
</head>
<h1>
Anchi's Favorite Books:
</h1>
{% for books in Books_list %}
<li>
<a
href=
"{%url 'Book_details' books.pk %}"
>
{{books.title}}
<br>
</a>
</li>
{% endfor %}
<br>
<div
style=
"text-align:center;"
>
<a
href=
"/home"
>
Home
</a>
<a
href=
"/authors"
>
Authors
</a>
</div>
{% endblock content%}
\ No newline at end of file
anchisilang_reading/templates/home.html
0 → 100644
View file @
ae97c5a2
{%extends "base.html"%}
{% load static %}
{% block content%}
<title>
My Favorite Books
&
Authors
</title>
<h1
style=
"text-align:center;"
>
Welcome to Anchi's Database of Favorite Books and Authors!
</h1>
<p
style=
"text-align:center;"
>
I enjoy reading books that are mostly of
<i>
fantasy genre
</i>
with
elements of
<u><b>
adventure.
</b></u>
I do not have a type of author as I enjoy many works
regardless of who wrote it.
</p>
<div
style=
"text-align:center;"
>
<a
href=
"/books"
>
Books
</a>
<a
href=
"/authors"
>
Authors
</a>
</div>
{% endblock content%}
\ 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