-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
198 lines (198 loc) · 10.9 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
185
186
187
188
189
190
191
192
193
194
195
196
197
198
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Pet Seeker</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/css/bulma.min.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@creativebulma/[email protected]/dist/bulma-tooltip.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
<link rel="stylesheet" href="./assets/styles/styles.css">
<link rel="shortcut icon" href="./assets/images/favicon.ico?" type="image/x-icon">
</head>
<body>
<div class="columns">
<div class="column is-4-fullhd is-6-tablet is-full-touch p-0"> <!-- left side div -->
<div class="modal is-clipped is-active" id="settingsModal">
<div class="modal-background"></div>
<div class="modal-card">
<header class="modal-card-head">
<p class="modal-card-title">Preferences</p>
<button class="delete" id="hideModalDeleteBtn" aria-label="close"></button>
</header>
<section class="modal-card-body">
<!-- Content ... -->
<div>
<div style="display: block;">
<section class="tab-content"></section>
<div class="field">
<label class="label">City, State or Zip Code Search: </label>
<div class="control">
<input id = "user-city" class="input" type="text" placeholder="Text input">
</div>
</div>
<div class="field">
<label class="label">Age:</label>
<div class="control">
<div class="select">
<select id = "user-age">
<option>Baby</option>
<option>Young</option>
<option>Adult</option>
<option>Senior</option>
</select>
</div>
</div>
</div>
<div class="field">
<label class="label">Size:</label>
<div class="control">
<div class="select">
<select id = "user-size">
<option>Small</option>
<option>Medium</option>
<option>Large</option>
<option>XLarge</option>
</select>
</div>
</div>
</div>
<div class="field">
<div class="control">
<label class="label">Gender:</label>
<label class="checkbox">
<input id = "user-gender-male" type="checkbox"> Male
</label>
<label class="checkbox">
<input id = "user-gender-female" type="checkbox"> Female
</label>
</div>
</div>
</div>
</div>
</section>
<footer class="modal-card-foot">
<button class="button is-success" id="searchButton">Save changes</button>
<button class="button" id="hideModalCancelBtn">Cancel</button>
</footer>
</div>
</div>
<div class="columns is-12 m-0 pt-3 pl-3" id="scroll-box-holder">
<div class="column m-0 p-0 is-12">
<div class="columns m-0">
<div class="column is-12 my-3 is-align-items-center" id="pastLikesHeader">
<figure class="image is-64x64">
<img class="is-64x64" src="./assets/images/logo/petseeker_logo_sm.png" alt="logo of pet seeker pawprint in magnifying glass">
</figure>
<span class="pl-4">
Pet Seeker
</span>
</div>
</div>
<div class="columns m-0">
<div class="column is-12 m-0 p-0 is-flex is-justify-content-center" id="pastLikesTitle">
Liked Pets
</div>
</div>
<div class="columns m-0" id="scroll-box">
<div class="column is-12" id="pastLikesDiv">
<!-- DYNAMIC CONTENT GOES HERE -->
</div>
</div>
</div>
</div>
</div>
<div class="column is-8-fullhd is-6-tablet is-full-mobile m-0 p-6" id="main-content"> <!-- main content -->
<div class="columns is-mobile is-full-tablet"> <!-- hide and settings buttons -->
<div class="column is-half-mobile is-flex is-justify-content-flex-start p-0"> <!-- hide likes -->
<button class="button hideAndSettings" id="showHideBtn" style="display: none;">
<!-- <span class="material-icons md-48">
west
</span> -->
</button>
</div>
<div class="column is-half-mobile is-flex is-justify-content-flex-end p-0"> <!-- settings -->
<button class="button hideAndSettings p-0" id="showModal">
<span class="material-icons md-48">
settings
</span>
</button>
</div>
</div>
<div class="columns is-vcentered is-centered pt-3" id="mainCardHolder">
<div class="column">
<div class="columns">
<div class="column is-12-tablet is-6-widescreen image is-16by9">
<img id="petPhoto" src="./assets/images/jack.jpg" alt="picture of dog">
</div>
<div class="column is-12-tablet is-6-widescreen pr-6" id="right-side-of-card">
<div class="columns">
<div class="column is-12 p-0 is-flex is-align-items-flex-end">
<div class="content pb-2">
<span class="card-title" id="petName">
Boskco
</span>
<span class="card-title">
,
</span>
<span class="card-title material-icons" id="petGender">
female
</span>
<br>
<span class="card-subtitle has-tooltip-arrow has-tooltipl-multiline" id="petBreed" data-tooltip="">
Chihuahua
</span>
</div>
</div>
</div>
<div class="columns">
<div class="column is-12 p-0">
<div class="content pt-2">
<span class="card-text" id="petAge">Age: Young</span>
<br>
<span class="card-text" id="petSize">Size: Large</span>
<br>
<span class="card-text" id="petDescription">Lorem ipsum dolor sit amet consectetur adipisicing elit. A molestiae maxime doloribus</span>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="columns is-mobile is-justify-content-center is-align-content-center pt-5"> <!-- like and dislike buttons -->
<div class="column is-half-mobile is-flex is-justify-content-flex-end py-0 px-4"> <!-- dislike -->
<button class="button is-48x48 px-1 py-1 likeAndDislikeBtn" id="dislikeBtn">
<span class="material-icons md-48">
not_interested
</span>
</button>
</div>
<div class="column is-half-mobile is-flex is-justify-content-start py-0 px-4"> <!-- like -->
<button class="button is-48x48 px-1 py-1 likeAndDislikeBtn" id="likeBtn">
<span class="material-icons md-48">
favorite
</span>
</button>
</div>
</div>
</div>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.29.1/moment.min.js" integrity="sha512-qTXRIMyZIFb8iQcfjXWCO8+M5Tbc38Qi5WzdPOYZHIlZpzBHG3L3by84BBBOiRGiEb7KKtAOAs5qYdUiZiQNNQ==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script src="https://unpkg.com/axios/dist/axios.min.js"></script>
<script src="https://unpkg.com/@petfinder/petfinder-js/dist/petfinder.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.js" integrity="sha512-n/4gHW3atM3QqRcbCn6ewmpxcLAHGaDjpEBu4xZd47N0W2oQ+6q7oc3PXstrJYXcbNU1OHdQ1T7pAP+gi5Yu8g==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script src="./assets/js/script.js"></script>
</body>
<footer class="footer pb-6">
<div class="content mt-7 has-text-centered">
<p>
<strong>Pet Seeker</strong> by <a href="https://github.com/mguppy">@mguppy</a>,
<a href="https://github.com/brandonnorsworthy">@brandonnorsworthy</a> and
<a href="https://github.com/mwallis5110?tab=followers">@mwallis5110</a>. The source code is licensed
<a href="http://opensource.org/licenses/mit-license.php">MIT</a>. View the Source Code at
<a class="is-justified-right" href="https://github.com/brandonnorsworthy/pet-seeker">GitHub</a>.
</p>
</div>
</footer>
</html>