Fakultas Ilmu Komputer UI

Commit 4c898e36 authored by Muhammad Ilham Peruzzi's avatar Muhammad Ilham Peruzzi
Browse files

add sass

parent 4254aa2b
Pipeline #22570 passed with stages
in 12 minutes and 18 seconds
body .container{padding:10%}body .card-body{background-color:azure}
body {
.container {
padding: 10%;
}
.container {
padding: 10%;
}
.card-body{
background-color: azure;
}
}
body .container{padding:10%}body .card-body{background-color:azure}
......@@ -2,4 +2,8 @@ body {
.container {
padding: 10%;
}
}
.card-body{
background-color: azure;
}
}
{% load sass_tags %}
<html>
<head>
<meta charset="utf-8">
......@@ -6,17 +7,17 @@
<title>To-Do lists</title>
<link href="/static/bootstrap/css/bootstrap.min.css" rel="stylesheet">
<link href="/static/base.css" rel="stylesheet">
<link href="/static/scss/list.scss" rel="stylesheet" type="text/css"/>
<link href="/static/scss/home.scss" rel="stylesheet" type="text/css"/>
<link href="{% sass_src 'scss/list.scss' %}" rel="stylesheet" type="text/css"/>
<link href="{% sass_src 'scss/home.scss' %}" rel="stylesheet" type="text/css"/>
</head>
<body>
<div class="container">
<div class="row">
<div class="col-md-6 col-md-offset-3 jumbotron">
<div class="col-md-6 col-md-offset-3 jumbotron card-body">
<div class="text-center">
<h2>Homepage</h2>
<h2 class="homepage">Homepage</h2>
<hr>
<div id="nama_lengkap">Muhammad Ilham Peruzzi</div>
<h5>Bio</h5>
......
......@@ -42,7 +42,6 @@ class HomePageTest(TestCase):
def test_home_page_returns_correct_html(self):
request = HttpRequest()
response = home_page(request)
self.assertTrue(response.content.startswith(b'<html>'))
self.assertIn(b'<title>To-Do lists</title>', response.content)
self.assertTrue(response.content.strip().endswith(b'</html>'))
......
#id_new_item {
margin-top: 2ex;
}
\ No newline at end of file
#id_new_item {
margin-top: 2ex;
}
\ No newline at end of file
#id_new_item {
margin-top: 2ex;
}
\ 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