This repository has been archived by the owner on Jun 24, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
52 lines (48 loc) · 1.92 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
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width,user-scalable=no">
<title>Basic</title>
<link rel="stylesheet" href="lib/tau/wearable/theme/default/tau.min.css">
<link rel="stylesheet" media="all and (-tizen-geometric-shape: circle)" href="lib/tau/wearable/theme/default/tau.circle.min.css">
<!-- load theme file for your application -->
<link rel="stylesheet" href="css/style.css">
<style>
.heart-rate {
text-align: center;
font-size: 1.7em;
}
</style>
</head>
<body>
<div class="ui-page ui-page-active" id="main">
<header class="ui-header">
<h2 class="ui-title">HeartRate</h2>
</header>
<div class="ui-content ui-content-padding">
<p class="heart-rate" id="heart-rate">87</p>
</div>
<footer class="ui-footer ui-bottom-button">
<a href="#settings-popup" data-rel="popup" class="ui-btn">Settings</a>
</footer>
</div>
<div id="settings-popup" class="ui-popup">
<div class="ui-popup-content">
<label for="websocket-host" class="ui-popup-input-label">WebSocket Host</label>
<input type="url" id="websocket-host" style="width: 100%;" value="wss://isalive.alex4386.me/gear/alex4386"/>
<br><br>
<label for="websocket-update" class="ui-popup-checkbox-label">Enable Websocket</label><br>
<input type="checkbox" id="enable-websocket"/>
</div>
<div class="ui-popup-footer ui-side-button ui-grid-col-2">
<a id="cancel-popup-btn" href="#" class="ui-btn btn-icon-cancel" data-rel="back">Cancel</a>
<a id="ok-popup-btn" href="#" class="ui-btn btn-icon-check" data-rel="back">OK</a>
</div>
</div>
<script src="lib/tau/wearable/js/tau.min.js"></script>
<script src="js/app.js"></script>
<script src="js/lowBatteryCheck.js"></script>
<script src="js/circle-helper.js"></script>
<script src="js/heartRate/heartRate.js"></script>
</body>
</html>