1 <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
4 <%@ taglib uri="http://www.springframework.org/tags" prefix="spring"%>
5 <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
6 <%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
7 <%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
8 <%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags"%>
11 <jsp:include page="../fragments/header.jsp" />
13 <div class="container">
14 <sec:authorize access="hasAnyRole('ROLE_ADMIN','ROLE_USER')">
15 <jsp:include page="../fragments/mainmenu.jsp" />
17 <sec:authorize access="!hasAnyRole('ROLE_ADMIN','ROLE_USER')">
18 <jsp:include page="../fragments/publicmenu.jsp" />
21 <div class="panel panel-default">
22 <div class="panel-heading">
23 <div style="font-weight:bold;">The page is not available...</div>
25 <div class="panel-body">
26 <p>The functionality is blocked</p>
30 <jsp:include page="../fragments/footer.jsp" />