-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAddDoctor.html
More file actions
96 lines (95 loc) · 3.01 KB
/
Copy pathAddDoctor.html
File metadata and controls
96 lines (95 loc) · 3.01 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
<html>
<head>
<title>Admin Page(Add Doctors)</title>
<link rel="stylesheet" href="Admin.css">
<script src="jquery.min.js"></script>
<script>
$(document).ready(function(){
$('#vd').click(function(){
$.get('viewdoctor.php',function(result){
$('#adddoctorform').css('display','none');
$('#resp').html(result);
});
});
});
</script>
<script>
$(document).ready(function(){
$('#vu').click(function(){
$.get('viewuser.php',function(result){
$('#adddoctorform').css('display','none');
$('#resp').html(result);
});
});
});
</script>
</head>
<style>
.select {
width: 150px;
padding: 10px 10px;
border: none;
border-radius: 3px;
background-color: #f1f1f1;
}
</style>
<body>
<nav class="nav-main">
<ul>
<li class="active">
<a href="e-healthcare.html" class="nav-item">Home</a>
</li>
<li>
<a href="AddDoctor.html" class="nav-item">Add Doctor</a>
</li>
<li >
<span id="vd" style="cursor:pointer" class="nav-item">View Doctor</span>
</li>
<li>
<span id="vu" style="cursor:pointer" class="nav-item">View User</span>
</li>
<li>
<a href="#" class="nav-item">View Feedback</a>
</li>
<li>
<a href="#" class="nav-item">Logout</a>
</li>
</ul>
</nav>
<center>
<div id="resp" style="border:none; position: absolute; margin:100px 0px 5% 0px;width:100%;">
</div>
</center>
<div style="border:none; position: absolute; margin:100px 0px 0px 500px; height:500px;width:430px;" id="adddoctorform">
<p style="font-family:Forte;font-size:20; text-align:center; color: #ff006e;"><u>Add Doctors</u></p>
<form action="demo.php" method="post">
<table>
<tr>
<td><label>Doctor Id</label><input type="text" name="txt1" required /><br></td>
<td><label>Type</label> <select id="type" name="typ" class="select">
<option value="Bone">Bone</option>
<option value="GeneralPhy">General Physician</option>
<option value="Heart">Heart</option>
</select>
</td><br>
</tr>
<tr>
<td><label>Name</label><input type="text" name="txt3" required /></td>
<td><label>Password</label><input type="text" name="txt4" required /></td>
</tr>
<tr>
<td><label>Qualifiction</label><input type="text" name="txt5" required /></td>
<td><label>Mobile No.</label><input type="text" name="txt6" required /></td>
</tr>
<tr>
<td><label>E-mail Id</label><input type="text" name="txt7" required /></td>
</tr>
<tr>
<td><button type="submit" value="submit" >Submit</button>
<button type="Reset" value="submit" >Reset</button></td>
</tr>
</table>
</form>
</div>
</body>
</html>