-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathEmployeeManager.html
More file actions
155 lines (144 loc) · 10.6 KB
/
EmployeeManager.html
File metadata and controls
155 lines (144 loc) · 10.6 KB
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
<!DOCTYPE html>
<html>
</head>
<title>EmployeeManager</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css">
<link rel="stylesheet" href="CSS/style1.css">
</head>
<body>
<div class="container">
<h1 class="text-primary text-uppercase text-center "> Employee Data</h1>
<div class="d-flex justify-content-end">
<button type="button" class="btn btn-warning" data-toggle="modal" data-target="#myModal">Add New </button>
<button type="button" class="btn btn-warning" style="margin-left: 30px;" >Logout</a> </button>
</div>
<h2 class="text-danger"> All Records</h2>
<div id="records_contant">
</div>
<div class="modal" id="myModal">
<div class="modal-dialog">
<div class="modal-content">
<!-- Modal Header -->
<div class="modal-header">
<h4 class="modal-title">Employee Data</h4>
<button type="button" class="close" data-dismiss="modal">×</button>
</div>
<!-- Modal body -->
<form class="modal-body" onsubmit="event.preventDefault();add();">
<div class="form-group">
<label>FirstName:</label>
<input type="text" name="" id="firstName" class="form-control" placeholder="FirstName">
</div>
<div class="form-group">
<label>LastName:</label>
<input type="text" name="" id="lastName" class="form-control" placeholder="LastName">
</div>
<div class="form-group">
<label>Phone Number</label>
<input type="number" name="" id="phoneNumber" class="form-control" placeholder="Phone Number">
</div>
<div class="form-group">
<label>Email:</label>
<input type="email" name="" id="email" class="form-control" placeholder="email@xyz.com">
</div>
<div class="form-group">
<label>Address:</label>
<input type="text" name="" id="address" class="form-control" placeholder="Address">
</div>
<div class="form-group">
<label>Patym Number:</label>
<input type="number" name="" id="paytmNumber" class="form-control" placeholder="Paytm Number">
</div>
<div class="form-group">
<label>UPI Number:</label>
<input type="number" name="" id="upiNumber" class="form-control" placeholder="UPI Number">
</div>
<div class="form-group">
<label>Account Number:</label>
<input type="text" name="" id="account" class="form-control" placeholder="AccountNumber">
</div>
<div class="form-group">
<label>IFSC CODE:</label>
<input type="text" name="" id="IFSCcode" class="form-control" placeholder="IFSC CODE">
</div>
<div class="form-group">
<label>Bank Name:</label>
<input type="text" name="" id="bankName" class="form-control" placeholder="Bank Name">
</div>
<div class="form-group">
<label>Aadhar Card Number:</label>
<input type="number" name="" id="aadharNumber" class="form-control" placeholder="Aadhar Card Number">
</div>
<div class="form-group">
<label for="sel1">Select Profession:</label>
<select class="form-control" value="hello" id="sel1" onchange="yesnoCheck(this)" >
<option value="">Job Seeker</option>
<option value="Student">Student</option>
<option value="Employee">Employee</option>
</select>
<div class="form-group" id="emp" style="display: none;">
<label>Enter company name</label>
<input type="text" id="company" class="form-control" name="" placeholder="Enter your company name"/>
<label>Enter company Address</label>
<input type="text" id="companyaddress" class="form-control" name="" placeholder="Enter your company address"/>
</div>
<div class="form-group" id="st" style="display: none; ">
<label>Enter college name</label>
<input type="text" id="college" class="form-control" name="" placeholder="Enter your college name"/>
<label>Enter college Address</label>
<input type="text" id="collegeaddress" class="form-control" name="" placeholder="Enter your college address"/>
</div>
</div>
<div class="form-group">
<label>Current Address:</label>
<input type="text" name="" id="currentAddress" class="form-control" placeholder="Current Address">
</div>
<!-- Modal footer -->
<div class="modal-footer">
<button type="button" class="btn btn-primary" data-dismiss="modal" onclick="add()">Save</button>
<input type="reset" class="btn btn-danger" />
</div>
</div>
</div>
</div>
</div>
</form>
<table class="table table-bordered table-hover" id="dataTable">
<thead class="thead-dark">
<tr>
<th scope="col">S.No</th>
<th scope="col">First_Name</th>
<th scope="col">Last_Name</th>
<th scope="col">Email</th>
<th scope="col">Phone_No</th>
<th scope="col">Paytm_No</th>
<th scope="col">Tez_No</th>
<th scope="col">Address</th>
<th scope="col">Aadhar_No</th>
<th scope="col">Bank_Name</th>
<th scope="col">Account_No</th>
<th scope="col">IFSC_Code</th>
<th scope="col">Title</th>
<th scope="col">Title_Filed1</th>
<th scope="col">Title_Filed2</th>
<th scope="col">Current_Address </th>
<th scope="col">Update</th>
<th scope="col">Delete</th>
<th scope="col">Block/UnBlock</th>
</tr>
</thead>
</table>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.0/umd/popper.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js"></script>
<script src="https://www.gstatic.com/firebasejs/7.12.0/firebase.js"></script>
<script src="https://www.gstatic.com/firebasejs/7.9.3/firebase-app.js"></script>
<script src="https://www.gstatic.com/firebasejs/7.9.3/firebase-auth.js"></script>
<script src="https://www.gstatic.com/firebasejs/7.13.2/firebase-firestore.js"></script>
<script src="https://www.gstatic.com/firebasejs/7.9.3/firebase-database.js"></script>
<script src="js/employee.js"></script>
<script src="js/form.js"></script>
</body>
</html>