forked from PranshuNayak/College-Management-System
-
Notifications
You must be signed in to change notification settings - Fork 0
/
account_reg.html
90 lines (82 loc) · 3.51 KB
/
account_reg.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
<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<!------ Include the above in your HEAD tag ---------->
<!DOCTYPE html>
<html>
<head>
<title>Sign-up</title>
<!--Bootsrap 4 CDN-->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous">
<!--Fontawesome CDN-->
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
<!--Custom styles-->
<link rel="stylesheet" type="text/css" href="sign up.css">
</head>
<body>
<form action="account_reg.php" method="POST">
<div class="container">
<div class="d-flex justify-content-center h-100">
<div class="card">
<div class="card-header">
<div class="logo">
      <h3>IIITDM Jabalpur</h3>
</div>
<div class="card-body">
<form>
<div class="input-group form-group">
<div class="input-group-prepend">
<span class="input-group-text"><i class="fas fa-user"></i></span>
</div>
<input type="text" class="form-control" placeholder="Name" name="name" required>
</div>
<div class="input-group form-group">
<div class="input-group-prepend">
<span class="input-group-text"><i class="fas fa-user"></i></span>
</div>
<input type="email" class="form-control" placeholder="Email" name="email" required>
</div>
<div class="input-group form-group">
<div class="input-group-prepend">
<span class="input-group-text"><i class="fas fa-user"></i></span>
</div>
<select name="type" id="account-type" style="width: 289px;height: 39px;">
<option value="0" >Select Account Type</option>
<option value="1">Teacher</option>
<option value="2">Student</option>
</select>
</div>
<div class="input-group form-group">
<div class="input-group-prepend">
<span class="input-group-text"><i class="fas fa-key"></i></span>
</div>
<input type="text" class="form-control" placeholder="Roll Number/PF Number" name="id_no" required>
</div>
<div class="input-group form-group">
<div class="input-group-prepend">
<span class="input-group-text"><i class="fas fa-key"></i></span>
</div>
<input type="password" class="form-control" placeholder="Password" name="password" required>
</div>
<div class="form-group">
<input type="submit" value="Register" class="btn float-right login_btn">
</div><br><br>
</form>
</div>
<div class="card-footer">
<div class="d-flex justify-content-center links">
Have already an account?<a href="login.html">Login here</a>
</div>
</div>
</div>
</div>
</div>
</form>
</body>
<script>
document.querySelector('select').addEventListener('click',()=>{
let option = document.querySelectorAll('option')
option[0].disabled="true";
})
</script>
</html>