-
Notifications
You must be signed in to change notification settings - Fork 0
/
patient.php
113 lines (100 loc) · 3.99 KB
/
patient.php
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
<!doctype html>
<html>
<?php include'templates/header.php';?>
<body>
<?php include'templates/navbar.php';?>
<!--BEGIN NORMAL BODY-->
<div class="container">
<div class="row">
<!--BEGIN RECENT PATIENTS-->
<div class="col-md-6">
<div class="panel panel-default">
<div class="panel-heading">
<h4>
Recent Patients
</h4>
</div>
<div class="panel-body">
<table class="table table-striped table-hover ">
<thead>
<tr>
<th>#</th>
<th>Patient Badge ID</th>
<th>Owner Name</th>
<th>Patient Name</th>
<th>Patient Species</th>
</tr>
</thead>
<?php
include'dynamic/recentPatients.php';
?>
</table>
</div>
</div>
</div>
<!--END RECENT PATIENTS-->
<!--BEGIN NEW PATIENT-->
<div class="col-md-6">
<div class="panel panel-default">
<div class="panel-heading">
<h4>New Patient</h4>
</div>
<div class="panel-body">
<form action="dynamic/test.php" method="post" class="form-horizontal">
<!--Patient Name Input -->
<div class="form-group">
<label for="patientName" class="col-sm-3 control-label">Patient Name</label>
<div class="col-sm-8">
<input class="form-control" id="patientName" placeholder="Fluffy" type="text" name="patientName">
</div>
</div>
<!--Patient Weight Input -->
<div class="form-group">
<label for="patientWeight" class="col-sm-3 control-label">Patient Weight</label>
<div class="col-sm-5">
<input class="form-control" id="patientWeight" placeholder="Weight" type="text" name="patientWeight">
</div>
<div class="col-sm-3">
<select class="form-control" name="weightType">
<option>kg</option>
<option>lbs</option>
</select>
</div>
</div>
<!--Owner First Name Input -->
<div class="form-group">
<label class="col-sm-3 control-label">Sex</label>
<div class="col-sm-6">
<div class="radio-inline"><label><input name="sexRadio" id="sexradiom" value="male" checked="" type="radio">Male</label></div>
<div class="radio-inline"><label><input name="sexRadio" id="sexradiof" value="female" type="radio">Female</label></div>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">Species</label>
<div class="col-sm-3">
<select class="form-control" name="Species">
<option>Dog</option>
<option>Cat</option>
<option>Rat</option>
<option>Hamster</option>
<option>Cow</option>
<option>Horse</option>
</select>
</div>
</div>
<div class="form-group">
<div class="col-sm-6 col-sm-offset-3">
<button class="btn btn-default">Cancel</button>
<button type="submit" class="btn btn-primary">Submit</button>
</div>
</div>
</form>
</div>
</div>
</div>
<!--END NEW PATIENT-->
</div>
</div>
<script type="text/javascript" src="table.js"></script>
</body>
</html>