forked from c9/cloud9
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathide.tmpl.html
More file actions
191 lines (171 loc) · 8.39 KB
/
Copy pathide.tmpl.html
File metadata and controls
191 lines (171 loc) · 8.39 KB
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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
<!DOCTYPE html>
<html [%offlineManifest%] xmlns="http://www.w3.org/1999/xhtml" xmlns:a="http://ajax.org/2005/aml" >
<head profile="http://www.w3.org/2005/10/profile">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<title>Cloud9 - Your code, anywhere anytime.</title>
<meta name="description" content=""/>
<meta name="keywords" content=""/>
<link rel="icon" type="image/gif" href="[%staticUrl%]/favicon.ico" />
<link rel="stylesheet" type="text/css" href="[%staticUrl%]/style/style.css" />
<script type="text/javascript" src="/socket.io/socket.io.js"></script>
<script type="text/javascript" src="/static/require.js"></script>
[%scripts%]
<script type="text/javascript">
//<![CDATA[
window.cloud9config = {
davPrefix: <%davPrefix%>,
workspaceDir: <%workspaceDir%>,
debug: <%debug%>,
sessionId: <%sessionId%>,
workspaceId: <%workspaceId%>,
name: <%name%>,
readonly: <%readonly%>,
projectName: <%projectName%>,
version: <%version%>
};
// prevent console messages crash our app!
if (typeof window["console"] == "undefined") {
var K = function() {};
window.console = {log:K,debug:K,dir:K,trace:K,error:K,warn:K,profileStart:K,profileEnd:K};
}
var RELEASE = "release";
var DEBUG = "debug";
var FILES = "files";
var VERSION = window.cloud9config.debug ? FILES : RELEASE;
var apfLoc = VERSION == FILES
? "[%staticUrl%]/support/apf/apf.js"
: "[%staticUrl%]/js/apf_" + VERSION + ".js";
var config = <%requirejsConfig%>;
require(config, [apfLoc], function(){
apf.onstart = function(){
var list = ["core/ide", "core/ext", "core/util"];
if (VERSION == RELEASE)
list.push("ace/editor")
require(list, function(ide, ext, util){
ide.settings = <%settingsXml%>;
var plugins = <%plugins%>;
apf.addEventListener("load", function(){
//Load extensions
require(plugins, function(){
ide.dispatchEvent("extload", {modules: plugins});
ide.addEventListener("$event.extload", function(cb){
cb();
});
});
});
});
}
if (apf.started)
apf.onstart();
});
//]]>
</script>
</head>
<body>
<div id="noscript">
<div class="noscript">
<div id="hp_header">
<div id="logo"></div>
</div>
<div class="oldbro_middle_panel">
<div class="content">
<p>Your browser is not supported by ajax.org. Please upgrade your browser to one of these modern browsers.</p>
<span class="browser_option">
<a href="http://www.mozilla.com/firefox" target="_blank">
<img src="[%staticUrl%]/style/images/browsers/ff_32x32.png" alt="" />
<div>Mozilla Firefox</div>
</a>
</span>
<span class="browser_option" style="width:50px;">
<a href="http://www.apple.com/safari" target="_blank">
<img src="[%staticUrl%]/style/images/browsers/safari_32x32.png" alt="" />
<div>Safari</div>
</a>
</span>
<span class="browser_option">
<a href="http://www.google.com/chrome" target="_blank">
<img src="[%staticUrl%]/style/images/browsers/chrome_32x32.png" alt="" />
<div>Google Chrome</div>
</a>
</span>
<span class="browser_option">
<a href="http://www.microsoft.com/windows/internet-explorer" target="_blank">
<img src="[%staticUrl%]/style/images/browsers/ie_32x32.png" alt="" />
<div>Internet Explorer</div>
</a>
</span>
</div>
</div>
<div class="wn_main_section_rounded">
<div class="wnmsr_left"></div>
<div class="wnmsr_middle"></div>
<div class="wnmsr_right"></div>
</div>
</div>
</div>
<a:skin
src = "/static/style/skins.xml"
media-path = "[%staticUrl%]/style/images/"
icon-path = "[%staticUrl%]/style/icons/" />
<a:appsettings name="ide" debug="false"
disable-space = "true"
auto-hide-loading = "true"
allow-select = "false"
allow-blur = "true"
initdelay = "false"
storage = "cookie"
baseurl = "{apf.host ? apf.host : ''}" />
<!-- default model -->
<a:model />
<a:loader id="loader">
<div id="loadscreen" class="loader">
<div>Loading...</div>
</div>
</a:loader>
<a:state id="stServerConnected" active="false" />
<a:state id="stProcessRunning" active="false" />
<a:include src="/static/include/models.xml" />
<a:include src="/static/include/menus.xml" />
<a:include src="/static/include/windows.xml" />
<a:vbox anchors="0 0 0 0" id="vbMain">
<a:bar skin="c9-menu-bar" id="logobar">
<a:hbox>
<a:hbox id="barMenu" edge="9 5 0 5" padding="3" align="center">
<a:button skin="c9-menu-btn" submenu="mnuFile" margin="1 0 0 0">File</a:button>
<a:button skin="c9-menu-btn" submenu="mnuEdit" margin="1 0 0 0">Edit</a:button>
<a:button skin="c9-menu-btn" submenu="mnuView" margin="1 0 0 0">View</a:button>
</a:hbox>
<a:hbox id="barTools" edge="8 0 0 0" padding="3" align="center">
<a:divider skin="c9-divider-double" />
</a:hbox>
</a:hbox>
</a:bar>
<a:vbox id="mainRow" padding="0" flex="1" splitters="true">
<a:hbox id="hboxMain" padding="0" edge="0" flex="1">
<a:vbox id="navbar" class="black-menu-bar unselectable">
<a:filler />
<a:bar skin="basic">
<div class="c9menulogo">
<span></span>
</div>
<div id="c9version" class="c9version">Version [%version%]</div>
</a:bar>
</a:vbox>
<a:vbox id="colLeft" padding="3" width="200" />
<a:splitter width="0" id="splitterPanelLeft" />
<a:vbox id="colMiddle" flex="1" padding="3" />
<a:bar id="dockPanelRight" skin="debug-panel">
<a:button skin="dockheader" onclick="require('ext/dockpanel/dockpanel').expand()" />
</a:bar>
<a:splitter width="0" id="splitterPanelRight" visible="false" />
<a:vbox id="colRight" padding="3" width="260" visible="false" splitters="true">
<a:button skin="dockheader" class="expanded" nosplitter="true" height="11" margin="0 0 -3 0" onclick="require('ext/dockpanel/dockpanel').collapse()" />
</a:vbox>
</a:hbox>
</a:vbox>
<a:statusbar id="sbMain" visible="false">
<a:section />
</a:statusbar>
</a:vbox>
</body>
</html>