Projekt

Obecné

Profil

Stáhnout (8.11 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
<c:set var="HOME_URL" value="${initParam.HOME_URL}"/>
5
<c:set var="isLoggedIn" value="${sessionScope.isLoggedIn}"/>
6
<c:set var="user" value="${sessionScope.user}"/>
7

    
8
<!DOCTYPE html>
9
<html>
10
	<head>
11
		<meta charset="utf-8">
12

    
13
		<link rel="stylesheet" href="css/main.css">
14
		<link rel="stylesheet" href="css/jstree/themes/default/style.min.css">
15

    
16
		<script id="htmlTags" type="application/json"><%@ include file="node_modules/html-tags/html-tags.json" %></script>
17
		<script id="svgTags" type="application/json"><%@ include file="node_modules/svg-tags/lib/svg-tags.json" %></script>
18

    
19
		<script src="js/libs/jquery-3.3.1.min.js"></script>
20
		<script src="js/libs/spin.js"></script>
21
		<script src="js/libs/saveSvgAsPng.js"></script>
22
		<script src="js/libs/jstree.min.js"></script>
23

    
24
		<script src="js/components/attribute.js"></script>
25
		<script src="js/components/edge.js"></script>
26
		<script src="js/components/edgePopover.js"></script>
27
		<script src="js/components/floatingPoint.js"></script>
28
		<script src="js/components/group.js"></script>
29
		<script src="js/components/groupVertexList.js"></script>
30
		<script src="js/components/minimap.js"></script>
31
		<script src="js/components/sidebar.js"></script>
32
		<script src="js/components/sidebarExcludedNodeList.js"></script>
33
		<script src="js/components/sidebarUnconnectedNodeList.js"></script>
34
		<script src="js/components/statusBar.js"></script>
35
		<script src="js/components/vertex.js"></script>
36
		<script src="js/components/vertexContextMenuList.js"></script>
37
		<script src="js/components/vertexPopover.js"></script>
38
		<script src="js/components/vertexSymbolList.js"></script>
39
		<script src="js/components/viewport.js"></script>
40

    
41
		<script src="js/exceptions/invalidArgumentException.js"></script>
42

    
43
		<script src="js/constants.js"></script>
44
		<script src="js/coordinates.js"></script>
45
		<script src="js/diagram.js"></script>
46
		<script src="js/filter.js"></script>
47
		<script src="js/forceDirected.js"></script>
48
		<script src="js/graphLoader.js"></script>
49
		<script src="js/graphExporter.js"></script>
50
		<script src="js/graphHistory.js"></script>
51
		<script src="js/loader.js"></script>
52
		<script src="js/markSymbol.js"></script>
53
		<script src="js/utils/cookies.js"></script>
54
		<script src="js/utils/dom.js"></script>
55
		<script src="js/utils/utils.js"></script>
56
		<script src="js/zoom.js"></script>
57
		<script src="js/app.js"></script>
58
		<script src="js/userMenu.js"></script>
59

    
60
		<title>IMiGEr</title>
61
	</head>
62

    
63
	<body class="${isLoggedIn ? 'loggedIn' : 'loggedOut'}">
64
		<div class="wrapper">
65
			<header class="header" id="header">
66
				<img src="images/logo.png" class="header-logo" alt="logo of University of West Bohemia" title="University of West Bohemia">
67

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

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

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

    
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="Attribute"> Attribute </option>
179
						<option value="Logical"> Logical </option>
180
					</select>
181
					<select id="vertexArchetypeSelection"></select>
182
					<select class="hidden" id="attributeTypeSelection">
183
						<option value="Enum"> Enum </option>
184
						<option value="String"> String </option>
185
						<option value="Number"> Number </option>
186
						<option value="Date"> Date </option>
187
					</select>
188
					<select class="hidden" id="logicOperationSelection">
189
						<option value="And"> And </option>
190
						<option value="Or"> Or </option>
191
						<option value="Xor"> Xor </option>
192
					</select>
193
					<select id="matchTypeSelection">
194
						<option value="Match"> Match </option>
195
						<option value="NotMatch"> Not Match </option>
196
					</select>
197
				</div>
198

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

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

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

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

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

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