-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add button ,input and text area, Add register files and Login files #14
Open
SiansandaTamara
wants to merge
12
commits into
develop
Choose a base branch
from
get-started
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 1 commit
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
4085063
Add button ,input and text area, Add register files and Login files
SiansandaTamara 663aecd
Made changes requsted by the reviewer
SiansandaTamara f2a36af
Add css,make changes requsted
SiansandaTamara 5e1ca04
fixed error
SiansandaTamara 28a1e6f
Merge branch 'develop' into get-started
SiansandaTamara 3c90f7a
fix changes
SiansandaTamara 1a1bfdd
Merge branch 'get-started' of https://github.com/devcareer/digit into…
SiansandaTamara c125b4d
change made
SiansandaTamara 392a063
Merge branch 'develop' of https://github.com/devcareer/digit into get…
SiansandaTamara a1ee2f7
Create register page
SiansandaTamara 558fc8d
make changes
SiansandaTamara 837c1cd
Merge branch 'develop' into get-started
SiansandaTamara File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<link rel="stylesheet" href="../css/login.css" /> | ||
<title>Digit Login</title> | ||
</head> | ||
<body> | ||
<div class="contact-form"> | ||
<h2 class="con-title">Login to your Account</h2> | ||
<p class="conlogin-paragraph"> | ||
Welcome back! | ||
<div className="form-container"> | ||
<div className="login-form-container"> | ||
<form className="login-form" onSubmit={formSubmit}> | ||
<div className="form-group"> | ||
<label htmlFor="email"> | ||
<br /> | ||
<input type="email" name="email" id="signup-email" className="form-control" placeholder="Enter your email" required onChange={(e) => | ||
</label> | ||
</div> | ||
<div className="form-group"> | ||
<label htmlFor="password"> | ||
Password | ||
<br /> | ||
<input type="password" name="password" id="signup-password" className="form-control" placeholder="Enter your password" required onChange={(e) => | ||
</label> | ||
</div> | ||
<a href="forgot password?" class="forgot">forgot password?</a> | ||
<div className="signup-buttons"> | ||
<button type="submit" className="login-btn" to="/">Login</button> | ||
</div> | ||
</form> | ||
|
||
<div className="notice-account"> | ||
<p> | ||
Dont have an account? | ||
<span><Link className="login-link" to="/register" id="login-on-signup">Register</Link></span> | ||
</p> | ||
</div> | ||
</div> | ||
</div> | ||
</section> | ||
</body> | ||
</html> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,97 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<link rel="stylesheet" href="../css/reg.css" /> | ||
<title>Digit Register Page</title> | ||
</head> | ||
<body> | ||
<div class="contact-form"> | ||
<h2 class="con-title">Create Account</h2> | ||
<p class="conRegist-paragraph"> | ||
Enter your details to get start your track | ||
started with us. | ||
|
||
<div className="form-container"> | ||
<div className="register-form-container"> | ||
<form className="register-form" onSubmit={formSubmit}> | ||
<div className="form-group"> | ||
<label htmlFor="name"> | ||
Name | ||
<br /> | ||
<input type="text" name="name" id="register-name" className="form-control" placeholder="Enter your name" required onChange={(e) => | ||
</label> | ||
</div> | ||
<div className="form-group"> | ||
<label htmlFor="email"> | ||
<br /> | ||
<input type="email" name="email" id="register-email" className="form-control" placeholder="Enter your email" required onChange={(e) => | ||
</label> | ||
</div> | ||
<div className="form-group"> | ||
<label htmlFor="phonenumber"> | ||
Phone number | ||
<br /> | ||
<input type="phone number" name="phone number" id="register-phone number" className="form-control" placeholder="Enter your phone number" required onChange={(e) => | ||
</label> | ||
</div> | ||
<div className="form-group"> | ||
<label htmlFor="Address"> | ||
Address | ||
<br /> | ||
<input type=" Address" name=" Address" id="register-Address" className="form-control" placeholder="Enter your Address" required onChange={(e) => | ||
</label> | ||
</div> | ||
<div className="form-group"> | ||
<label htmlFor="Gender"> | ||
Gender | ||
<br /> | ||
<input type=" gender" name=" gender" id="register-gender" className="form-control" placeholder="Enter your gender" required onChange={(e) => | ||
</label> | ||
</div> | ||
<div className="form-group"> | ||
<label htmlFor="Age Range"> | ||
Age Range | ||
<br /> | ||
<input type=" Age Range" name=" Age Range" id="register-Age Range" className="form-control" placeholder="Enter your Age Range" required onChange={(e) => | ||
</label> | ||
</div> | ||
<div className="form-group"> | ||
<label htmlFor="Track"> | ||
Track | ||
<br /> | ||
<input type=" Track" name=" Track" id="register-Track" className="form-control" placeholder="Enter your Track" required onChange={(e) => | ||
</label> | ||
</div> | ||
<div className="form-group"> | ||
<label htmlFor="Time Dedication"> | ||
Time Dedication | ||
<br /> | ||
<input type=" Time Dedication" name=" Time Dedication" id="register-Time Dedication" className="form-control" placeholder="Enter your Time Dedication" required onChange={(e) => | ||
</label> | ||
</div> | ||
<div className="form-group"> | ||
<label htmlFor="Employment Status"> | ||
Employment Status | ||
<br /> | ||
<input type=" Employment Status" name=" Employment Status" id="register-Employment Status" className="form-control" placeholder="Enter your Employment Status" required onChange={(e) => | ||
</label> | ||
</div> | ||
<div className="register-buttons"> | ||
<button type="submit" className="register-btn" to="/signin">Register</button> | ||
</div> | ||
</form> | ||
<div className="notice-account"> | ||
<p> | ||
Already have an account? | ||
<span><Link className="login-link" id="register-on-login" to="/login">Login</Link></span> | ||
</p> | ||
</div> | ||
</div> | ||
</div> | ||
</section> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
*body { | ||
padding: 12px 24px 12px 24px; | ||
} | ||
|
||
/* input fields */ | ||
input[type=email], input[type=password]{ | ||
width: 40%; | ||
padding: 30px; | ||
margin: 5px 10px 22px 10px; | ||
display: inline-block; | ||
border: none; | ||
background: #f1f1f1; | ||
} | ||
|
||
/* Add a background color when the inputs get focus */ | ||
input[type=text]:focus, input[type=password]:focus { | ||
background-color: #ddd; | ||
outline: none; | ||
} | ||
|
||
/* all buttons */ | ||
button { | ||
background-color: blue; | ||
color: white; | ||
padding: 14px 20px; | ||
margin: 8px 0; | ||
border: none; | ||
cursor: pointer; | ||
width: 45%; | ||
} | ||
|
||
.forgot { | ||
padding-left: 500px; | ||
padding-bottom: 10rem; | ||
margin-top: 10rem; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
*body { | ||
padding: 12px 24px 12px 24px; | ||
} | ||
|
||
/* input fields */ | ||
input[type=], input[type=email]{ | ||
width: 40%; | ||
padding: 30px; | ||
margin: 5px 10px 22px 10px; | ||
display:inline-block; | ||
border: none; | ||
background: #f1f1f1; | ||
} | ||
|
||
/* Add a background color when the inputs get focus */ | ||
input[type=text]:focus, input[type=password]:focus { | ||
background-color: #ddd; | ||
outline: none; | ||
} | ||
|
||
/* all buttons */ | ||
button { | ||
background-color: blue; | ||
color: white; | ||
padding: 14px 20px; | ||
margin: 8px 0; | ||
border: none; | ||
cursor: pointer; | ||
width: 11%; | ||
} | ||
|
||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why are you using react syntax for the attributes?