forked from eomjinyoung/JavaWebProgramming
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathHeader.jsp
More file actions
28 lines (25 loc) · 1010 Bytes
/
Header.jsp
File metadata and controls
28 lines (25 loc) · 1010 Bytes
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
<%-- 메뉴 추가 --%>
<%@page import="spms.vo.Member"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<div style="background-color:#00008b;color:#ffffff;height:20px;padding: 5px;">
SPMS(Simple Project Management System)
<span style="float:right;">
<a style="color:white;"
href="<%=request.getContextPath()%>/project/list.do">프로젝트</a>
<a style="color:white;"
href="<%=request.getContextPath()%>/member/list.do">회원</a>
<c:if test="${empty sessionScope.member or
empty sessionScope.member.email}">
<a style="color:white;"
href="<%=request.getContextPath()%>/auth/login.do">로그인</a>
</c:if>
<c:if test="${!empty sessionScope.member and
!empty sessionScope.member.email}">
${sessionScope.member.name}
(<a style="color:white;"
href="<%=request.getContextPath()%>/auth/logout.do">로그아웃</a>)
</c:if>
</span>
</div>