summaryrefslogtreecommitdiff
path: root/index.html
blob: 7a98e9e1e71fff07e5d4865becf51884160a1462 (plain)
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
<!DOCTYPE html>
<html>
<head>
    <meta name="viewport" content="width=device-width,user-scalable=no">
    <meta charset="utf-8"/>
    <meta name="description" content="Altimeter"/>
    <title>Altimeter</title>
    <link rel="stylesheet" href="lib/tau/wearable/theme/default/tau.css"/>
    <link rel="stylesheet" media="all and (-tizen-geometric-shape: circle)" href="lib/tau/wearable/theme/default/tau.circle.min.css">
    <link rel="stylesheet" type="text/css" href="./css/style.css"/>
</head>
<body>

    <div class="ui-page ui-page-active" id="main">
        <header class="ui-header">
            <h2 class="ui-title">Altimeter [m]</h2>
        </header>
        <div id="main-content" class="ui-content">
            <div id="altitude">
                <div id="altitude-frame">
                    <div id="altitude-value"></div>
                 </div>
            </div>
            <div id="pressure">
                <div id="reference">
                    <div id="reference-label">Reference [hPa]</div>
                    <div id="reference-value"></div>
                </div>
                <div id="current">
                    <div id="current-label">Current [hPa]</div>
                    <div id="current-value"></div>
                </div>
            </div>
        </div>
        <footer class="ui-footer ui-fixed">
            <a class="ui-btn" id="calibration-btn">Calibrate</a>
        </footer>
        <div id="popup-calibration" class="ui-popup">
            <div class="ui-popup-content" id="popup-calibration-message">
                App should be calibrated before use.
                <br>
                Do you want to do it now?
            </div>
            <div class="ui-popup-footer ui-grid-col-2">
                <button class="ui-btn ui-btn-footer-icon btn-apply" id="popup-calibration-yes">Yes</button>
                <button class="ui-btn ui-btn-footer-icon btn-erase" id="popup-calibration-no">No</button>
            </div>
        </div>
        <div id="alert" class="ui-popup">
            <div class="ui-popup-content" id="alert-message"></div>
            <div class="ui-popup-footer">
                <button class="ui-btn ui-btn-footer-icon btn-apply" id="alert-ok">OK</button>
            </div>
        </div>
    </div>

    <script src="./js/tau-config.js"></script>
    <script src="./lib/tau/wearable/js/tau.js"></script>
    <script src="./js/core/core.js" data-main="./js/app.js"></script>

</body>
</html>