-
Notifications
You must be signed in to change notification settings - Fork 5
/
index.html
executable file
·126 lines (107 loc) · 5.52 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="shortcut icon" href="images/chicken_favicon.ico" type="image/x-icon">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<!-- arcgis-rest-request and arcgis-rest-geocoder included for geocoding, reverse geocoding, and suggest (autocomplete) -->
<script src="https://unpkg.com/@esri/arcgis-rest-request@1.13.2/dist/umd/request.umd.min.js"></script>
<script src="https://unpkg.com/@esri/arcgis-rest-geocoder@1.13.2/dist/umd/geocoder.umd.min.js"></script>
<!-- fonts: -->
<link href="https://fonts.googleapis.com/css?family=Roboto:100,100i,300,300i,400,400i,500,500i,700,700i,900,900i" rel="stylesheet">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
<!-- Leaflet for the Map: -->
<script src="https://unpkg.com/leaflet@1.3.1/dist/leaflet.js" integrity="sha512-/Nsx9X4HebavoBvEBuyp3I7od5tA0UzAxs+j83KgC8PU0kgB4XiK4Lfe4y4cgBtaRJQEIFCW+oC506aPT2L1zw==" crossorigin=""></script>
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.3.1/dist/leaflet.css" integrity="sha512-Rksm5RenBEKSKFjgI3a41vrjkw4EVPlJ3+OiI65vTjIdo9brlAacEuKOiQ5OFh7cOI1bkDwLqdLw3Zg0cRJAAQ==" crossorigin="" />
<!-- Our main application CSS (styles) -->
<link rel="stylesheet" type="text/css" href="style/main.css">
<!-- Our main application JavaScript files: -->
<script src="main.js"></script>
<!-- JQuery-UI included for autocomplete: -->
<link href="lib/jquery-ui.min.css" rel="stylesheet">
<script src="lib/jquery-ui.min.js"></script>
<title>Backyard Chickens STL</title>
<div id='map'></div>
<div id='geocoder' class='geocoder'></div>
</head>
<body>
<header class="top">
<section class="logo">
<div id="logo-div">
<h1 id="black"><span id="orange">Backyard</span> Chickens</h1>
</div>
</section>
<nav class="menu">
<ul class="menu-list">
<li>
<a class="active" href="#about">ABOUT</a>
</li>
<li>
<a href="#resources">RESOURCES</a>
</li>
</ul>
</nav>
</header>
<section class="middle">
<div class="instructions">
<h2>Can I have backyard chickens?</h2>
</div>
<div class="search-container">
<div class="address">
<form class="form" action="#" onSubmit="addressSearch()" id="searchSubmit">
<input class="search" type="text" placeholder="Enter your address to find out" name="address" id="address">
</form>
<button class="btn" type="submit" id="submit"><i class="fas fa-arrow-circle-right fa-lg" id="orange"></i></button>
</div>
</div>
<div>
<p>Disclaimer: Your neighborhood might have different rules than the municipality it's in. Make sure to check with them as well!</p>
</div>
<form id="coopForm" style="display:none;">
<br />
Enter the dimensions of your coop and its enclosing fence to estimate how many chickens you're allowed to
have.
<br /><br />
Coop: <br />
Length: <input type="text" size="3" id="cwSTL" class="coopFormInput">
Width: <input type="text" size="3" id="clSTL" class="coopFormInput">
<br />
Fence: <br />
Length: <input type="text" size="3" id="fwSTL" class="coopFormInput">
Width: <input type="text" size="3" id="flSTL" class="coopFormInput">
<br />
<button type="button" id="calcChickens">How many chickens can I have?</button>
</form>
<div id="mapid">
</div>
<div id="about">
<H1>About</H1>
<p>The purpose of this project is to better communicate chicken regulations by
municipality to the people of Saint Louis and Saint Louis County based on
local municipality zoning regulations.<br>
This project was built by the Saint Louis Code for America Brigade, OpenSTL.
This project is open source and is free to be reused and distributed.<br><br>
The files can be found on the OpenSTL Backyard Chickens <a href="https://github.com/OpenDataSTL/backyard-chickens">GitHub Page</a>
</p>
</div>
</section>
<footer class="end">
<div id=chickens-end>
<img src="images\chicken1.png" alt="chicken 1" height=100%/>
<img class="chicken2" src="images\chicken2.png" alt="chicken 2" height=100%/>
<img src="images\chicken3.png" alt="chicken 3" height=100%/>
<img src="images\chicken4.png" alt="chicken 4" height=100%/>
</div>
<div id=links>
<a href="https://github.com/OpenDataSTL/backyard-chickens/tree/master">
<img src="images\GitHub-Mark-64px.png" alt="backyard-chickens project link" height="80%">
</a>
<a href="https://openstl.org">
<img src="images\openstl-square-logo.jpeg.png" alt="OpenSTL site link" height="80px">
</a>
</div>
</footer>
</body>
</html>