entry.jsp 3 KB
Newer Older
Matija Obreza's avatar
Matija Obreza committed
1
2
<%@include file="/WEB-INF/jsp/init.jsp"%>

Matija Obreza's avatar
Matija Obreza committed
3
<!DOCTYPE html>
Matija Obreza's avatar
Matija Obreza committed
4

Matija Obreza's avatar
Matija Obreza committed
5
6
7
8
9
10
11
12
<html lang="${pageContext.response.locale.language}" dir="${pageContext.response.locale.language=='fa' || pageContext.response.locale.language=='ar' ? 'rtl' : 'ltr'}">
<head>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta name="description" content="" />
    <meta name="author" content="" />

Nick Martynenko's avatar
CSRF    
Nick Martynenko committed
13
14
15
16
17
    <!-- CSRF protection-->
    <meta name="_csrf" content="${_csrf.token}"/>
    <!-- default header name is X-CSRF-TOKEN -->
    <meta name="_csrf_header" content="${_csrf.headerName}"/>

Matija Obreza's avatar
Matija Obreza committed
18
19
20
    <title><sitemesh:write property="title" /></title>

    <!-- Custom styles for this template -->
21
22
23
24
25
26
27
    <c:choose>
    	<c:when test="${requestContext.theme.name eq 'one'}">
    <link href="<c:url value="/html/css/all.min.css" />" rel="stylesheet" />
    	</c:when>
    	<c:when test="${requestContext.theme.name eq 'all-min'}">
	<link href="<c:url value="/html/css/bootstrap.min.css" />" rel="stylesheet" />
	<link href="<c:url value="/html/css/jquery-ui.min.css" />" rel="stylesheet" />
28
 	<link href="<c:url value="/html/css/leaflet.min.css" />" rel="stylesheet" />
29
30
31
	<link href="<c:url value="/html/css/genesys.min.css" />" rel="stylesheet" />
    	</c:when>
    	<c:when test="${requestContext.theme.name eq 'all'}">
32
33
	<link href="<c:url value="/html/css/bootstrap.css" />" rel="stylesheet" />
	<link href="<c:url value="/html/css/jquery-ui.css" />" rel="stylesheet" />
34
 	<link href="<c:url value="/html/css/leaflet.css" />" rel="stylesheet" />
35
36
37
    <link href="<c:url value="/html/css/genesys.css" />" rel="stylesheet" />
    	</c:when>
    	<c:otherwise>
38
39
	<link href="<c:url value="/html/css/bootstrap.css" />" rel="stylesheet" />
	<link href="<c:url value="/html/css/jquery-ui.css" />" rel="stylesheet" />
40
 	<link href="<c:url value="/html/css/leaflet.css" />" rel="stylesheet" />
Matija Obreza's avatar
Matija Obreza committed
41
42
    <link href="<c:url value="/html/css/custom.css" />" rel="stylesheet" />
	<link href="<c:url value="/html/css/responsive.css" />" rel="stylesheet" />
43
    <link href="<c:url value="/html/css/forza.css" />" rel="stylesheet" />
44
     	</c:otherwise>
45
46
    </c:choose>
    
Matija Obreza's avatar
Matija Obreza committed
47
48
49
50
51
    <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]>
      <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
      <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
    <![endif]-->
Matija Obreza's avatar
Matija Obreza committed
52

Matija Obreza's avatar
Matija Obreza committed
53
	<sitemesh:write property="head" />
Matija Obreza's avatar
Matija Obreza committed
54
55
56
</head>

<body>
Matija Obreza's avatar
Matija Obreza committed
57
	<div class="site-wrapper">
Matija Obreza's avatar
Matija Obreza committed
58
	<security:authentication var="user" property="principal" />
Matija Obreza's avatar
Matija Obreza committed
59

Matija Obreza's avatar
Matija Obreza committed
60
61
	<%@include file="header.jsp" %>
	<%@include file="menu.jsp" %>
Matija Obreza's avatar
Matija Obreza committed
62
	
Matija Obreza's avatar
Matija Obreza committed
63
64
65
66
67
	<div id="content" class="clearfix">
		<div class="container">
			<div id="dialog"></div>
			<div class="content-block clearfix">
				<sitemesh:write property="body" />
Matija Obreza's avatar
Matija Obreza committed
68
69
70
			</div>
		</div>
	</div>
Matija Obreza's avatar
Matija Obreza committed
71
	</div>
Matija Obreza's avatar
Matija Obreza committed
72
73
		
	<%@include file="footer.jsp" %>
74
	<sitemesh:write property="page.javascript" />
75
	<%@include file="ga.jsp" %>
Matija Obreza's avatar
Matija Obreza committed
76
77
</body>
</html>