Projekt

Obecné

Profil

Stáhnout (7.81 KB) Statistiky
| Větev: | Tag: | Revize:
1 1e2b2c27 Tomáš Šimandl
<%@page contentType="text/html" pageEncoding="UTF-8"%>
2 30993516 Tomáš Šimandl
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
3 1e2b2c27 Tomáš Šimandl
4
<!DOCTYPE html>
5
<html>
6
	<head>
7
		<meta charset="utf-8">
8
9
		<link rel="stylesheet" href="css/main.css">
10
		<link rel="stylesheet" href="css/jstree/themes/default/style.min.css">
11
12
		<script id="htmlTags" type="application/json"><%@ include file="node_modules/html-tags/html-tags.json" %></script>
13
		<script id="svgTags" type="application/json"><%@ include file="node_modules/svg-tags/lib/svg-tags.json" %></script>
14
15
		<script src="js/libs/jquery-1.8.3.js"></script>
16
		<script src="js/libs/spin.js"></script>
17
		<script src="js/libs/saveSvgAsPng.js"></script>
18
		<script src="js/libs/jstree.min.js"></script>
19
20 c91081fb Pavel Fidranský
		<script src="js/components/attribute.js"></script>
21 1e2b2c27 Tomáš Šimandl
		<script src="js/components/edge.js"></script>
22
		<script src="js/components/edgePopover.js"></script>
23
		<script src="js/components/floatingPoint.js"></script>
24
		<script src="js/components/group.js"></script>
25
		<script src="js/components/groupVertexList.js"></script>
26 0354f040 Pavel Fidranský
		<script src="js/components/minimap.js"></script>
27 1e2b2c27 Tomáš Šimandl
		<script src="js/components/sidebar.js"></script>
28
		<script src="js/components/sidebarExcludedNodeList.js"></script>
29
		<script src="js/components/sidebarUnconnectedNodeList.js"></script>
30
		<script src="js/components/statusBar.js"></script>
31
		<script src="js/components/vertex.js"></script>
32
		<script src="js/components/vertexContextMenuList.js"></script>
33
		<script src="js/components/vertexPopover.js"></script>
34
		<script src="js/components/vertexSymbolList.js"></script>
35
		<script src="js/components/viewport.js"></script>
36
37
		<script src="js/exceptions/invalidArgumentException.js"></script>
38
39
		<script src="js/constants.js"></script>
40
		<script src="js/coordinates.js"></script>
41
		<script src="js/forceDirected.js"></script>
42
		<script src="js/graphLoader.js"></script>
43
		<script src="js/graphExporter.js"></script>
44
		<script src="js/graphHistory.js"></script>
45
		<script src="js/loader.js"></script>
46
		<script src="js/markSymbol.js"></script>
47
		<script src="js/utils/cookies.js"></script>
48
		<script src="js/utils/dom.js"></script>
49
		<script src="js/utils/utils.js"></script>
50
		<script src="js/zoom.js"></script>
51
		<script src="js/app.js"></script>
52 60bada5b Pavel Fidranský
		<script src="js/userMenu.js"></script>
53 1e2b2c27 Tomáš Šimandl
54 ee95801f Pavel Fidranský
		<title>IMiGEr</title>
55 1e2b2c27 Tomáš Šimandl
	</head>
56
57
	<body>
58 dad52d7e Pavel Fidranský
		<c:set var="HOME_URL" value="${initParam.HOME_URL}"/>
59
		<c:set var="isLoggedIn" value="${sessionScope.isLoggedIn}"/>
60
		<c:set var="user" value="${sessionScope.user}"/>
61 1e2b2c27 Tomáš Šimandl
62
		<div class="wrapper">
63
			<header class="header" id="header">
64
				<img src="images/logo.png" class="header-logo" alt="logo of University of West Bohemia" title="University of West Bohemia">
65
66 ee95801f Pavel Fidranský
				<h2 class="header-title">Interactive Multimodal Graph Explorer</h2>
67 1e2b2c27 Tomáš Šimandl
68 0ac9b68b Pavel Fidranský
				<%@ include file="userMenu.jsp" %>
69 1e2b2c27 Tomáš Šimandl
70
				<nav class="navbar" id="navigation">
71
					<ul>
72
						<li>
73
							<button class="btn zoom" id="zoomOut" title="zoom-"><img src="images/zoom_out.png" alt="zoom-"></button>
74
							<span class="zoom-value" id="zoomValue"></span>
75
							<button class="btn zoom" id="zoomIn" title="zoom+"><img src="images/zoom_in.png" alt="zoom+"></button>
76
						</li>
77
						<li>
78
							<hr class="navbar-separator">
79
						</li>
80 71580feb Pavel Fidranský
						<li>
81
							<button class="btn toggle-filters" id="toggleFilters">Filters</button>
82
						</li>
83
						<li>
84
							<hr class="navbar-separator">
85
						</li>
86 1e2b2c27 Tomáš Šimandl
						<li>
87
							<input class="search-text" id="searchText" type="text" placeholder="Search components...">
88
							<button class="btn search" id="search"><img src="images/search.png" title="search" alt="search"></button>
89
							<span class="search-count" id="countOfFound" title="Count of components found">0</span>
90
						</li>
91
						<li>
92
							<hr class="navbar-separator">
93
						</li>
94
						<li>
95
							<form name="actionForm">
96
								<label for="move">
97
									<input type="radio" name="actionMove" value="move" id="move" checked>
