Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
belajarJavaServlet_Fabian
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
Fabian Dewantara Santonie
belajarJavaServlet_Fabian
Commits
6ef0f127
Commit
6ef0f127
authored
Mar 22, 2022
by
Fabian Dewantara Santonie
🕊
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Menambahkan Bootstrap pada Latihan 3 JSP
parent
8dcd8e14
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
54 deletions
+17
-54
Latihan3.jsp
src/main/webapp/Latihan3.jsp
+17
-54
No files found.
src/main/webapp/Latihan3.jsp
View file @
6ef0f127
...
...
@@ -2,64 +2,27 @@
pageEncoding=
"ISO-8859-1"
%>
<!DOCTYPE html>
<html>
<link
rel=
"stylesheet"
href=
"https://fonts.googleapis.com/css?family=Audiowide"
>
<style>
body
{
font-family
:
"Audiowide"
,
sans-serif
;
}
input
[
type
=
text
],
select
{
width
:
50%
;
padding
:
12px
20px
;
margin
:
8px
0
;
display
:
inline-block
;
border
:
1px
solid
#ccc
;
border-radius
:
4px
;
box-sizing
:
border-box
;
}
input
[
type
=
password
],
select
{
width
:
50%
;
padding
:
12px
20px
;
margin
:
8px
0
;
display
:
inline-block
;
border
:
1px
solid
#ccc
;
border-radius
:
4px
;
box-sizing
:
border-box
;
}
input
[
type
=
submit
]
{
width
:
50%
;
background-color
:
#4CAF50
;
color
:
white
;
padding
:
14px
20px
;
margin
:
8px
0
;
border
:
none
;
border-radius
:
4px
;
cursor
:
pointer
;
}
input
[
type
=
submit
]
:hover
{
background-color
:
#45a049
;
}
div
{
border-radius
:
5px
;
background-color
:
#f2f2f2
;
padding
:
20px
;
}
</style>
<link
href=
"https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css"
rel=
"stylesheet"
integrity=
"sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC"
crossorigin=
"anonymous"
>
<head>
<meta
charset=
"ISO-8859-1"
>
<title>
Insert title here
</title>
</head>
<body>
<form
action=
"/belajarJavaServlet_Fabian/Latihan3"
method =
"POST"
>
<h1>
Masukan Username dan Password
</h1><br>
<label
for=
"username"
>
Username :
</label><br>
<input
type=
"text"
id=
"username"
name=
"username"
placeholder=
"Username..."
><br>
<label
for=
"password"
>
Password :
</label><br>
<input
type=
"password"
id=
"password"
name=
"password"
placeholder=
"Password..."
><br><br>
<input
type=
"submit"
value=
"Login"
>
</form>
<div
align=
"center"
>
<h1>
Masukan Username dan Password
</h1>
<form
action=
"/belajarJavaServlet_Fabian/Latihan3"
method =
"POST"
>
<table
style=
"with: 70%"
>
<tr>
<td>
Username
</td>
<td><input
type=
"text"
id=
"username"
name=
"username"
placeholder=
"Username..."
></td>
</tr>
<tr>
<td>
Password
</td>
<td><input
type=
"password"
id=
"password"
name=
"password"
placeholder=
"Password..."
></td>
</tr>
</table>
<input
type=
"submit"
value=
"Login"
>
</form>
</div>
</body>
</html>
\ No newline at end of file
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