Projekt

Obecné

Profil

Stáhnout (8.04 KB) Statistiky
| Větev: | Tag: | Revize:
1
<%@page contentType="text/html" pageEncoding="UTF-8"%>
2
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
3

    
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
		<script src="js/components/attribute.js"></script>
21
		<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
		<script src="js/components/minimap.js"></script>
27
		<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/filter.js"></script>
42
		<script src="js/forceDirected.js"></script>
43
		<script src="js/graphLoader.js"></script>
44
		<script src="js/graphExporter.js"></script>
45
		<script src="js/graphHistory.js"></script>
46
		<script src="js/loader.js"></script>
47
		<script src="js/markSymbol.js"></script>
48
		<script src="js/utils/cookies.js"></script>
49
		<script src="js/utils/dom.js"></script>
50
		<script src="js/utils/utils.js"></script>
51
		<script src="js/zoom.js"></script>
52
		<script src="js/app.js"></script>
53
		<script src="js/userMenu.js"></script>
54

    
55
		<title>IMiGEr</title>
56
	</head>
57

    
58
	<body>
59
		<c:set var="HOME_URL" value="${initParam.HOME_URL}"/>
60
		<c:set var="isLoggedIn" value="${sessionScope.isLoggedIn}"/>
61
		<c:set var="user" value="${sessionScope.user}"/>
62

    
63
		<div class="wrapper">
64
			<header class="header" id="header">
65
				<img src="images/logo.png" class="header-logo" alt="logo of University of West Bohemia" title="University of West Bohemia">
66

    
67
				<h2 class="header-title">Interactive Multimodal Graph Explorer</h2>
68

    
69
				<%@ include file="userMenu.jsp" %>
70

    
71
				<nav class="navbar" id="navigation">
72
					<ul>
73
						<li>
74
							<button class="btn zoom" id="zoomOut" title="zoom-"><img src="images/zoom_out.png" alt="zoom-"></button>
75
							<span class="zoom-value" id="zoomValue"></span>
76
							<button class="btn zoom" id="zoomIn" title="zoom+"><img src="images/zoom_in.png" alt="zoom+"></button>
77
						</li>
78
						<li>
79
							<hr class="navbar-separator">
80
						</li>
81
						<li>
82
							<button class="btn toggle-filters" id="toggleFilters">Filters</button>
83
						</li>
84
						<li>
85
							<hr class="navbar-separator">
86
						</li>
87
						<li>
88
							<input class="search-text" id="searchText" type="text" placeholder="Search components...">
89
							<button class="btn search" id="search"><img src="images/search.png" title="search" alt="search"></button>
90
							<span class="search-count" id="countOfFound" title="Count of components found">0</span>
91
						</li>
92
						<li>
93
							<hr class="navbar-separator">
94
						</li>
95
						<li>
96
							<form name="actionForm">
97
								<label for="move">
98
									<input type="radio" name="actionMove" value="move" id="move" checked>
99
									move
100
									<img class="navbar-image" src="images/move.png" alt="move">
101
								</label>
102
								<label for="remove">
103
									<input type="radio" name="actionMove" value="exclude" id="remove">
104
									exclude
105
									<img class="navbar-image" src="images/remove2.png" alt="remove">
106
								</label>
107
							</form>
108
						</li>
109
						<li>
110
							<hr class="navbar-separator">
111
						</li>
112
						<li>
113
							<button id="mostEdge" class="btn exclude-separately" title="Exclude components with the most count of edges separately.">
114
								<img src="images/excludeSeparately.png" alt="excludeSeparately">
115
							</button>
116
						</li>
117
						<li>
118
							<hr class="navbar-separator">
119
						</li>
120
						<li>
121
							<button id="vertexToGroup" class="btn exclude-to-group" title="Exclude components with the most count of edges to group.">
122
								<img src="images/package.png" alt="Exclude components to group">
123
							</button>
124
						</li>
125
						<li>
126
							<hr class="navbar-separator">
