forked from opensourceBIM/BIMsurfer-before2019
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
39 lines (34 loc) · 1.03 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
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>BIMsurfer V2 - Demo index</title>
<script type="module">
import BimServerClient from './bimserver/bimserverclient.js';
var api = new BimServerClient("http://localhost:8082/");
api.init((client, version) => {
console.log(version.version);
});
window.BimServerClient = api;
</script>
<script src="bimsurfer/list_projects.js"></script>
</head>
<body>
<h1>BIMservers</h1>
<div id="expserver"></div>
<div id="localhost8080"></div>
<div id="localhost8082"></div>
<div id="lindsay"></div>
<h3>Other BIMserver</h3>
<a id="loadFromOtherBimServer" style="cursor: pointer">Load from other server</a>
<div id="other" style="display: none">
<input id="address" />
<input id="username" />
<input id="password" type="password" />
<button id="loadProjectsBtn">Load projects</button>
<div id="otherProjects"></div>
</div>
<h1>glTF</h1>
<a href="examples/gltf.html">glTF</a>
</body>
</html>