-
Notifications
You must be signed in to change notification settings - Fork 6
/
userData.html
48 lines (42 loc) · 1.37 KB
/
userData.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>User Data</title>
<link rel="stylesheet" href="css/main.css">
<script src="https://lib.sinaapp.com/js/jquery/2.0.2/jquery-2.0.2.min.js"></script>
<!-- <script src="sdk/btctool.js"></script> -->
<script src="sdk/pojo.js"></script>
<script src="sdk/obdapi.js"></script>
<script src="js/common.js"></script>
<script src="sdk/wallet.js"></script>
<script src="sdk/htlc.js"></script>
<script src="sdk/basic.js"></script>
<script src="sdk/util.js"></script>
</head>
<body>
<div id="container" style="width:device-width">
<!-- API invoked area, click left side menu to display. -->
<div id="content">
<!-- Dynamic create in 'common.js' -->
<div id="user_data_list"></div>
<div id="name_req_div"></div>
</div>
</div>
</body>
<script>
var data = JSON.parse(localStorage.getItem(kGoWhere));
// console.info('goWhere= '+ data.goWhere);
//
function sdkConnect2OBD() {
let nodeAddress = getNewestConnOBD();
connectToServer(nodeAddress, function(response) {
getUserDataList(data.goWhere);
}, function(globalResponse) {
});
}
sdkConnect2OBD();
openDBInNewHtml();
</script>
</html>