forked from eXist-db/eXide
-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
444 lines (441 loc) · 22.7 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
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
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
<?xml version="1.0" encoding="UTF-8"?>
<html>
<head>
<title>eXide</title>
<meta charset="utf-8"/>
<link rel="stylesheet" type="text/css" href="libs/scripts/jquery/css/smoothness/jquery.ui.all.css"/>
<link rel="stylesheet" type="text/css" href="libs/scripts/jquery/skin/ui.dynatree.css"/>
<link rel="stylesheet" type="text/css" href="libs/scripts/jquery/css/jquery.pnotify.default.css"/>
<link rel="stylesheet" type="text/css" href="resources/scripts/jquery/jquery.layout-latest.css"/>
<link rel="stylesheet" type="text/css" href="resources/scripts/jquery/slick.grid.css"/>
<link rel="stylesheet" type="text/css" href="resources/css/eXide.css"/>
<script type="text/javascript" src="libs/scripts/jquery/jquery-1.7.1.min.js"/>
<script type="text/javascript" src="libs/scripts/jquery/jquery-ui-1.8.custom.min.js"/>
<script type="text/javascript" src="libs/scripts/jquery/jquery.dynatree-1.1.1.min.js"/>
<script type="text/javascript" src="libs/scripts/jquery/jquery.pnotify.min.js"/>
<script type="text/javascript" src="libs/scripts/jquery/jquery-utils.js"/>
<!-- The following javascript libraries are compressed into jquery.plugins.min.js -->
<!-- script type="text/javascript" src="scripts/jquery/jquery.layout-1.3.0.rc29.15.js"></script>
<script type="text/javascript" src="scripts/jquery/jquery.event.drag-2.0.js"></script>
<script type="text/javascript" src="scripts/jquery/jquery.fileupload.js"></script>
<script type="text/javascript" src="scripts/jquery/jquery.fileupload-ui.js"></script>
<script type="text/javascript" src="scripts/jquery/slick.core.js"></script>
<script type="text/javascript" src="scripts/jquery/slick.rowselectionmodel.js"></script>
<script type="text/javascript" src="scripts/jquery/slick.grid.js"></script-->
<!-- Compressed version of above scripts -->
<script type="text/javascript" src="resources/scripts/jquery/jquery.plugins.min.js"/>
<script type="text/javascript" src="resources/scripts/less-1.3.0.min.js"/>
<script src="resources/scripts/ace/ace.js" type="text/javascript" charset="utf-8"/>
<script src="resources/scripts/ace/theme-eclipse.js" type="text/javascript" charset="utf-8"/>
<script src="resources/scripts/ace/mode-javascript.js" type="text/javascript" charset="utf-8"/>
<script src="resources/scripts/ace/mode-xml.js" type="text/javascript" charset="utf-8"/>
<script src="resources/scripts/ace/mode-html.js" type="text/javascript" charset="utf-8"/>
<script src="resources/scripts/ace/mode-css.js" type="text/javascript" charset="utf-8"/>
<script src="resources/scripts/ace/mode-less.js" type="text/javascript" charset="utf-8"/>
<!-- Uncompressed Javascript files. Uncomment for development/debugging. -->
<script type="text/javascript" src="src/ace-modes.js"/>
<script type="text/javascript" src="src/util.js"/>
<script type="text/javascript" src="src/events.js"/>
<script type="text/javascript" src="src/commands.js"/>
<script type="text/javascript" src="src/mode-helper.js"/>
<script type="text/javascript" src="src/xquery-helper.js"/>
<script type="text/javascript" src="src/xml-helper.js"/>
<script type="text/javascript" src="src/less-helper.js"/>
<script type="text/javascript" src="src/javascript-helper.js"/>
<script type="text/javascript" src="src/css-helper.js"/>
<script type="text/javascript" src="src/outline.js"/>
<script type="text/javascript" src="src/editor.js"/>
<script type="text/javascript" src="src/deployment.js"/>
<script type="text/javascript" src="src/menu.js"/>
<script type="text/javascript" src="src/help.js"/>
<script type="text/javascript" src="src/preferences.js"/>
<script type="text/javascript" src="src/eXide.js"/>
<script type="text/javascript" src="src/templates.js"/>
<script type="text/javascript" src="src/resources.js"/>
<script type="text/javascript" src="src/find.js"/>
<script type="text/javascript" src="src/xquery-debuger.js"/>
<<<<<<< HEAD
<<<<<<< HEAD
<!-- Compressed version -->
<!--<script type="text/javascript" src="resources/scripts/eXide-1.0.min.js"/>-->
=======
=======
>>>>>>> refs/remotes/wolfs/master
<!-- Compressed version -->
<script type="text/javascript" src="resources/scripts/eXide-1.0.min.js"/>
>>>>>>> refs/remotes/wolfs/master
</head>
<body>
<div class="ui-layout-north">
<!-- <div id="header">-->
<!-- </div>-->
<div class="editor-header">
<div class="menu">
<ul>
<li>
<a href="#">File</a>
<ul>
<li>
<a href="#" id="menu-file-new">New</a>
</li>
<li>
<a href="#" id="menu-file-new-xquery">New XQuery</a>
</li>
<li>
<a href="#" id="menu-file-open">Open</a>
</li>
<li>
<a href="#" id="menu-file-reload">Reload</a>
</li>
<li>
<a href="#" id="menu-file-save">Save</a>
</li>
<li>
<a href="#" id="menu-file-save-as">Save As</a>
</li>
<li>
<a href="#" id="menu-file-download">Download</a>
</li>
<li>
<a href="#" id="menu-file-manager">Manage</a>
</li>
</ul>
</li>
<li>
<a href="#">Edit</a>
<ul>
<li>
<a href="#" id="menu-edit-undo">Undo</a>
</li>
<li>
<a href="#" id="menu-edit-redo">Redo</a>
</li>
<li>
<a href="#" id="menu-edit-find">Find in buffer</a>
</li>
<li>
<a href="#" id="menu-edit-toggle-comment">Toggle comment</a>
</li>
<li>
<a href="#" id="menu-edit-preferences">Preferences</a>
</li>
</ul>
</li>
<li>
<a href="#">Navigate</a>
<ul>
<li>
<a href="#" id="menu-navigate-definition">Go to definition</a>
</li>
<li>
<a href="#" id="menu-navigate-modules">Go to/import module</a>
</li>
<li>
<a href="#" id="menu-navigate-info">Function doc</a>
</li>
</ul>
</li>
<li title="buffers">
<a href="#">Buffers</a>
<ul>
</ul>
</li>
<li>
<a href="#">Application</a>
<ul>
<li>
<a href="#" id="menu-deploy-new">New application</a>
</li>
<li>
<span class="separator">App: <span id="menu-deploy-active">unknown</span>
</span>
</li>
<li>
<a href="#" id="menu-deploy-edit">Edit descriptors</a>
</li>
<li>
<a href="#" id="menu-deploy-run">Run app source</a>
</li>
<li>
<a href="#" id="menu-deploy-deploy">Deploy</a>
</li>
<li>
<a href="#" id="menu-deploy-download">Download app</a>
</li>
<li>
<a href="#" id="menu-deploy-sync">Synchronize</a>
</li>
</ul>
</li>
<li>
<a href="#">Help</a>
<ul>
<li>
<a href="#" id="menu-help-hints">Hints</a>
</li>
<li>
<a href="#" id="menu-help-keyboard">Keyboard shortcuts</a>
</li>
<li>
<a href="#" id="menu-help-about">About</a>
</li>
</ul>
</li>
<li id="login-info">
<a id="user" href="#" title="Click to login or logout">Login</a>
</li>
</ul>
</div>
<span id="toolbar">
<span class="options">
<span class="current-app" title="Displays the application the current buffer belongs to - if any">
Current app: <span id="toolbar-current-app">Unknown</span>
</span>
<label for="syntax">File Type: </label>
<select id="syntax">
<option value="text">Text</option>
<option value="xml">XML</option>
<option value="html">HTML</option>
<option value="xquery">XQuery</option>
<option value="javascript">Javascript</option>
<option value="css">CSS</option>
<option value="less">Less</option>
</select>
</span>
<button id="new">New</button>
<button id="open">Open</button>
<button id="save">Save</button>
<button id="close">Close</button>
<button id="run">Run</button>
<button id="debug">Debug</button>
<button id="validate">Check</button>
</span>
</div>
</div>
<div class="ui-layout-center">
<div id="tabs-container">
<ul id="tabs"/>
<button id="tab-prev">Previous</button>
<button id="tab-next">Next</button>
</div>
<div class="content" id="editor"/>
<div id="status-bar">
<input id="search-box" type="text" placeholder="Type string to search. Cursor-Up/Down for previous next match."/>
<a href="#" id="error-status"/>
</div>
<div id="ext-status-bar"/>
</div>
<div id="outline-container" class="ui-layout-west">
<h3>Outline</h3>
<ul id="outline" class="content">
<li/>
</ul>
</div>
<div id="results-container" class="ui-layout-south">
<div class="navbar">
<a class="previous" href="#"><<</a>
<a class="next" href="#">>></a>
<div class="current"/>
</div>
<div class="results"/>
</div>
<div id="open-dialog">
<div class="eXide-browse-panel">
<div class="eXide-browse-toolbar ui-layout-north"/>
<div class="eXide-browse-collections ui-layout-west"/>
<div class="eXide-browse-main ui-layout-center">
<div class="eXide-browse-resources"/>
<div id="file_upload" class="eXide-browse-upload">
<p>Drop files here or click on the button below to upload them
to the selected collection. Maximum file size is 100MB.</p>
<form class="file_upload" action="modules/upload.xql" method="POST" enctype="multipart/form-data">
<div class="options">
<input type="checkbox" name="deploy" checked="checked"/> Auto
deploy uploaded .xar packages
</div>
<input type="hidden" name="collection" value=""/>
<div class="file_upload_body">
<input type="file" name="file[]" multiple="multiple"/>
<button>Upload</button>
<div class="file_upload_label">Upload files</div>
</div>
</form>
<table id="files"/>
<button id="eXide-browse-upload-done">Done</button>
</div>
</div>
<div class="eXide-browse-upload ui-layout-center"/>
</div>
<div class="eXide-browse-form">
<label>Name: </label>
<input name="resource" type="text"/>
</div>
</div>
<div id="login-dialog">
<form id="login-form">
<table>
<tr>
<td>User: </td>
<td>
<input type="text" name="user" size="20"/>
</td>
</tr>
<tr>
<td>Password: </td>
<td>
<input type="password" name="password" size="20"/>
</td>
</tr>
<tr>
<td colspan="2">
<input type="checkbox" name="duration" value="P14D"/> Remember me for 2 weeks
</td>
</tr>
<tr>
<td id="login-error" colspan="2"/>
</tr>
</table>
</form>
</div>
<div id="dialog-confirm-close" title="Close Editor">
<p>
<span class="ui-icon ui-icon-alert" style="float:left; margin:0 7px 20px 0;"/>There
are unsaved changes in this document which will be lost if you close it. Do you want to
continue?</p>
</div>
<div id="autocomplete-box" tabindex="100"/>
<div id="autocomplete-help"/>
<div id="keyboard-help">
<table id="keybindings"/>
</div>
<div id="resource-properties-dialog">
<div id="resource-properties-content"/>
</div>
<div id="synchronize-dialog">
<h3>Project: <span class="project-name">Unknown</span>
</h3>
<p>Synchronize the current application to a directory on the server. Compares last modification times
to determine the files to be synchronized. If a start time is given, only resources updated since
that time stamp are taken into account.</p>
<form>
<fieldset>
<ol>
<li>
<div class="hint">Start date/time in xs:dateTime notation. Only resources modified after this date will
be synchronized. This field is filled automatically from the application descriptor
(if available).</div>
<input type="dateTime" name="start" size="40"/>
<label for="start">Start time:</label>
</li>
<li>
<div class="hint">Path to a directory <b>on the server</b>.</div>
<input type="text" name="dir" size="40"/>
<label for="dir">Target directory:</label>
</li>
<li>
<div class="hint">If checked, the application will be synchronized with the directory automatically
whenever you save a resource.</div>
<input type="checkbox" name="auto"/>
<label for="auto">Synchronize automatically:</label>
</li>
</ol>
</fieldset>
<input type="hidden" name="collection" value=""/>
<div id="synchronize-report"/>
</form>
</div>
<div id="dialog-store">
<p>
<span class="ui-icon ui-icon-circle-check" style="float:left; margin:0 7px 50px 0;"/>
Storing resource <span id="dialog-store-resource"/>
</p>
<p id="dialog-error"/>
<button id="dialog-store-close">Close</button>
</div>
<div id="preferences-dialog">
<form>
<fieldset>
<ol>
<li>
<select id="theme" name="theme">
<option value="ambiance">Ambiance</option>
<option value="chrome">Chrome</option>
<option value="clouds">Clouds</option>
<option value="clouds_midnight">Clouds Midnight</option>
<option value="cobalt">Cobalt</option>
<option value="crimson_editor">Crimson Editor</option>
<option value="dawn">Dawn</option>
<option value="dreamweaver">Dreamweaver</option>
<option value="eclipse">Eclipse</option>
<option value="github">Github</option>
<option value="idle_fingers">Idle Fingers</option>
<option value="kr_theme">Kr Theme</option>
<option value="merbivore">Merbivore</option>
<option value="merbivore_soft">Merbivore Soft</option>
<option value="mono_industrial">Mono Industrial</option>
<option value="monokai">Monokai</option>
<option value="pastel_on_dark">Pastel on dark</option>
<option value="solarized_dark">Solarized Dark</option>
<option value="solarized_light">Solarized Light</option>
<option value="textmate">Textmate</option>
<option value="tomorrow">Tomorrow</option>
<option value="tomorrow_night">Tomorrow Night</option>
<option value="tomorrow_night_blue">Tomorrow Night Blue</option>
<option value="tomorrow_night_bright">Tomorrow Night Bright</option>
<option value="tomorrow_night_eighties">Tomorrow Night Eighties</option>
<option value="twilight">Twilight</option>
<option value="vibrant_ink">Vibrant Ink</option>
<option value="xcode">XCode</option>
</select>
<label for="theme">Theme: </label>
</li>
<li>
<select name="font-size">
<option>10px</option>
<option>11px</option>
<option>12px</option>
<option>13px</option>
<option>14px</option>
<option>15px</option>
<option>16px</option>
<option>20px</option>
</select>
<label for="font-size">Font Size</label>
</li>
<li>
<input type="checkbox" name="print-margin" checked="checked"/>
<label for="print-margin">Show Print Margin:</label>
</li>
<li>
<select name="soft-wrap">
<option value="off">Off</option>
<option value="free">Screen width</option>
<option value="40">40</option>
<option value="80">80</option>
</select>
<label for="soft-wrap">Soft wrap:</label>
</li>
<li>
<input type="checkbox" name="show-invisibles"/>
<label for="show-invisibles">Show Invisibles:</label>
</li>
</ol>
</fieldset>
</form>
</div>
<div id="select-module-dialog">
<div id="module-list"/>
</div>
<div id="about-dialog">
<p>eXide Version 1.0</p>
<p>Website: <a href="https://github.com/wolfgangmm/eXide">https://github.com/wolfgangmm/eXide</a>
</p>
<p>Copyright (C) 2012 Wolfgang Meier, <a href="http://www.existsolutions.com">eXist Solutions GmbH</a>
</p>
<p>Licensed under the GPLv3 license</p>
<p>Uses the <a href="http://ace.ajax.org">Ajax.org Code Editor (ACE)</a>, originally developed by Ajax.org
and licensed under the tri-license MPL/LGPL/GPL.</p>
</div>
<div id="dialog-deploy"/>
</body>
</html>