-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
64 lines (59 loc) · 2 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
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="utf-8">
<meta name="viewport" content="initial-scale=1.0">
<title>Recompose Baby Sensor</title>
<style>
header {
margin-bottom: 5px;
}
</style>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">
<script src="https://code.jquery.com/jquery-2.1.4.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
<script type="text/javascript" src="js/common.js"></script>
</head>
<body>
<div class="container theme-showcase">
<script>
writeNavbar();
$("#index").attr('class', 'active');
setInterval(
function(){$.ajax({
url: 'http://crossroads.thefanzhang.com/check',
type: 'get',
}).done(function(data) {
console.log(data);
if(data === "Baby is crying!"){
/*$("#stop_button").css(
"visibility", "visible"
);*/
document.location = "./babywatching.html";
}
});
}, 1000);
</script>
<!-- Main jumbotron for a primary marketing message or call to action -->
<div class="jumbotron">
<h2>Recompose Baby Sensor</h2>
</div>
<div class="row">
<div class="col-md-6">
<h3>概要</h3>
<p>眠りについた赤ちゃんを1人にするのは心配ですよね?</p>
<p>Recompose Baby Sensorなら赤ちゃんが泣いたときの通知や音楽を鳴らすことで家事などのちょっとした作業時間を作ることが出来ます。</p>
<p>また、Raspberry Piを用いることで高い拡張性を保ちつつ安価で実現します。</p>
</div>
<div class="col-md-6">
<h3>基本機能</h3>
<ul>
<li>泣き声の通知</li>
<li>写真のアップロード・共有</li>
<li>任意の音楽を再生</li>
</ul>
</div>
</div>
</div>
</body>
</html>