-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathindex.html
executable file
·78 lines (75 loc) · 3.4 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
67
68
69
70
71
72
73
74
75
76
77
78
<!DOCTYPE html>
<html manifest="cloudedit.appcache">
<!--<html>-->
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1, user-scalable=no" />
<title>CloudEdit: HTML Live Editor</title>
<link href="css/cloudEdit.min.css" rel="stylesheet">
<link href="css/contextMenu.min.css" rel="stylesheet">
</head>
<body>
<section>
<div class="row btnGroup">
<div class="column-33 toggleGroup">
<button class="btn togglePane" id="htmlToggle" data-editor="html" title="Toggle HTML">HTML</button>
<button class="btn togglePane" id="cssToggle" data-editor="css" title="Toggle CSS">CSS</button>
<button class="btn togglePane" id="jsToggle" data-editor="js" title="Toggle JS">JavaScript</button>
<button class="btn" id="consoleToggle" title="Toggle JavaScript Console">Console</button>
<button class="btn btn-active" id="liveEdit" title="Toggle Live Edit Mode">LiveEdit</button>
</div><!--
--><div class="column-33">
<h1>CloudEdit: HTML Live Editor</h1>
</div><!--
--><div class="column-33 btnGroup last">
<button class="btn" id="previewToggle" title="Enlarge Preview">Preview</button>
<button class="btn" id="clear" title="Click to clear all panes">Clear</button>
<button class="btn" id="download" title="Download to computer">Download</button>
<button class="btn" id="save" title="Save to localStorage">Save</button>
<button class="btn" id="load" title="Load from localStorage">Load</button>
<button class="btn" id="run" title="Run...">Run</button>
</div>
</div>
<div class="row windowGroup">
<div class="column-33">
<div class="window html">
<pre id="html"></pre>
<span class="windowLabel" id="htmlLabel">HTML</span>
</div>
</div><!--
--><div class="column-33">
<div class="window css">
<pre id="css"></pre>
<span class="windowLabel" id="cssLabel">CSS</span>
</div>
</div><!--
--><div class="column-33">
<div class="window js">
<pre id="js"></pre>
<span class="windowLabel" id="jsLabel">JavaScript/jQuery 1.x</span>
</div>
</div>
</div>
<div class="row console">
<pre id="console"></pre>
<span class="windowLabel" id="consoleLabel">Console</span>
</div>
<div class="row preview">
<iframe id="iframe" name="CloudEdit"
sandbox="allow-scripts allow-pointer-lock allow-same-origin allow-popups allow-forms"
allowtransparency="true">
</iframe>
<span class="windowLabel" id="iframeLabel">Preview</span>
<span id="iframeClose">x</span>
</div>
</section>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
<script src="js/ace/ace.js" type="text/javascript" charset="utf-8"></script>
<script src="js/ace/ext-emmet.js" type="text/javascript" charset="utf-8"></script>
<script src="js/ace/emmet.js" type="text/javascript" charset="utf-8"></script>
<script src="js/jquery.ui.position.min.js" type="text/javascript" charset="utf-8"></script>
<script src="js/contextMenu.min.js" type="text/javascript" charset="utf-8"></script>
<script src="js/jqconsole.min.js" type="text/javascript" charset="utf-8"></script>
<script src="js/cloudEdit.min.js" type="text/javascript" charset="utf-8"></script>
</body>
</html>