-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
35 lines (33 loc) · 1.13 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
<meta name="description" content="Tizen Wearable Web Widget template generated by Samsung Wearable Web IDE"/>
<title>Tizen Wearable Web IDE - Tizen Wearable - Tizen Wearable Web Widget Application</title>
<style>
* {font-family: Verdana, Lucida Sans, Arial, Helvetica, sans-serif;}
body {margin: 20px 20px; background-color:#222;}
.contents {display: flex; display: -webkit-flex; box-sizing: border-box; -webkit-box-sizing: border-box; height:320px;}
.content_text {font-weight:bold; font-size:2em; color:#fff;}
</style>
<script>
window.onload = function () {
document.addEventListener('tizenhwkey', function(e) {
if(e.keyName === "back") {
try {
tizen.application.getCurrentApplication().exit();
} catch (ignore) {
}
}
});}
</script>
</head>
<body>
<div class=contents>
<div style='margin:auto;'>
<span class=content_text id=textbox>A widget is required to display BG. Add one to the home screen.</span>
</div>
</div>
</body>
</html>