home.jsp 1.98 KB

<%@ 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>