-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patheditor-demo.html
More file actions
94 lines (65 loc) · 2.9 KB
/
editor-demo.html
File metadata and controls
94 lines (65 loc) · 2.9 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
<html lang="en">
<head>
<meta charset="utf-8">
<title>TrainStack | Editor Demo</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="author" content="">
<!-- Le styles -->
<link href="/topology-editor/bootstrap.min.css" rel="stylesheet">
<style>
body {
padding-top: 60px; /* 60px to make the container go all the way to the bottom of the topbar */
}
</style>
<link href="/topology-editor/bootstrap-responsive.min.css" rel="stylesheet">
<!-- demo -->
<link rel="stylesheet" type="text/css" href="topology-editor/style.css" />
<script language="JavaScript" type="text/javascript" src="topology-editor/jquery-183.js"></script> <!--Библиотека jquery -->
<script type="text/javascript" src="topology-editor/functions.js"></script> <!-- Код javascript -->
<script type="text/javascript" src="topology-editor/raphael.js"></script> <!-- Библиотека для прорисовки SVG -->
<script type="text/javascript">
var config = {
api_endpoint: 'topology-editor/examples/'
};
</script>
</head>
<body>
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">
<div class="container">
<button type="button" class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="brand" href="/">TrainStack</a>
<div class="nav-collapse collapse">
<ul class="nav">
<li><a href="/">Home</a></li>
<li class="active"><a href="/editor-demo.html">UI demo</a></li>
</ul>
</div><!--/.nav-collapse -->
</div>
</div>
</div>
<div class="container">
<div visbility="hidden" position="absolute" style="margin: 0 auto; width: 100%;">
<div id="aviabledevices" style="float: left; width: 20%">
<table id="devices" class="table table-striped">
<tr>
<td>loading...</td>
</tr>
</table>
</div>
<div id="constructfield" class="table table-bordered"> <!-- Поле конструктора -->
<svg id="svg" position="absolute" style="float: left; width: 100% heigth: 100%"></svg>
<div class="dropdown"><ul id="contextMenuId" class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu"></ul></div> <!--Выпадающее меню -->
</div>
</div>
</div> <!-- /container -->
<!-- Le javascript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="/topology-editor/jquery-183.js"></script>
</body></html>