Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
esguerra_lab1
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
James Esguerra
esguerra_lab1
Commits
d8f170dd
Commit
d8f170dd
authored
Mar 16, 2021
by
James Esguerra
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added static folder and static tags for CSS
parent
4ad44e49
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
10 additions
and
2 deletions
+10
-2
styles.css
static/css/styles.css
+0
-0
base.html
templates/base.html
+2
-0
home.html
templates/home.html
+5
-0
today.html
templates/today.html
+2
-2
settings.cpython-38.pyc
website/__pycache__/settings.cpython-38.pyc
+0
-0
settings.py
website/settings.py
+1
-0
No files found.
static/css/styles.css
0 → 100644
View file @
d8f170dd
templates/base.html
View file @
d8f170dd
<!-- base html template -->
<!-- base html template -->
{% load static %}
<!DOCTYPE html>
<!DOCTYPE html>
<html
lang=
"en"
>
<html
lang=
"en"
>
<head>
<head>
<meta
charset=
"UTF-8"
>
<meta
charset=
"UTF-8"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0"
>
<title>
{% block title %} {% endblock %}
</title>
<title>
{% block title %} {% endblock %}
</title>
{% block styles %} {% endblock %}
</head>
</head>
<body>
<body>
<header>
<header>
...
...
templates/home.html
View file @
d8f170dd
{% extends 'base.html' %}
{% extends 'base.html' %}
{% load static %}
{% block title %} Your Bujo {% endblock %}
{% block title %} Your Bujo {% endblock %}
{% block styles %}
<link
rel=
'stylesheet'
type=
'text/css'
href=
"{% static 'css/styles.css' %}"
>
{% endblock %}
{% block header %} Your Bullet Journal {% endblock %}
{% block header %} Your Bullet Journal {% endblock %}
{% block content %}
{% block content %}
...
...
templates/today.html
View file @
d8f170dd
{% extends 'base.html' %}
{% extends 'base.html' %}
{% block title %} T
his Week
{% endblock %}
{% block title %} T
oday
{% endblock %}
{% block header %} T
his Week
{% endblock %}
{% block header %} T
oday
{% endblock %}
{% block content %}
{% block content %}
...
...
website/__pycache__/settings.cpython-38.pyc
View file @
d8f170dd
No preview for this file type
website/settings.py
View file @
d8f170dd
...
@@ -124,3 +124,4 @@ USE_TZ = True
...
@@ -124,3 +124,4 @@ USE_TZ = True
# https://docs.djangoproject.com/en/3.1/howto/static-files/
# https://docs.djangoproject.com/en/3.1/howto/static-files/
STATIC_URL
=
'/static/'
STATIC_URL
=
'/static/'
STATICFILES_DIRS
=
[
os
.
path
.
join
(
BASE_DIR
,
'static'
)]
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