2015-02-10 19:41:24 +00:00
|
|
|
<!doctype html>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<title>Cloud9 hub</title>
|
|
|
|
<link rel="stylesheet" type="text/css" href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" />
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<script>
|
|
|
|
var places = {
|
|
|
|
Cloud9: {
|
|
|
|
IDE: ["/ide.html", "?devel=1", "?reset=state", "?reset=settings", "?reset=1", "?noworker=1", "?packed=1", "?collab=0"],
|
|
|
|
VFS: "/vfs",
|
|
|
|
Preview: "/preview",
|
|
|
|
Test: "/static/test.html",
|
|
|
|
List_of_tests: "/static/test.html?",
|
|
|
|
testsuite: "/static/testsuite.html?"
|
|
|
|
},
|
|
|
|
Collab: {
|
|
|
|
main: "/static/plugins/c9.ide.collab/collab_test.html",
|
|
|
|
},
|
|
|
|
Ace: {
|
|
|
|
kitchen_sink: ["/static/lib/ace/kitchen-sink.html", "/../lib/ace/test/tests.html"],
|
|
|
|
tree: "/static/lib/ace_tree/demo.html",
|
2015-07-08 12:01:13 +00:00
|
|
|
list: "/static/lib/ace_tree/list_demo.html",
|
|
|
|
diff: "/static/plugins/c9.ide.scm/diff/index.html"
|
2015-02-10 19:41:24 +00:00
|
|
|
},
|
|
|
|
Treehugger: {
|
|
|
|
test: "/static/lib/treehugger/test.html"
|
|
|
|
},
|
|
|
|
Pivot: {
|
|
|
|
demo6: "/static/lib/pivottable/experiments/demo6.html"
|
|
|
|
},
|
|
|
|
};
|
|
|
|
|
|
|
|
var html = [];
|
|
|
|
for (var i in places) {
|
|
|
|
var group = places[i];
|
|
|
|
html.push("<div>", "<em>", i,"</em>", "<ul>");
|
|
|
|
for (var j in group) {
|
|
|
|
var path = group[j];
|
|
|
|
if (typeof path === "object") {
|
|
|
|
var subPaths = path.slice(1);
|
|
|
|
path = path[0];
|
|
|
|
}
|
|
|
|
html.push(
|
|
|
|
"<li>",
|
|
|
|
j, ": <a href='", path, "'>", path, "</a>"
|
|
|
|
);
|
|
|
|
if (subPaths) {
|
|
|
|
html.push(" (");
|
|
|
|
subPaths.forEach(function(x, i) {
|
|
|
|
html.push("<a href='", path, x, "'>", x, "</a>");
|
|
|
|
if (i != subPaths.length - 1)
|
|
|
|
html.push(", ");
|
|
|
|
});
|
|
|
|
html.push(")");
|
|
|
|
subPaths = null;
|
|
|
|
}
|
|
|
|
if (typeof path === "object") {
|
|
|
|
path = group[j];
|
|
|
|
}
|
|
|
|
html.push(
|
|
|
|
"</li>"
|
|
|
|
);
|
|
|
|
}
|
|
|
|
html.push("</ul><div>");
|
|
|
|
}
|
|
|
|
document.body.innerHTML = html.join("");
|
|
|
|
</script>
|
|
|
|
</body>
|
|
|
|
</html>
|