-
Notifications
You must be signed in to change notification settings - Fork 16
/
index.template.html
53 lines (47 loc) · 1.88 KB
/
index.template.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
<!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=5,IE=9" ><![endif]-->
<!DOCTYPE html>
<html>
<head>
<title>UML Diagram Editor</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<link rel="stylesheet" type="text/css" href="styles/grapheditor.css">
<script type="text/javascript">
// Parses URL parameters. Supported parameters are:
// - lang=xy: Specifies the language of the user interface.
// - touch=1: Enables a touch-style user interface.
// - storage=local: Enables HTML5 local storage.
// - chrome=0: Chromeless mode.
var urlParams = (function(url)
{
var result = new Object();
var idx = url.lastIndexOf('?');
if (idx > 0)
{
var params = url.substring(idx + 1).split('&');
for (var i = 0; i < params.length; i++)
{
idx = params[i].indexOf('=');
if (idx > 0)
{
result[params[i].substring(0, idx)] = params[i].substring(idx + 1);
}
}
}
return result;
})(window.location.href);
mxBasePath = 'js/**globals**/mxgraph/src';
// Default resources are included in grapheditor resources
mxLoadResources = false;
</script>
<script type="text/javascript" src="js/**globals**/Init.js"></script>
<script type="text/javascript" src="js/**globals**/jscolor/jscolor.js"></script>
<script type="text/javascript" src="js/**globals**/sanitizer/sanitizer.min.js"></script>
<script type="text/javascript" src="js/**globals**/mxgraph/mxClient.js"></script>
<script type="text/javascript" src="js/**globals**/Editor.js"></script>
<script type="text/javascript" src="js/**globals**/Graph.js"></script>
<script type="text/javascript" src="js/**globals**/Shapes.js"></script>
<script type="text/javascript" src="js/**globals**/Dialogs.js"></script>
</head>
<body class="geEditor" />
</html>