home.jsp
1.98 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
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Device Tools</title>
<script type="text/javascript" src="resources/js/extjs5.0.0/build/ext-all-debug.js"></script>
<script type="text/javascript" src="resources/js/extjs5.0.0/packages/ext-theme-crisp/build/ext-theme-crisp.js"></script>
<link rel="stylesheet" href="resources/js/extjs5.0.0/packages/ext-theme-crisp/build/resources/ext-theme-crisp-all-debug.css" />
<script type="text/javascript" src="resources/js/app.js"></script>
<script src="resources/js/jquery.min.js"></script>
<style>
.new {
background-image:url(resources/img/new.png) !important;
}
.remove {
background-image:url(resources/img/remove.png) !important;
}
.save {
background-image:url(resources/img/save.png) !important;
}
.load {
background-image:url(resources/img/load.png) !important;
}
.restart {
background-image:url(resources/img/restart.png) !important;
}
.ping {
background-image:url(resources/img/ping.png) !important;
}
.off {
background-image:url(resources/img/off.png) !important;
}
</style>
</head>
<body>
<h1>This is the body of the sample view</h1>
<security:authorize access="hasRole('ROLE_USER')">
This text is only visible to a user
<br/>
</security:authorize>
<security:authorize access="hasRole('ROLE_ADMIN')">
This text is only visible to an admin
<br/>
</security:authorize>
<a href="<c:url value="/perform_logout" />">Logout</a>
</body>
</html>