Fakultas Ilmu Komputer UI
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
1
1606889830-practice
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
PMPL
Collection of Practice
2019
1606889830-practice
Commits
321d28e4
Commit
321d28e4
authored
5 years ago
by
LUTHFI DZAKY SAIFUDDIN
Browse files
Options
Downloads
Patches
Plain Diff
[GREEN] implementation homepage
parent
a520fcf6
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
lists/templates/homepage.html
+60
-0
60 additions, 0 deletions
lists/templates/homepage.html
lists/views.py
+2
-1
2 additions, 1 deletion
lists/views.py
superlists/settings.py
+1
-0
1 addition, 0 deletions
superlists/settings.py
with
63 additions
and
1 deletion
lists/templates/homepage.html
0 → 100644
+
60
−
0
View file @
321d28e4
<html>
<head>
<link
rel=
"stylesheet"
href=
"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"
>
<title>
Homepage
</title>
<style>
.card
{
box-shadow
:
0
4px
8px
0
rgba
(
0
,
0
,
0
,
0.2
);
max-width
:
300px
;
margin
:
auto
;
text-align
:
center
;
font-family
:
arial
;
}
.title
{
color
:
grey
;
font-size
:
18px
;
}
button
{
border
:
none
;
outline
:
0
;
display
:
inline-block
;
padding
:
8px
;
color
:
white
;
background-color
:
#000
;
text-align
:
center
;
cursor
:
pointer
;
width
:
100%
;
font-size
:
18px
;
}
a
{
text-decoration
:
none
;
font-size
:
22px
;
color
:
black
;
}
button
:hover
,
a
:hover
{
opacity
:
0.7
;
}
</style>
</head>
<body>
<div
class=
"card"
>
<img
src=
"https://assets.gitlab-static.net/uploads/-/system/user/avatar/1572360/avatar.png?width=90"
alt=
"Luthfi"
style=
"width:100%"
>
<h1>
Luthfi Dzaky Saifuddin
</h1>
<p
class=
"title"
>
28 November 1998
</p>
<p
id=
"university"
>
Universitas Indonesia
</p>
<div
style=
"margin: 24px 0;"
>
<a
href=
"#"
><i
class=
"fa fa-dribbble"
></i></a>
<a
href=
"#"
><i
class=
"fa fa-twitter"
></i></a>
<a
href=
"#"
><i
class=
"fa fa-linkedin"
></i></a>
<a
href=
"#"
><i
class=
"fa fa-facebook"
></i></a>
</div>
<p><button>
Contact
</button></p>
</div>
</body>
</html>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
lists/views.py
+
2
−
1
View file @
321d28e4
...
...
@@ -6,4 +6,5 @@ from django.http import HttpResponse
# Create your views here.
def
home_page
(
request
):
return
HttpResponse
(
'
<html><title>To-Do lists</title></html>
'
)
response
=
{}
return
render
(
request
,
'
homepage.html
'
,
response
)
This diff is collapsed.
Click to expand it.
superlists/settings.py
+
1
−
0
View file @
321d28e4
...
...
@@ -37,6 +37,7 @@ INSTALLED_APPS = [
'
django.contrib.sessions
'
,
'
django.contrib.messages
'
,
'
django.contrib.staticfiles
'
,
'
lists
'
]
MIDDLEWARE
=
[
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment