forked from EFFALO/domekit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
domekit.erb
54 lines (51 loc) · 1.14 KB
/
domekit.erb
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
<html>
<head>
<title>
DOMEKIT
</title>
<script src='demo.js?<%= query_string %>'></script>
<style>
.goog-slider-horizontal {
background-color: blue;
position: relative;
overflow: hidden;
width: 10em;
height: 1em;
}
.goog-slider-thumb {
position: absolute;
background-color: black;
overflow: hidden;
}
.goog-slider-horizontal .goog-slider-thumb {
top: 0;
width: 20px;
height: 100px;
}
#s-h {
margin-bottom: 2em;
}
</style>
</head>
<body>
<div id='canvas-title'>
DOMEKIT DRAWING SURFACE ENVISIONED
</div>
<div id='canvas-goes-here'>
</div>
<div id="dome-sphere-controls">
<div id="choose-a-dome" style="background-color: #aaa; width: 3em; height: 3em;">Dome</div>
<div id="choose-a-sphere" style="background-color: #aaa; width: 3em; height: 3em;">Sphere</div>
</div>
Rotate:
<div id="slider-goes-here">
</div>
<div id="slider-value">
</div>
<script>
window.onload = function() {
var demo = new domekit.Demo();
};
</script>
</body>
</html>