-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdashboard.htm
74 lines (64 loc) · 2.63 KB
/
dashboard.htm
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
71
72
73
74
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Dashboard</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="seven20 - public dashboard">
<meta name="author" content="epic720">
<link href="./css/jquery.pnotify.default.css" rel="stylesheet" type="text/css" />
<link href="./css/jquery.pnotify.default.icons.css" rel="stylesheet" type="text/css" />
<link href="./css/jquery.seven20.css" rel="stylesheet" type="text/css" />
<link href="./css/bootstrap.css" rel="stylesheet" type="text/css" />
<!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<!-- Le fav and touch icons -->
<link rel="shortcut icon" href="../assets/ico/favicon.ico">
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="../assets/ico/apple-touch-icon-144-precomposed.png">
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="../assets/ico/apple-touch-icon-114-precomposed.png">
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="../assets/ico/apple-touch-icon-72-precomposed.png">
<link rel="apple-touch-icon-precomposed" href="../assets/ico/apple-touch-icon-57-precomposed.png">
<style>
#remotestorage-state {
top: -2px !important;
}
.ui-pnotify-history-container {
right: 305px;
}
#public {
margin-top: 50px;
}
</style>
</head>
<body>
<div id="topnav">
</div>
<div class="container">
<div class="row-fluid">
<div id="public" class="span4"><h1>Public Data</h1></div>
</div>
</div>
<script src="./scripts/jquery-1.8.0.min.js"></script>
<script src="./scripts/bootstrap.js"></script>
<script src="./scripts/jquery.seven20.js"></script>
<script src="./scripts/bootstrap.helper.js"></script>
<script src="http://remotestoragejs.com/build/0.7.0-dp1/remoteStorage-debug.js"></script>
<script src="./scripts/root.js"></script>
<script>
$().ready(function(){
bootstrapNav('#topnav', 'Seven20', seven20NavLinks);
remoteStorage.displayWidget('widget');
remoteStorage.loadModule('public', 'r');
var publicItems = remoteStorage.public.getPublicItems();
for(var i in publicItems){
if(i != "@type") {
var data = remoteStorage.public.getObject(publicItems[i]);
$('#public').append('<div><h3>' + publicItems[i] + '</h3><span>' + JSON.stringify(data) + '</span></div>');
}
}
});
</script>
</body>
</html>