98
									move
99
									<img class="navbar-image" src="images/move.png" alt="move">
100
								</label>
101
								<label for="remove">
102
									<input type="radio" name="actionMove" value="exclude" id="remove">
103
									exclude
104
									<img class="navbar-image" src="images/remove2.png" alt="remove">
105
								</label>
106
							</form>
107
						</li>
108
						<li>
109
							<hr class="navbar-separator">
110
						</li>
111
						<li>
112
							<button id="mostEdge" class="btn exclude-separately" title="Exclude components with the most count of edges separately.">
113
								<img src="images/excludeSeparately.png" alt="excludeSeparately">
114
							</button>
115
						</li>
116
						<li>
117
							<hr class="navbar-separator">
118
						</li>
119
						<li>
120
							<button id="vertexToGroup" class="btn exclude-to-group" title="Exclude components with the most count of edges to group.">
121
								<img src="images/package.png" alt="Exclude components to group">
122
							</button>
123
						</li>
124
						<li>
125
							<hr class="navbar-separator">
126
						</li>
127
						<li>
128 dad52d7e Pavel Fidranský
							<a href="${HOME_URL}" class="btn btn-block back-to-upload" id="view_back_to_upload" title="Back to upload"></a>
129 1e2b2c27 Tomáš Šimandl
						</li>
130
						<li>
131
							<hr class="navbar-separator">
132
						</li>
133
						<li>
134
							<button class="btn" id="applyLayout" title="Apply layout to current graph.">
135
								<img src="images/layout_off.png" id="applyLayoutImg" alt="Apply layout to current graph.">
136
							</button>
137
						</li>
138
						<li>
139
							<hr class="navbar-separator">
140
						</li>
141
						<li>
142
							<button class="btn save-diagram" id="btnSaveDiagram" title="Save diagram as PNG.">
143
								<img src="images/png_save.png" id="applyLayoutImg" alt="Save diagram as PNG.">
144
							</button>
145
						</li>
146 dad52d7e Pavel Fidranský
						<c:if test="${isLoggedIn}">
147 30993516 Tomáš Šimandl
							<li>
148 78a6bb59 Pavel Fidranský
								<hr class="navbar-separator">
149
							</li>
150
							<li>
151
								<button class="btn save-diagram" id="btnSaveDiagramToDatabase" title="Save diagram.">
152 30993516 Tomáš Šimandl
									<img src="images/icon_save.png" id="applyLayoutImg" alt="Save diagram">
153
								</button>
154
							</li>
155
						</c:if>
156 1e2b2c27 Tomáš Šimandl
						<li>
157
							<hr class="navbar-separator">
158
						</li>
159
						<li>
160 dad52d7e Pavel Fidranský
							<a href="${HOME_URL}graph?diagramId=${param.diagramId}" class="btn btn-block view-refresh-diagram" id="view_refresh_diagram" title="Refresh diagram"></a>
161 1e2b2c27 Tomáš Šimandl
						</li>
162
						<li>
163
							<hr class="navbar-separator">
164
						</li>
165
						<li>
166 dad52d7e Pavel Fidranský
							<button class="btn btn-block view-refresh-reset-diagram" id="view_refresh_reset_diagram" title="Refresh diagram - reset position"></a>
167 1e2b2c27 Tomáš Šimandl
						</li>
168
					</ul>
169
				</nav>
170
			</header>
171 71580feb Pavel Fidranský
172
			<div class="filterBar hidden" id="filters">
173
				<div class="filterbar-nav">
174
					<button class="button buttonClassic" id="addFilter">Add filter</button>
175
					<button class="button buttonClassic" id="deleteFilter">Delete filter</button>
176
					<select id="filterTypeSelection">
177
						<option value="Archetype"> Archetype </option>
178
						<option value="Atribute"> Atribute </option>
179
						<option value="Logical"> Logical </option>
180
					</select>
181
					<select id="logicOperationSelection" disabled="disabled">
182
						<option value="And"> And </option>
183
						<option value="Or"> Or </option>
184
						<option value="Xor"> Xor </option>
185
					</select>
186
					<select id="attributeTypeSelection" disabled="disabled">
187
						<option value="Enum"> Enum </option>
188
						<option value="String"> String </option>
189
						<option value="Number"> Number </option>
190
						<option value="Date"> Date </option>
191
					</select>
192
				</div>
193
194
				<div class="vertex-tree" id="vertexTree">
195
					<ul class="vertexTreeList">
196
						<li class="vertexTreeItem" id="1">
197
							<span>
198
								Vertex Filters
199
							</span>
200
						</li>
201
					</ul>
202
				</div>
203
			</div>
204
205 1e2b2c27 Tomáš Šimandl
			<main class="graph-content" id="content"></main>
206
		</div>
207
208
		<div class="loader" id="loader">
209
			<div class="loader-content" id="spinLoader">
210
				<p>Loading graph...</p>
211
			</div>
212
		</div>
213
214
		<script>
215
		var app = new App;
216 dad52d7e Pavel Fidranský
		app.HOME_URL = '${HOME_URL}';
217 1e2b2c27 Tomáš Šimandl
218
		$(document).ready(function() {
219 dad52d7e Pavel Fidranský
			var loaderFn = app.diagramLoader('${param.diagramId}');
220 1e2b2c27 Tomáš Šimandl
221
			app.run(loaderFn);
222
		});
223
		</script>
224
	</body>
225
</html>