forked from kaosat-dev/CoffeeSCad
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
66 lines (55 loc) · 2.37 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="description" content="CoffeeSCad web based parametric CAD tool">
<meta name="keywords" content="CAD,Webgl,CoffeeSCad">
<meta name="author" content="Mark Moissette">
<script src="app/disable_require.js"></script>
<script data-main="app/config" src="assets/js/libs/require.min.js"></script>
<!--<script data-main="build/main.min.js" src="assets/js/libs/require.min.js"></script>-->
<!--<script src="build/main.min.js"></script>-->
<!--<link id="mainTheme" rel="stylesheet" href="assets/css/themes/default/bootstrap.css">-->
<script src="assets/js/libs/ace/ace.js"></script>
<link rel="stylesheet" href="assets/css/font-awesome.css">
<link rel="stylesheet" href="assets/css/codemirror.css">
<link rel="stylesheet" href="assets/css/backbone.forms.default.css">
<link rel="stylesheet" href="assets/css/backbone.forms.bootstrap.css">
<link rel="stylesheet" href="assets/css/ui-lightness/jquery-ui-1.10.1.custom.min.css">
<link id="mainTheme" rel="stylesheet" href="assets/css/style/coffeescad/bootstrap.css">
<link rel="stylesheet" href="assets/css/colorpicker.css">
<title>CoffeeScad</title>
<link rel="shortcut icon" href="favicon.ico" />
</head>
<body>
<div id="header" class="unselectable"> </div>
<div class="container-fluid fullHeight fullWidth box-wrap-inner" id="mainContent" >
<div id="_dockZoneWest" class="dockZone dockZoneWest"></div>
<div id="visual" class="unselectable"></div>
<div id="_dockZoneEast" class="dockZone dockZoneEast"></div>
<!--
<div id="_dockZoneNorth" class="dockZone dockZoneNorth"></div>
<div id="_dockZoneSouth" class="dockZone dockZoneSouth"></div>-->
<div id="initialLoader" class="initalLoaderOverlay">
<h3>Loading CoffeeSCad, please wait...</h3> <img src="assets/img/logo.png"/>
</div>
</div>
<!--experimental, only used in node-webkit (desktop app) variant-->
<script>
if (typeof process === 'undefined')
{
var http = nodeRequire('http');
http.createServer(function (req, res) {
res.writeHead(200, {'Content-Type': 'text/plain'});
res.end('hello');
}).listen(10086);
var io = require('socket.io').listen(80);
io.sockets.on('connection', function (socket) {
socket.emit('news', { hello: 'world' });
socket.on('my other event', function (data) {
console.log(data);
});
});
}
</script>
</body>
</html>