-
Notifications
You must be signed in to change notification settings - Fork 0
/
tpr.php
132 lines (116 loc) · 5.37 KB
/
tpr.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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
<!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>Owner Name</th>
<th>Patient Name</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">
<!--Owner First Name Input -->
<div class="form-group">
<label for="ownerFirst" class="col-lg-3 control-label">Owner First Name</label>
<div class="col-lg-6">
<input class="form-control" id="ownerFirst" placeholder="John" type="text" name="ownerFirst">
</div>
</div>
<!--Owner Last Name Input -->
<div class="form-group">
<label for="ownerLast" class="col-lg-3 control-label">Owner Last Name</label>
<div class="col-lg-6">
<input class="form-control" id="ownerLast" placeholder="Smith" type="text" name="ownerLast">
</div>
</div>
<!--Owner Email Input -->
<div class="form-group">
<label for="ownerEmail" class="col-lg-3 control-label">Owner Email</label>
<div class="col-lg-6">
<input class="form-control" id="ownerEmail" placeholder="[email protected]" type="text" name="ownerEmail">
</div>
</div>
<!--Patient Name Input -->
<div class="form-group">
<label for="patientName" class="col-lg-3 control-label">Patient Name</label>
<div class="col-lg-6">
<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-lg-3 control-label">Patient Weight</label>
<div class="col-lg-4">
<input class="form-control" id="patientWeight" placeholder="Weight" type="text" name="patientWeight">
</div>
<div class="col-lg-2">
<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-lg-3 control-label">Sex</label>
<div class="col-lg-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-lg-3 control-label">Species</label>
<div class="col-lg-3">
<div class="radio"><label><input name="speciesRadio" id="optionsRadios1" value="dog" checked="" type="radio">Dog</label></div>
<div class="radio"><label><input name="speciesRadio" id="optionsRadios2" value="cat" type="radio">Cat</label></div>
<div class="radio"><label><input name="speciesRadio" id="optionsRadios3" value="rat" type="radio">Rat</label></div>
<div class="radio"><label><input name="speciesRadio" id="optionsRadios4" value="horse" type="radio">Horse</label></div>
<div class="radio"><label><input name="speciesRadio" id="optionsRadios5" value="cow" type="radio">Cow</label></div>
</div>
</div>
<div class="form-group">
<div class="col-lg-6 col-lg-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>