38 lines
1.5 KiB
Plaintext
38 lines
1.5 KiB
Plaintext
|
|
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
|
||
|
|
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
|
||
|
|
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
|
||
|
|
<%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags" %>
|
||
|
|
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
|
||
|
|
<c:set var="tilesURI" value="${requestScope['javax.servlet.forward.request_uri']}"/>
|
||
|
|
<c:set var="tilesURIParam" value="${requestScope['javax.servlet.forward.query_string']}"/>
|
||
|
|
|
||
|
|
<form id="logout" action="/j_spring_security_logout" method="POST">
|
||
|
|
<input name="${_csrf.parameterName}" type="hidden" value="${_csrf.token}"/>
|
||
|
|
</form>
|
||
|
|
|
||
|
|
<sec:authorize access="hasRole('ROLE_USER')">
|
||
|
|
<header class="header">
|
||
|
|
<div class="header_title">
|
||
|
|
<a href="/map/request">모바일센터 관리시스템</a>
|
||
|
|
</div>
|
||
|
|
<div class="header_info">
|
||
|
|
<a href="<c:url value="/logout"/>">
|
||
|
|
<span class="glyphicon glyphicon-log-out" style="color:#fff"></span> 로그아웃
|
||
|
|
</a>
|
||
|
|
</div>
|
||
|
|
</header>
|
||
|
|
</sec:authorize>
|
||
|
|
|
||
|
|
<sec:authorize access="hasRole('ROLE_ADMIN')">
|
||
|
|
<header class="header">
|
||
|
|
<div class="header_title">
|
||
|
|
<a href="/admin/request">모바일센터 관리시스템</a>
|
||
|
|
</div>
|
||
|
|
<div class="header_info">
|
||
|
|
<a href="<c:url value="/logout"/>">
|
||
|
|
<span class="glyphicon glyphicon-log-out" style="color:#fff"></span> 로그아웃
|
||
|
|
</a>
|
||
|
|
</div>
|
||
|
|
</header>
|
||
|
|
</sec:authorize>
|