127
						</li>
128
						<li>
129
							<a href="${HOME_URL}" class="btn btn-block back-to-upload" id="view_back_to_upload" title="Back to upload"></a>
130
						</li>
131
						<li>
132
							<hr class="navbar-separator">
133
						</li>
134
						<li>
135
							<button class="btn" id="applyLayout" title="Apply layout to current graph.">
136
								<img src="images/layout_off.png" id="applyLayoutImg" alt="Apply layout to current graph.">
137
							</button>
138
						</li>
139
						<li>
140
							<hr class="navbar-separator">
141
						</li>
142
						<li>
143
							<button class="btn save-diagram" id="btnSaveDiagram" title="Save diagram as PNG.">
144
								<img src="images/png_save.png" id="applyLayoutImg" alt="Save diagram as PNG.">
145
							</button>
146
						</li>
147
						<c:if test="${isLoggedIn}">
148
							<li>
149
								<hr class="navbar-separator">
150
							</li>
151
							<li>
152
								<button class="btn save-diagram" id="btnSaveDiagramToDatabase" title="Save diagram.">
153
									<img src="images/icon_save.png" id="applyLayoutImg" alt="Save diagram">
154
								</button>
155
							</li>
156
						</c:if>
157
						<li>
158
							<hr class="navbar-separator">
159
						</li>
160
						<li>
161
							<a href="${HOME_URL}graph?diagramId=${param.diagramId}" class="btn btn-block view-refresh-diagram" id="view_refresh_diagram" title="Refresh diagram"></a>
162
						</li>
163
						<li>
164
							<hr class="navbar-separator">
165
						</li>
166
						<li>
167
							<button class="btn btn-block view-refresh-reset-diagram" id="view_refresh_reset_diagram" title="Refresh diagram - reset position"></button>
168
						</li>
169
					</ul>
170
				</nav>
171
			</header>
172

    
173
			<div class="filterBar hidden" id="filters">
174
				<div class="filterbar-nav">
175
					<button class="button buttonClassic" id="addFilter">Add filter</button>
176
					<button class="button buttonClassic" id="deleteFilter">Delete filter</button>
177
					<select id="filterTypeSelection">
178
						<option value="Archetype"> Archetype </option>
179
						<option value="Attribute"> Attribute </option>
180
						<option value="Logical"> Logical </option>
181
					</select>
182
					<select id="vertexArchetypeSelection"></select>
183
					<select class="hidden" id="attributeTypeSelection">
184
						<option value="Enum"> Enum </option>
185
						<option value="String"> String </option>
186
						<option value="Number"> Number </option>
187
						<option value="Date"> Date </option>
188
					</select>
189
					<select class="hidden" id="logicOperationSelection">
190
						<option value="And"> And </option>
191
						<option value="Or"> Or </option>
192
						<option value="Xor"> Xor </option>
193
					</select>
194
					<select id="matchTypeSelection">
195
						<option value="Match"> Match </option>
196
						<option value="NotMatch"> Not Match </option>
197
					</select>
198
				</div>
199

    
200
				<div class="vertex-tree" id="vertexTree">
201
					<ul class="vertexTreeList">
202
						<li class="vertexTreeItem" id="1">
203
							<span>
204
								Vertex Filters
205
							</span>
206
						</li>
207
					</ul>
208
				</div>
209
			</div>
210

    
211
			<main class="graph-content" id="content"></main>
212
		</div>
213

    
214
		<div class="loader" id="loader">
215
			<div class="loader-content" id="spinLoader">
216
				<p>Loading graph...</p>
217
			</div>
218
		</div>
219

    
220
		<script>
221
		var app = new App;
222
		app.HOME_URL = '${HOME_URL}';
223

    
224
		$(document).ready(function() {
225
			var loaderFn = app.diagramLoader('${param.diagramId}');
226

    
227
			app.run(loaderFn);
228
		});
229
		</script>
230
	</body>
231
</html>
(4-4/6)