forked from wlach/meditation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
70 lines (67 loc) · 2.68 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
<!DOCTYPE html>
<html manifest="meditation.appcache" lang="en">
<head>
<meta charset="utf-8">
<title>Meditation Bell</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link href="css/style.css" rel="stylesheet">
<link href="img/bell-32.png" rel="shortcut icon">
<style type="text/css">
</style>
</head>
<body>
<div class="background">
<audio id="bell" src="sounds/bell.mp3" preload="auto"></audio>
<div id="content">
</div>
</div>
<script id="meditationDialog" type="text/html">
<div id="meditation-dialog" style="display: none;">
<div class="meditation-timer">
<p id="meditation-text">
</p>
<div id="time-options">
</div>
<div id="transition-options">
</div>
<div id="start-button" class="full-btn">Begin</div>
</div>
<div id="about-link">
<a href="#">About</a>
</div>
</div>
</script>
<script id="aboutDialog" type="text/html">
<div id="about-dialog" style="display: none;">
<p>Written by <a href="http://wrla.ch" target="_blank">William Lachance</a> in the hopes that others will find it helpful. Source code freely <a href="http://github.com/wlach/meditation" target="_blank">available</a> under the MIT license.</p>
<p>Bell sound from "Kerri" at <a href="http://www.freesound.org/people/kerri/sounds/27421/" target="_blank">freesound</a>.</p>
<p>Some design inspiration taken from <a href="http://helloform.com/projects/mind/" target="_blank">Mind application for iOS</a>.</p>
<div id="return-button" class="full-btn" style="margin-top:40px;">Return</div>
</div>
</script>
<script id="timeOptionButtons" type="text/html">
{{#timeIntervals}}
<div id="time-button-{{value}}" class="time-selector-btn">{{value}}</div>
{{/timeIntervals}}
</script>
<script id="transitionOptionButtons" type="text/html">
{{#nbOfTransitions}}
<div id="nb-of-transitions-button-{{value}}" class="transitions-selector-btn">{{value}}</div>
{{/nbOfTransitions}}
</script>
<script id="meditationText" type="text/html">
<span id="meditation-text-duration"></span>
<br>
<span id="meditation-text-transitions"></span>
</script>
<script id="meditationTextDuration" type="text/html">
{{duration}} minute meditation
</script>
<script id="meditationTextTransitions" type="text/html">
{{nbOfTransitions}} transition{{plural}}
</script>
<script src="js/jquery-2.1.1.min.js"></script>
<script src="js/ICanHaz.min.js"></script>
<script src="js/index.js"></script>
</body>
</html>