default.jsp
2.4 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
<!DOCTYPE html>
<%@ include file="/common/taglibs.jsp"%>
<html lang="en">
<head>
<meta http-equiv="Cache-Control" content="no-store"/>
<meta http-equiv="Pragma" content="no-cache"/>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" href="<c:url value="/images/favicon.ico"/>"/>
<title><decorator:title/> | <fmt:message key="webapp.name"/></title>
<%--<t:assets type="css"/>--%>
<decorator:head/>
</head>
<body<decorator:getProperty property="body.id" writeEntireProperty="true"/><decorator:getProperty property="body.class" writeEntireProperty="true"/>>
<c:set var="currentMenu" scope="request"><decorator:getProperty property="meta.menu"/></c:set>
<div class="navbar navbar-default navbar-fixed-top" role="navigation">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="<c:url value='/'/>"><fmt:message key="webapp.name"/></a>
</div>
<%@ include file="/common/menu.jsp" %>
<c:if test="${pageContext.request.locale.language ne 'en'}">
<div id="switchLocale"><a href="<c:url value='/?locale=en'/>">
<fmt:message key="webapp.name"/> in English</a>
</div>
</c:if>
</div>
<div class="container" id="content">
<%@ include file="/common/messages.jsp" %>
<div class="row">
<decorator:body/>
</div>
</div>
<div id="footer" class="container navbar-fixed-bottom">
<span class="col-sm-6 text-left"><fmt:message key="webapp.version"/>
<c:if test="${pageContext.request.remoteUser != null}">
| <fmt:message key="user.status"/> ${pageContext.request.remoteUser}
</c:if>
</span>
<span class="col-sm-6 text-right">
© <fmt:message key="copyright.year"/> <a href="<fmt:message key="company.url"/>"><fmt:message key="company.name"/></a>
</span>
</div>
<%--<t:assets type="js"/>--%>
<%= (request.getAttribute("scripts") != null) ? request.getAttribute("scripts") : "" %>
</body>
</html>