Fakultas Ilmu Komputer UI

Commit 5e1f936d authored by Agas Yanpratama's avatar Agas Yanpratama 💬
Browse files

Implement Header & Footer in base.html

parent 4e6d2328
Pipeline #28384 passed with stages
in 13 minutes and 5 seconds
......@@ -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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment