forked from akshitagupta15june/PetMe
-
Notifications
You must be signed in to change notification settings - Fork 0
/
reportstary.html
265 lines (250 loc) · 10.9 KB
/
reportstary.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
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="https://cdn.tailwindcss.com"></script>
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="manifest" href="/site.webmanifest">
<link rel="stylesheet" href="./output.css">
<link rel="stylesheet" href="./style.css">
<link rel="stylesheet" href="./introSection.css">
<link rel="stylesheet" href="./navbar.css">
<link rel="stylesheet" href="./mobileView.css">
<link rel="stylesheet" href="./reportstary.css">
<!-- <link rel="icon" type="image/x-icon" href="/Assets/Images/logo.ico"> -->
<link rel="shortcut icon" type="image/x-icon" href="/PetMe/Assets/Images/logo.jpg">
<script defer src="https://unpkg.com/[email protected]/dist/cdn.min.js"></script>
<link href="https://unpkg.com/tailwindcss@^2/dist/tailwind.min.css" rel="stylesheet">
<title>Report critical stray animal: PetMe</title>
</head>
<body>
<header id="header"
class=" text-gray-400 bg-header-offwhite body-font flex flex-row items-center justify-center lg:justify-around">
<div class="flex flex-row items-center md:flex-row md:items-center p-2" id="logo">
<span class="mission-1 mission-dark"> Saving Lives </span>
<a class="logo-border" href="index.html">
<img class="rounded-full logo-size" src="./Assets/Images/logo.jpg" alt="logo" />
</a>
<span class="mission-2 mission-dark"> Saving Animals </span>
<!--
<div class="w-full mt-8 md:mt-0">
<h1 class="text-4xl text_2 text-center md:text-left md:ml-12 uppercase font-serif font-bold " id = "heading-adopt-me">Adopt
today!</h1>
<p class="text-lg text-gray-400 text-center md:text-left md:ml-12 mt-2">Give life to a needed animal</p>
</div> -->
</div>
<button data-collapse-toggle="navbar-default" type="button"
class="absolute top-4 right-4 sm:inline-flex sm:items-center p-2 lg:hidden focus:outline-none text_4 "
aria-controls="navbar-default" aria-expanded="false" id="nav-button">
<span class="sr-only">Open main menu</span>
<svg class="w-6 h-6" aria-hidden="true" fill="currentColor" viewBox="0 0 20 20"
xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd"
d="M3 5a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1zM3 10a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1zM3 15a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1z"
clip-rule="evenodd"></path>
</svg>
</button>
<nav class="">
<div class="hidden w-full lg:block z-2" id="navbar">
<ul
class="w-[100vw] h-1/2 top-0 right-0 p-8 lg:p-4 mt-12 lg:mt-0 text-center text-sm space-y-8 lg:space-y-0 lg:space-x-5 lg:static lg:w-auto flex flex-col rounded-lg items-start lg:items-center lg:bg-transparent lg:border-0 lg:flex-row justify-center"
>
<li>
<a
href="./index.html"
class="text-custom-heading font-bold hover:underline underline-offset-4 turn-red-hover navbar-item"
>Home</a
>
</li>
<li>
<a
href="./news.html"
class="text-custom-heading font-bold hover:underline underline-offset-4 turn-red-hover navbar-item"
>Pet News</a
>
</li>
<li>
<a
href="./blog.html"
class="text-custom-heading font-bold hover:underline underline-offset-4 turn-red-hover navbar-item"
>Blogs</a
>
</li>
<li>
<a
href="./donate.html"
class="text-custom-heading font-bold hover:underline underline-offset-4 turn-red-hover navbar-item"
>Donate</a
>
</li>
<li>
<div
x-data="{ open: false }"
@mouseleave="open = false"
class="relative"
>
<a
@mouseover="open = true"
class="text-custom-heading flex font-bold hover:underline underline-offset-4 turn-red-hover navbar-item w-full"
>
Support Us
<svg
xmlns="http://www.w3.org/2000/svg"
width="14px"
height="14px"
fill="none"
viewBox="0 0 24 24"
stroke="currentColor"
class="mt-1"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
d="M19 9l-7 7-7-7"
></path>
</svg>
</a>
<div
x-show="open"
class="z-20 absolute -left-1 w-[7.5rem] py-2 bg-gray-100 rounded-md shadow-xl"
>
<a
href="volunteer.html"
class="block px-4 py-2 text-sm text-gray-300 text-gray-700 hover:bg-gray-400 hover:text-white"
>Become a Volunteer</a
>
</div>
</div>
</li>
<li>
<a
href="./reportstary.html"
class="text-custom-heading font-bold hover:underline underline-offset-4 turn-red-hover navbar-item"
>SOS Report</a
>
</li>
<li>
<a id="theme-toggle"
><img src="Assets/Images/sun.svg" width="50px" id="switch"
/></a>
</li>
<!-- google translate -->
<div id="google_translate_element">
<script
type="text/javascript"
src="https://translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"
></script>
</div>
</div>
</ul>
</div>
</nav>
</header>
<div class=" flex flex-col items-center ">
<div class="info my-4 mt-36 max-w-[625px]">
<h1 id="title">Report any Critical stray animal to the nearest Animal Care centres</h1>
<p id="description">The details you provide with this form will be used to reach the nearest authority at the
location of the stray animal.</p>
</div>
<form class="flex flex-col md:w-2/3 max-w-[775px] w-auto sm:mx-6 mx-2" id="survey-form"
action="https://formspree.io/f/xayaokzl" method="POST">
<div class="form-group mb-2">
<label for="name">Name
<span class="hint text-red-600">*</span>
</label>
<input type="text" name="name" id="name" class="form-control" placeholder="Enter your name" required />
</div>
<div class="form-group mb-2">
<label for="email">Email
<span class="hint text-red-600">*</span>
</label>
<input type="email" name="email" id="email" class="form-control" placeholder="Enter your email" required />
</div>
<div class="form-group mb-2">
<label for="address">
Address(street address,City, pincode)
<span class="hint text-red-600">*</span>
</label>
<input type="address" name="first address" id="first address" class="form-control"
placeholder="Enter your correct address (eg. Meenawati marg, Lucknow, 209087)" required/>
</div>
<div class="form-group mb-2">
<label for="landmark">
Landmark
<span class="hint text-red-600">*</span>
</label>
<input type="address" min="1" name="address" id="address" class="form-control"
placeholder="Enter the nearest landmark to identify the location." required/>
</div>
<div class="form-group mb-2">
<label for="contact-no">
Contact number
<span class="hint text-red-600">*</span>
</label>
<input type="tel" name="contact-no" id="contact" class="form-control"
placeholder="Enter an active contact number" required/>
</div>
<div class="form-group mb-4">
<label for="email">Which type of stray animal?
<span class="hint text-red-600">*</span>
</label>
<select id="dropdown" name="role" class="form-control" required>
<option disabled selected value>Select stray animal</option>
<option value="student">Dog</option>
<option value="artist">Cat</option>
<option value="graphic_designer">Cow</option>
<option value="other">Pig</option>
<option value="other">Other</option>
</select>
</div>
<div class="form-group">
<label>What is the condition of the animal currently?</label>
<label>
<input name="user-recommend" value="definitely" type="radio" class="input-radio" checked />
Extremely Critical
</label>
<label>
<input name="user-recommend" value="maybe" type="radio" class="input-radio" />
Critical
</label>
<label>
<input name="user-recommend" value="no" type="radio" class="input-radio" />
Moderate health
</label>
</div>
<div class="form-group mt-2">
<label for="comment">Would you like to share any additional information about the stray animal's
condition?</label>
<textarea id="comment" class="input-textarea focus:outline-green-400 border-2 border-gray-200" name="comment"
placeholder="Enter your comment here..."></textarea>
</div>
<div class="flex justify-center">
<div class="form-group text-white">
<button type="submit" id="submit"
class="flex mx-auto text-white bg-amber-900 border-0 py-3 px-12 rounded-md cursor-pointer hover:bg-yellow-900">Submit</button>
</div>
</div>
</form>
</div>
<button class="help_btn bg-amber-900 hover:bg-yellow-900">Help</button>
<dialog id="popup" class="popup border-2 border-green-500" style="display:none">
<div class="bg-white rounded-lg p-6 max-w-md">
<div class="Head text-center">
<h1 class="Head_text text-2xl font-semibold text-green-600">Get Help</h1>
<button id="close" aria-label="close" formnovalidate class="text-gray-600 hover:text-gray-800 focus:outline-none absolute top-2 right-4">X</button>
</div>
<h2 class="subHead text-xl italic font-light text-gray-600 mt-4">Search a city name and find pet care centers there</h2>
<input placeholder="Get info of Pet Clinics" type="text" id="input" name="input"
class="rounded-full p-2 border border-gray-300 w-full max-w-md mx-auto my-6">
<button id="GoButton" class="bg-blue-500 hover:bg-blue-600 text-white px-4 py-2 rounded-full focus:outline-none mx-auto">Go</button>
</div>
</dialog>
<script src="./navbar.js"></script>
<script src="./light-dark-theme.js"></script>
<script src="reportstary.js"></script>
</body>
</html>