-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoutcome_fowl_pox.html
68 lines (59 loc) · 2.89 KB
/
outcome_fowl_pox.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
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>GETTING STARTED WITH BRACKETS</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="outcome_newcastle_disease.css">
<script src="responsivevoice.js"></script>
<script src="jquery.min.js"></script>
</head>
<body>
<h2>Outcome: Fowl Pox</h2>
<p>It seems that your bird has a form of Fowl Pox. No treatment is available unfortuantely, however, fowl pox is relatively slow-spreading. Thus, it is possible to vaccinate to stop an outbreak. Please click on one of the images below to contact a suitable veterinarian about vaccinations and to help them keep track of this disease.</p>
<textarea id="text">It seems that your guinea fowl has a form of Fowl Pox. No treatment is available unfortuantely, however, fowl pox is relatively slow-spreading. Thus, it is possible to vaccinate to stop an outbreak. Please click on one of the images below to contact a suitable veterinarian about vaccinations and to help them keep track of this disease..</textarea>
<select id="voiceselection"></select>
<input
onclick="responsiveVoice.speak($('#text').val(),$('#voiceselection').val());"
type="button"
class="button"
/>
<script>
//Populate voice selection dropdown
var voicelist = responsiveVoice.getVoices();
var vselect = $("#voiceselection");
$.each(voicelist, function() {
vselect.append($("<option />").val(this.name).text(this.name));
});
function sendsms(num) {
$.ajax({
url: "http://localhost:80/manager?action=login&username=admin&secret=admin"
}).done(function() {
var sms_text = "dongle sms dongle0"
sms_text = sms_text + " " + num
sms_text = sms_text + " " + document.location
console.log(sms_text)
$.ajax({
url: "http://localhost:80/rawman?action=command&command=" + encodeURIComponent(sms_text)
}).done(function(data) {
console.log('Youpi!\n' + data)
});
});
}
</script>
<div class="fit_screen">
<div class="square img_1-1">
<a class="click" href="javascript:sendsms(+31614576494);" title="call" id="img_1-1"></a>
</div>
<div class="square img_1-2">
<a class="click" href="javascript:sendsms(+31614576494);" title="call" id="img_1-2"></a>
</div>
</div>
<div class="photo_text_1">
<p>Veterinarian dr.Kwadwo Nkrumah</p>
</div>
<div class="photo_text_2">
<p>Veterinarian dr.Ebo Annan</p>
</div>
</body>
</html>