Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Arthur.Pautrel
Software-Engineering_TP13
Commits
a85b331c
Commit
a85b331c
authored
Mar 16, 2022
by
Arthur.Pautrel
Browse files
Task 3
parent
025e55d0
Changes
2
Hide whitespace changes
Inline
Side-by-side
task2.jsp
View file @
a85b331c
...
...
@@ -50,6 +50,7 @@
<button
type=
"submit"
class=
"btn btn-primary btn-block"
>
Log in
</button>
</div>
</form>
<p
class=
"text-center"
><a
href=
"task3.jsp"
>
Create an Account
</a></p>
</div>
</body>
</html>
\ No newline at end of file
task3.jsp
0 → 100644
View file @
a85b331c
<%@ page
language=
"java"
contentType=
"text/html; charset=ISO-8859-1"
pageEncoding=
"ISO-8859-1"
%>
<!DOCTYPE html>
<html>
<head>
<meta
charset=
"ISO-8859-1"
>
<title>
Task 3
</title>
</head>
<link
rel=
"stylesheet"
href=
"https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css"
>
<link
rel=
"stylesheet"
href=
"https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css"
>
<script
src=
"https://code.jquery.com/jquery-3.5.1.min.js"
></script>
<script
src=
"https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js"
></script>
<script
src=
"https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/js/bootstrap.min.js"
></script>
<style>
body
{
color
:
#fff
;
background
:
#19aa8d
;
font-family
:
'Roboto'
,
sans-serif
;
}
.form-control
{
font-size
:
15px
;
}
.form-control
,
.form-control
:focus
,
.input-group-text
{
border-color
:
#e1e1e1
;
}
.form-control
,
.btn
{
border-radius
:
3px
;
}
.signup-form
{
width
:
400px
;
margin
:
0
auto
;
padding
:
30px
0
;
}
.signup-form
form
{
color
:
#999
;
border-radius
:
3px
;
margin-bottom
:
15px
;
background
:
#fff
;
box-shadow
:
0px
2px
2px
rgba
(
0
,
0
,
0
,
0.3
);
padding
:
30px
;
}
.signup-form
h2
{
color
:
#333
;
font-weight
:
bold
;
margin-top
:
0
;
}
.signup-form
hr
{
margin
:
0
-30px
20px
;
}
.signup-form
.form-group
{
margin-bottom
:
20px
;
}
.signup-form
label
{
font-weight
:
normal
;
font-size
:
15px
;
}
.signup-form
.form-control
{
min-height
:
38px
;
box-shadow
:
none
!important
;
}
.signup-form
.input-group-addon
{
max-width
:
42px
;
text-align
:
center
;
}
.signup-form
.btn
,
.signup-form
.btn
:active
{
font-size
:
16px
;
font-weight
:
bold
;
background
:
#19aa8d
!important
;
border
:
none
;
min-width
:
140px
;
}
.signup-form
.btn
:hover
,
.signup-form
.btn
:focus
{
background
:
#179b81
!important
;
}
.signup-form
a
{
color
:
#fff
;
text-decoration
:
underline
;
}
.signup-form
a
:hover
{
text-decoration
:
none
;
}
.signup-form
form
a
{
color
:
#19aa8d
;
text-decoration
:
none
;
}
.signup-form
form
a
:hover
{
text-decoration
:
underline
;
}
.signup-form
.fa
{
font-size
:
21px
;
}
.signup-form
.fa-paper-plane
{
font-size
:
18px
;
}
.signup-form
.fa-check
{
color
:
#fff
;
left
:
17px
;
top
:
18px
;
font-size
:
7px
;
position
:
absolute
;
}
</style>
</head>
<body>
<div
class=
"signup-form"
>
<form
action=
"/examples/actions/confirmation.php"
method=
"post"
>
<h2>
Sign Up
</h2>
<p>
Please fill in this form to create an account!
</p>
<hr>
<div
class=
"form-group"
>
<div
class=
"input-group"
>
<div
class=
"input-group-prepend"
>
<span
class=
"input-group-text"
>
<span
class=
"fa fa-user"
></span>
</span>
</div>
<input
type=
"text"
class=
"form-control"
name=
"username"
placeholder=
"Username"
required=
"required"
>
</div>
</div>
<div
class=
"form-group"
>
<div
class=
"input-group"
>
<div
class=
"input-group-prepend"
>
<span
class=
"input-group-text"
>
<i
class=
"fa fa-paper-plane"
></i>
</span>
</div>
<input
type=
"email"
class=
"form-control"
name=
"email"
placeholder=
"Email Address"
required=
"required"
>
</div>
</div>
<div
class=
"form-group"
>
<div
class=
"input-group"
>
<div
class=
"input-group-prepend"
>
<span
class=
"input-group-text"
>
<i
class=
"fa fa-lock"
></i>
</span>
</div>
<input
type=
"text"
class=
"form-control"
name=
"password"
placeholder=
"Password"
required=
"required"
>
</div>
</div>
<div
class=
"form-group"
>
<div
class=
"input-group"
>
<div
class=
"input-group-prepend"
>
<span
class=
"input-group-text"
>
<i
class=
"fa fa-lock"
></i>
<i
class=
"fa fa-check"
></i>
</span>
</div>
<input
type=
"text"
class=
"form-control"
name=
"confirm_password"
placeholder=
"Confirm Password"
required=
"required"
>
</div>
</div>
<div
class=
"form-group"
>
<label
class=
"form-check-label"
><input
type=
"checkbox"
required=
"required"
>
I accept the
<a
href=
"#"
>
Terms of Use
</a>
&
<a
href=
"#"
>
Privacy Policy
</a></label>
</div>
<div
class=
"form-group"
>
<button
type=
"submit"
class=
"btn btn-primary btn-lg"
>
Sign Up
</button>
</div>
</form>
<div
class=
"text-center"
>
Already have an account?
<a
href=
"task2.jsp"
>
Login here
</a></div>
</div>
</body>
</html>
\ No newline at end of file
Write
Preview
Supports
Markdown
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