-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
181 lines (168 loc) · 7.56 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>WISEBED - Wireless Sensor Network Testbeds</title>
<!-- Bootstrap -->
<link href="css/bootstrap.min.css" rel="stylesheet">
<link rel="shortcut icon" type="image/png" href="img/favicon.png"/>
<style>
body {
padding-top: 70px;
color: #555555;
}
pre {
font-size: 9pt;
}
.img-bordered {
border: 1px solid #ccc;
}
</style>
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<div id="wisebed_nav">
<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
<div class="container">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse"
data-target="#bs-example-navbar-collapse-1">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="#home" onclick="navigate('home')"><img src="img/wisebed-logo-dots-30x30.png" width="30" height="30"/></a>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav">
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Testbeds<span
class="caret"></span></a>
<ul class="dropdown-menu" role="menu">
<li><a href="#testbeds_uzl">University of Lübeck (UZL)</a></li>
<li><a href="#testbeds_fub">Freie Universität Berlin (FUB)</a></li>
<li><a href="#testbeds_tubs">Braunschweig Institute of Technology (TUBS)</a></li>
<li><a href="#testbeds_cti">Research Academic Computer Technology Institute (CTI)</a></li>
<li><a href="#testbeds_upc">Universitat Politecnica de Catalunya (UPC)</a></li>
<li><a href="#testbeds_ubern">Universität Bern (UBERN)</a></li>
<li><a href="#testbeds_unige">University of Geneva (UNIGE)</a></li>
<li><a href="#testbeds_tud">Delft University of Technology (TUD)</a></li>
<li><a href="#testbeds_ulanc">Lancaster University (ULANC)</a></li>
<li class="divider"></li>
<li><a href="#testbeds_yourown">Run your own Testbed</a></li>
</ul>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Tools & Docs<span
class="caret"></span></a>
<ul class="dropdown-menu" role="menu">
<li><a href="#tools_desktop">Desktop Clients</a></li>
<li><a href="#tools_web">Web Clients</a></li>
<li class="divider"></li>
<li><a href="#tutorials">Tutorials</a></li>
<li class="divider"></li>
<li><a href="#docs_soap">SOAP API</a></li>
<li><a href="#docs_rest">REST API</a></li>
<li class="divider"></li>
<li><a href="#tools_tr">Testbed Runtime</a></li>
</ul>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Application Development<span
class="caret"></span></a>
<ul class="dropdown-menu" role="menu">
<li><a href="#appdev_wiselib">Wiselib</a></li>
<li><a href="#appdev_lorien">Lorien OS</a></li>
<li><a href="#appdev_shawn">Shawn Simulator</a></li>
<li><a href="#appdev_vm">Virtual Machine</a></li>
</ul>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">About WISEBED<span
class="caret"></span></a>
<ul class="dropdown-menu" role="menu">
<li><a href="#about_desc">Description & Goals</a></li>
<li><a href="#about_publications">Publications</a></li>
<li><a href="#about_partners">Partners</a></li>
<li><a href="#about_deliverables">Deliverables</a></li>
<li><a href="#about_techreports">Technical Reports</a></li>
</ul>
</li>
</ul>
</div>
<!-- /.navbar-collapse -->
</div>
</nav>
</div>
<div id="wisebed_content"></div>
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="js/jquery-2.1.1.min.js"></script>
<script src="js/jquery.loadTemplate-1.4.4.min.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="js/bootstrap.min.js"></script>
<script>
function navigate(destination) {
$("#wisebed_nav").find('li.dropdown').toggleClass('active', false);
$("#wisebed_nav")
.find("ul.dropdown-menu li a[href=#" + destination + "]")
.closest('li.dropdown')
.toggleClass('active', true);
var template;
if (destination == '') {
template = 'home';
} else if (templates.indexOf(destination) > -1) {
template = destination;
} else {
template = "unknown";
}
$("#wisebed_content").empty();
$("#wisebed_content").loadTemplate(template + ".tmpl.html", {});
}
var templates = [
"home",
"testbeds_uzl",
"testbeds_fub",
"testbeds_tubs",
"testbeds_cti",
"testbeds_upc",
"testbeds_ubern",
"testbeds_unige",
"testbeds_tud",
"testbeds_ulanc",
"testbeds_yourown",
"tools_web",
"tools_desktop",
"tutorials",
"docs_soap",
"docs_rest",
"tools_tr",
"appdev_wiselib",
"appdev_lorien",
"appdev_shawn",
"appdev_vm",
"about_desc",
"about_publications",
"about_partners",
"about_deliverables",
"about_techreports",
"unknown"
];
$(function() {
navigate(window.location.hash.substr(1));
});
window.onhashchange = function() {
navigate(window.location.hash.substr(1));
};
</script>
</body>
</html>