-
Notifications
You must be signed in to change notification settings - Fork 8
/
index.html
50 lines (49 loc) · 1.97 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
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="theme-color" content="#0096FF">
<meta name="description" content="bubble: A viewer for immersive 360 images!">
<link href="css/style.css" rel="stylesheet">
<link rel="icon" href="i/bubbleicon.png">
<link rel="manifest" href="manifest.json">
<link rel="stylesheet" href="f/fonts.css">
<script src="js/bubble.js"></script>
<script src="js/e/aframe.min.js"></script>
<script src="js/e/peer.min.js"></script>
<script src="js/utils.js"></script>
<script src="swreg.js"></script>
<title>bubble : 360° image viewer for the web by @diekus</title>
</head>
<body>
<main>
<div id="virtualArea" class="fullArea">
<a-scene look-controls>
<a-assets>
<img src="i/around.jpg" id="texture">
</a-assets>
<a-sky src="#texture"></a-sky>
</a-scene>
</div>
<div id="fileSelector" class="fileSelector">
<input type="file" id="fileSelection" onchange="handleFiles(this.files)" style="display:none" accept="image/gif, image/jpeg, image/png" >
<img src="i/appHeader.svg" id="appLogo">
<p>360° image viewer</p>
<div class="mainMenuBtn" id="selectButton">
<a href="#">
<img src="i/iconSelectDevice.svg" class="btnIcon">
Select from device
</a>
</div>
<div class="mainMenuBtn" id="shareButton">
<a>
<img src="i/iconInstantShare.svg" id="shareButton" class="btnIcon">
<span id="shareBtnText">Instant Share</span>
</a>
</div>
<span><div id="peerId"></div></span>
<img src="i/btnEllipsis.svg" id="btnEllipsis">
</div>
</main>
</body>
</html>