Fakultas Ilmu Komputer UI
Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
PMPL
Collection of Practice
2019
1606918396-practice
Commits
5e1f936d
Commit
5e1f936d
authored
Dec 23, 2019
by
Agas Yanpratama
💬
Browse files
Implement Header & Footer in base.html
parent
4e6d2328
Pipeline
#28384
passed with stages
in 13 minutes and 5 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
lists/templates/base.html
View file @
5e1f936d
...
...
@@ -8,14 +8,38 @@
<meta
charset=
"utf-8"
>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1"
>
<title>
To-Do lists
</title>
<title>
To-Do lists
</title>
<link
href=
"{% static 'bootstrap/css/bootstrap.min.css' %}"
rel=
"stylesheet"
>
<link
href=
"{% static 'base.css' %}"
rel=
"stylesheet"
>
<style>
.footer-div
{
position
:
fixed
;
left
:
0
;
bottom
:
0
;
width
:
100%
;
background-color
:
black
;
color
:
white
;
text-align
:
center
;
}
.header-div
{
position
:
fixed
;
left
:
0
;
top
:
0
;
margin-bottom
:
20px
;
width
:
100%
;
background-color
:
black
;
color
:
white
;
text-align
:
center
;
}
</style>
</head>
<body>
<div
class=
"container"
>
<div
class=
"header-div"
>
<p
id=
"header"
>
Agas Yanpratama
</p>
</div>
<div
class=
"container"
style=
"margin-top: 10px;"
>
<nav
class=
"navbar navbar-default"
role=
"navigation"
>
<div
class=
"container-fluid"
>
<a
class=
"navbar-brand"
href=
"/"
>
Superlists
</a>
...
...
@@ -60,6 +84,11 @@
</div>
</div>
<div
class=
"footer-div"
>
<p
id=
"footer"
>
Agas Yanpratama
</p>
</div>
</body>
</html>
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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