-
Notifications
You must be signed in to change notification settings - Fork 4
/
register.html
170 lines (158 loc) · 8.29 KB
/
register.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
<html>
<head>
<meta charset="utf-8">
<title>Register - Axel</title>
<link rel="stylesheet" href="home.css">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" href="logo.png">
<link rel="stylesheet" href="register.css">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.css">
<script async src="register.js" type="text/javascript"></script>
</head>
<body>
<div class="main-container">
<div class="text">
<h3>Time to evolve!</h3>
<h6>Register yourself as an Axel member now!</h6>
</div>
<div class="progressbar">
<div id="step1">STEP 1</div>
<div id="step2">STEP 2</div>
<div id="step3">STEP 3</div>
</div>
<form action="register.php" method="post" enctype="multipart/form-data" autocomplete="off">
<div id="firststep">
<div class="header">Personal Details</div>
<hr width="100%" style="margin:7px 0px;border:none;border-bottom:0.5px solid #76D7C4">
<div class="form-group">
<label for="username">Username</label>
<input type="text" class="form-control" id="username" name="username" placeholder="Username">
</div>
<div class="form-group">
<label for="email">Email address</label>
<input type="email" class="form-control" name="email" id="email" onkeyup="checkemail()" aria-describedby="emailHelp" placeholder="Email" required>
<div id="emailerror" style="font-size:0.8rem;margin-top:10px;color:red;display:none">This email ID is incorrect or already exists!</div>
</div>
<div class="form-group">
<label for="password">Password</label>
<span style="font-size:0.8rem;display:block;margin-bottom:10px;color:#76D7C4">Password must contain 8 or more characters, an uppercase letter, a lowercase letter and a digit.</span>
<div class = "input-icons">
<input type="password" class="form-control" name="password" id="password" placeholder="Password">
<i id="pass-status" class="fa fa-eye" aria-hidden="true" onClick="viewPassword()"></i>
</div>
</div>
<div class="form-group">
<div class="header">User Type</div>
<hr width="100%" style="margin:7px 0px;border:none;border-bottom:0.5px solid #76D7C4">
<div style="text-align:center;">
<input type ="radio" id = "startup" name="radio" value="startup" required> Startup
<br>
<input type ="radio" id = "mentor" name="radio" value="mentor" required> Mentor
<br>
<input type ="radio" id = "general" name="radio" value="general" required> General User
</div>
</div>
<div class="footer"><button type="button" name="Next" class="btn btn-modify" onclick="validate_step1()">Next</button></div>
</div>
<div id="secondstep">
<div class="header">Personal Details</div>
<hr width="100%" style="margin:7px 0px;border:none;border-bottom:0.5px solid #76D7C4">
<div class="img-holder">
<img id="dp" name="dp" src="avatar.png">
</div>
<div class="form-group">
<input type="file" class="form-control" id="profilepic" name="profilepic">
</div>
<div class="form-group">
<label for="profilename">Profile Name</label>
<input type="text" class="form-control" id="profilename" name="profilename" placeholder="Profile Name">
</div>
<div class="form-group">
<label for="phoneno">Phone Number</label>
<input type="number" class="form-control" id="phoneno" name="phoneno" placeholder="Phone Number">
</div>
<div class="form-group">
<label for="location">Location</label>
<input type="text" class="form-control" id="location" name="location" placeholder="Location">
</div>
<div id="startup_form">
<div class="header">Startup Details</div>
<hr width="100%" style="margin:7px 0px;border:none;border-bottom:0.5px solid #76D7C4">
<div class="form-group">
<label for="founder">Founder</label>
<input type="text" class="form-control" id="founder" name="founder" placeholder="Founder">
</div>
<div class="form-group">
<label for="startup_field">Startup Field</label>
<input type="text" class="form-control" id="startup_field" name="startup_field" placeholder="Startup Field">
</div>
<div class="header">Startup Member Details</div>
<hr width="100%" style="margin:7px 0px;border:none;border-bottom:0.5px solid #76D7C4">
<div id = "member_details">
<div class="form-group">
<label for="member">Member 1</label>
<input type="text" class="form-control" id="member1" name="member1" placeholder="Member 1">
</div>
<div class="form-group">
<label for="member_designation">Designation of Member 1</label>
<input type="text" class="form-control" id="designation_member1" name="designation_member1" placeholder="Designation of Member 1">
</div>
</div>
<div style="text-align:center;"><a href="javascript:void(0);" onclick="addMember();">+Add member</a></div>
</div>
<div id="mentor_form">
<div class="form-group">
<label for="field">Field / Domain</label>
<input type="text" class="form-control" id="field" name="field" placeholder="Field / Domain">
</div>
<div class="header">Qualification Details</div>
<hr width="100%" style="margin:7px 0px;border:none;border-bottom:0.5px solid #76D7C4">
<div id = "qualification_details">
<div class="form-group">
<label for="qualification1">Qualification 1</label>
<input type="text" class="form-control" id="qualification1" name="qualification1" placeholder="Qualification 1">
</div>
</div>
<div style="text-align:center;"><a href="javascript:void(0);" onclick="addQualification();">+Add Qualification</a></div>
</div>
<div id="general_form">
<div class="form-group">
<label for="Designation">Designation</label>
<input type="text" class="form-control" id="designation" name="designation" placeholder="Designation">
</div>
</div>
<div class="footer">
<button type="button" name="Next" class="btn btn-modify" onclick="validate_step2()">Next</button>
</div>
</div>
<div id= "thirdstep">
<div class="header">Additional Details</div>
<hr width="100%" style="margin:7px 0px;border:none;border-bottom:0.5px solid #76D7C4">
<div class="img-holder">
<img id="social" name="social" src="socialmedia.jpg">
</div>
<div class="header">Websites / Social Media Links </div>
<div id = "link_details">
<div class="form-group">
<label for="link1">Link 1</label>
<input type="text" class="form-control" id="link1" name="link1" placeholder="Link 1">
</div>
</div>
<div style="text-align:center;"><a href="javascript:void(0);" onclick="addLinks();">+Add more Links</a></div>
<div class = "footer"><button type="submit" name="Submit" class="btn btn-modify">Submit</button></div>
</div>
</form>
</div id="secondstep">
<div class="main-container" id="redirect">
Already Registered? <a href="login.php?type=any">Login here</a>
</div>
<script>
if ( window.history.replaceState ) {
window.history.replaceState( null, null, window.location.href );
}
document.getElementById("step1").style.backgroundColor = "#76D7C4";
document.getElementById("step1").style.color = "white";
</script>
</body>
</html>