-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
184 lines (159 loc) · 6.87 KB
/
index.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
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
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
<link rel="stylesheet" href="./styles.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.0/css/bootstrap.min.css"
integrity="sha384-9gVQ4dYFwwWSjIDZnLEWnxCjeSWFphJiwGPXr1jddIhOegiu1FwO5qRGvFXOdJZ4" crossorigin="anonymous">
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css"
/>
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Sacramento&display=swap" rel="stylesheet">
</head>
<body>
<nav class="navbar navbar-dark" style="background-color: #4c4f5f;" id="topNav">
<div class="container-1" id='left-nav'>
<div class="navbar-brand" href="#">
<img src="./pic/5.png" width="75" height="75" class="d-inline-block align-top" alt="" id='logo'>
<h3 id='petopia'>Petopia</h3>
<!-- drop down to sort pets -->
<div class="btn-group" id='dropdown-breed' style='display: none;'>
<button type="button" class="btn btn-info dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
Species
</button>
<div class="dropdown-menu">
<option class="dropdown-item" id='cat' onclick="sortByCat()">Cat</option>
<option class="dropdown-item" id='dog' onclick="sortByDog()">Dog</option>
<option class="dropdown-item" id='dog' onclick="undoSort()">All Pets</option>
</div>
</div>
<button id='view-all-apmnt-btn' style='display: none;'>
<!-- view all appointment button -->
</button>
</div>
</div>
<div id='welcome'>
<h4 class='navbar-brand'>
<!-- Greeting goes here -->
</h4>
<button class="btn btn-outline-danger" id='sign-out-btn' style='display: none;'>
<!-- sign out button goes here -->
</button>
</div>
</nav>
<!-- side nav bar -->
<div id='stuffs'>
<nav class="side-nav" id="pet-list" data-off-canvas="" data-position="left" aria-hidden="true" data-offcanvas="sccf95-offcanvas">
<div class="row column">
<div id="list-panel">
<div id="list">
<!-- list of pet pics -->
</div>
</div>
</div>
</nav>
<!-- main page -->
<div class="callout primary" id='main-page'>
<div class="row column" id='user-sign-in'>
<!-- user input name here -->
</div>
<div id='info-form'>
<div class='info' id='pet-info'>
<!-- pet's info go here -->
</div>
<div class='form' id='appointment-form'>
<!-- appointment form goes here -->
</div>
</div>
<!-- CALENDAR -->
<div class="container" style="display: none;" id='calendar'>
<div class="card1">
<h3 class="card-header" id="monthAndYear"></h3>
<table class="table table-bordered table-responsive-sm" id="calendar">
<thead>
<tr>
<th style='border: 1px solid #c4b4a978;'>Sun</th>
<th style='border: 1px solid #c4b4a978;'>Mon</th>
<th style='border: 1px solid #c4b4a978;'>Tue</th>
<th style='border: 1px solid #c4b4a978;'>Wed</th>
<th style='border: 1px solid #c4b4a978;'>Thu</th>
<th style='border: 1px solid #c4b4a978;'>Fri</th>
<th style='border: 1px solid #c4b4a978;'>Sat</th>
</tr>
</thead>
<tbody id="calendar-body">
</tbody>
</table>
<!-- next/previous button -->
<div class="form-inline">
<button class="btn1 btn-warning1 col-sm-6" id="previous" onclick="previous()">Previous</button>
<button class="btn1 btn-warning1 col-sm-6" id="next" onclick="next()">Next</button>
</div>
<!-- jump to certain month/year form -->
<br/>
<form class="form-inline">
<label class="lead mr-2 ml-2" for="month">Jump To: </label>
<select class="form-control col-sm-4" name="month" id="month" onchange="jump()">
<option value=0>Jan</option>
<option value=1>Feb</option>
<option value=2>Mar</option>
<option value=3>Apr</option>
<option value=4>May</option>
<option value=5>Jun</option>
<option value=6>Jul</option>
<option value=7>Aug</option>
<option value=8>Sep</option>
<option value=9>Oct</option>
<option value=10>Nov</option>
<option value=11>Dec</option>
</select>
<label for="year"></label><select class="form-control col-sm-4" name="year" id="year" onchange="jump()">
<option value=2020>2020</option>
<option value=2021>2021</option>
<option value=2022>2022</option>
<option value=2023>2023</option>
<option value=2024>2024</option>
<option value=2025>2025</option>
<option value=2026>2026</option>
<option value=2027>2027</option>
<option value=2028>2028</option>
<option value=2029>2029</option>
<option value=2030>2030</option>
</select></form>
</div>
</div>
<div id='appointment-info'>
<div id='all-appointments'>
<!-- list of appointments goes here -->
</div>
<div id='info'>
<!-- appointment details goes here -->
</div>
<div id='reschedule-form'>
<!-- rechedule form goes here -->
</div>
</div>
<!-- <button name="jump" onclick="jump()">Go</button> -->
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js"
integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo"
crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.0/umd/popper.min.js"
integrity="sha384-cs/chFZiN24E4KMATLdqdvsezGxaGsi4hLGOzlXwp5UZB1LY//20VyM2taTB4QvJ"
crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.0/js/bootstrap.min.js"
integrity="sha384-uefMccjFJAIv6A+rW+L4AHf99KvxDjWSu1z9VI8SKNVmz4sk7buKt/6v9KI65qnm"
crossorigin="anonymous"></script>
<script type="text/javascript" src="./src/index.js"></script>
<!-- footer -->
<footer>
<p>Made With ♥ by: </p>
<p>Kim Nguyen</p>
</footer>
</div>
</div>
</body>
</html>