-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaphids.html
executable file
·150 lines (139 loc) · 5.66 KB
/
aphids.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
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<!-- Compiled and minified CSS -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0-beta/css/materialize.min.css">
<link href="//fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<!-- Compiled and minified JavaScript -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0-beta/js/materialize.min.js"></script>
<script src="js/main.js" type='module'></script>
<link href="css/normalize.css" rel="stylesheet" type="text/css">
<link href="css/webflow.css" rel="stylesheet" type="text/css">
<link href="css/justins-awesome-project.webflow.css" rel="stylesheet" type="text/css">
<style>
* {box-sizing: border-box}
/* Set height of body and the document to 100% */
body, html {
height: 100%;
margin: 0;
font-family: Arial;
}
/* Style tab links */
.tablink {
background-color: #555;
color: white;
float: left;
border: none;
outline: none;
cursor: pointer;
padding: 14px 16px;
font-size: 17px;
width: 50%;
}
.tablink:hover {
background-color: #777;
}
/* Style the tab content (and add height:100% for full page content) */
.tabcontent {
color: black;
display: none;
height: 100%;
}
#buyBtn{
display: inline-block;
margin-left: 200px;
}
.suggestion{
background-color: grey;
border-style: solid;
border-width: 2px;
}
#Treatment {background-color: rgb(255, 255, 255);}
#Map {background-color: rgb(255, 255, 255);}
</style>
</head>
<body>
<nav class="blue" role="navigation">
<div class="nav-wrapper container">
<a href="index.html" class="brand-logo">FarmVision</a>
<ul class="right hide-on-med-and-down black-text">
<li>
<a href="index.html">Home</a>
</li>
<li>
<a href="diagnosis.html">Diagnoses</a>
</li>
<li>
<a href="inventory-list.html">Inventory</a>
</li>
<li>
<a href="info.html">About Us</a>
</li>
</ul>
<!-- slide menu appears on mobile screens -->
<a href="#" data-target="slide-out" class="sidenav-trigger">
<i class="material-icons">menu</i>
</a>
<ul id="slide-out" class="sidenav">
<li>
<a href="index.html"><i class="large material-icons">home</i>Home</a>
</li>
<li>
<a href="diagnosis.html"><i class="large material-icons">healing</i>Diagnosis</a>
</li>
<li>
<a href="inventory-list.html"><i class="large material-icons">playlist_add_check</i>Inventory</a>
</li>
<li>
<a href="info.html"><i class="large material-icons">mood</i>About Us</a>
</li>
</ul>
</div>
</nav>
<h2 style= "text-align: center"> Aphids </h2>
<div>
<button class="tablink" onclick="openPage('Treatment', this, '#64a0db')"id="defaultOpen" >Treatment</button>
<button class="tablink" onclick="openPage('Map', this, '#64a0db')">Occurrence Map</button>
</div>
<div id="Treatment" class="tabcontent">
<table>
<div class="text-block"> <br></br></div></div>
<div>
<p class="paragraph"> Strong water spray <a target="_blank" style="text-decoration:none;" href="https://www.homedepot.com/p/Precision-25-Gal-Spot-Sprayer-TCS25/203409310?cm_mmc=Shopping%7cTHD%7cgoogle%7c&mid=ssMAtlijq%7cdc_mtid_890338a25189_pcrid_242431289965_pkw__pmt__product_203409310_slid_&gclid=EAIaIQobChMIroDyneXi2gIVi4KzCh0Y_wYpEAQYAyABEgL34PD_BwE&dclid=CK6F26Ll4toCFQ-VyAod0DYDVw"> BUY</a></p>
<a target="_blank" style="text-decoration:none;" href="https://ag.umass.edu/greenhouse-floriculture/fact-sheets/sprayers-spray-application-techniques" class="paragraph-2"> Application Instructions </a>
</div>
<div>
<p class="paragraph-3"> Neem oil (organic pesticide)<a style="text-decoration:none;" target="_blank" href="https://www.amazon.com/dp/B0002N5DJS/ref=asc_df_B0002N5DJS5445333/?tag=hyprod-20&creative=394997&creativeASIN=B0002N5DJS&linkCode=df0&hvadid=198107334619&hvpos=1o1&hvnetw=g&hvrand=4006385575738682374&hvpone=&hvptwo=&hvqmt=&hvdev=c&hvdvcmdl=&hvlocint=&hvlocphy=9001999&hvtargid=pla-343191221714"> BUY</a></p>
</div>
<a target="_blank" style="text-decoration:none;" href="https://www.farmersweekly.co.za/farm-basics/how-to-crop/about-neem-oil/" class="paragraph-2"> Application Instructions </a>
</table>
</div>
<div id="Map" class="tabcontent">
<img src="./images/map.png" alt="Infestation Map" width="320" height="320">
<table>
<div>
<p class="paragraph"> Aphid Infestations at Nearby Farms: 2 </p>
</div>
</table>
</div>
<script>
function openPage(pageName,elmnt,color) {
var i, tabcontent, tablinks;
tabcontent = document.getElementsByClassName("tabcontent");
for (i = 0; i < tabcontent.length; i++) {
tabcontent[i].style.display = "none";
}
tablinks = document.getElementsByClassName("tablink");
for (i = 0; i < tablinks.length; i++) {
tablinks[i].style.backgroundColor = "";
}
document.getElementById(pageName).style.display = "block";
elmnt.style.backgroundColor = color;
}
// Get the element with id="defaultOpen" and click on it
document.getElementById("defaultOpen").click();
</script>
</body>
</html>