Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
widget_father when can i be on my own i have the hello world to see
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
father when can i be on my own i have the hello world to see
widget_father when can i be on my own i have the hello world to see
Commits
966a913f
Commit
966a913f
authored
May 14, 2022
by
Charles Lim
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed merging between head and lim/homepage
parent
f6d679d4
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
31 additions
and
13 deletions
+31
-13
base_style.css
static/base_style.css
+0
-0
base.html
templates/base.html
+24
-9
settings.py
..._i_be_on_my_own_i_have_the_hello_world_to_see/settings.py
+7
-4
No files found.
widget_father_when_can_i_be_on_my_own_i_have_the_hello_world_to_see/
static/base_style.css
→
static/base_style.css
View file @
966a913f
File moved
templates/base.html
View file @
966a913f
<!-- project/template/base.html -->
{% load static %}
<!DOCTYPE html>
<!DOCTYPE html>
<html>
<html
lang=
"en"
>
<head>
<head>
<title>
{% block title %}{% endblock %}
</title>
<title>
{% block title %}{% endblock %}
</title>
{% block styles %}{% endblock %}
<link
href=
"{% static 'base_style.css' %}"
rel=
"stylesheet"
/>
</head>
{% block styles %}{% endblock %}
<body>
</head>
{% block content %}{% endblock %}
<body>
</body>
<nav>
</html>
<ul>
\ No newline at end of file
<li><a
class=
"links"
href=
"/homepage"
>
HOMEPAGE
</a></li>
<li><a
class=
"links"
href=
"/assignments"
>
ASSIGNMENTS
</a></li>
<li><a
class=
"links"
href=
"/forum"
>
FORUM
</a></li>
<li><a
class=
"links"
href=
"/announcements"
>
ANNOUNCEMENTS
</a></li>
</ul>
</nav>
<div
class=
"content"
>
<h1
class=
"header"
>
{% block header %}{% endblock %}
</h1>
{% block content %}{% endblock %}
</div>
{% block scripts %}{% endblock %}
</body>
</html>
widget_father_when_can_i_be_on_my_own_i_have_the_hello_world_to_see/settings.py
View file @
966a913f
...
@@ -125,10 +125,13 @@ USE_TZ = True
...
@@ -125,10 +125,13 @@ USE_TZ = True
# Static files (CSS, JavaScript, Images)
# Static files (CSS, JavaScript, Images)
# https://docs.djangoproject.com/en/4.0/howto/static-files/
# https://docs.djangoproject.com/en/4.0/howto/static-files/
STATIC_URL
=
'/static/'
STATIC_URL
=
'static/'
STATICFILES_DIRS
=
[
os
.
path
.
join
(
STATICFILES_DIRS
=
[
BASE_DIR
,
'widget_father_when_can_i_be_on_my_own_i_have_the_hello_world_to_see/static'
)]
BASE_DIR
/
"static"
,
"assignments/templates"
,
"homepage/templates"
]
# Default primary key field type
# Default primary key field type
# https://docs.djangoproject.com/en/4.0/ref/settings/#default-auto-field
# https://docs.djangoproject.com/en/4.0/ref/settings/#default-auto-field
...
...
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