main.jsp 2.39 KB
Newer Older
Matija Obreza's avatar
Matija Obreza committed
1
<%@include file="/WEB-INF/jsp/init.jsp"%>
Matija Obreza's avatar
Matija Obreza committed
2
<%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags"%>
Matija Obreza's avatar
Matija Obreza committed
3

Matija Obreza's avatar
Matija Obreza committed
4
<html dir="${pageContext.response.locale.language=='fa' || pageContext.response.locale.language=='ar' ? 'rtl' : 'ltr'}">
Matija Obreza's avatar
Matija Obreza committed
5
<head>
Matija Obreza's avatar
Matija Obreza committed
6
7
8
9
10
11
12
13
14
15
16
<title><sitemesh:write property="title" /></title>
<%@include file="/WEB-INF/jsp/head-init.jsp"%>
<meta charset="utf-8">
<%--Locked Compatible Mode for IE--%>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="description" content="">
<meta name="viewport" content="width=device-width">

<link type="text/css" href="/html/css/bootstrap.css" rel="stylesheet" />
<link type="text/css" href="/html/css/custom.css" rel="stylesheet" />
<script type="text/javascript" src="/html/js/jquery.min.js"></script>
Matija Obreza's avatar
Updates    
Matija Obreza committed
17
<!--
Matija Obreza's avatar
Matija Obreza committed
18
19
20
21
22
23
24
25
<script type="text/javascript" src="/html/js/modernizr-2.6.2.min.js"></script>
<script type="text/javascript" src="/html/js/plugins.js"></script>
<script type="text/javascript" src="/html/js/jquery.validate.js"></script>
<script type="text/javascript" src="/html/js/custom.js"></script>


<link type="text/css" href="/html/css/jquery-ui.css" rel="stylesheet" />
<link type="text/css" href="/html/css/jquery.dataTables.css" rel="stylesheet" />
26
 -->
Matija Obreza's avatar
Matija Obreza committed
27
<%--Fallback for older browsers--%>
28
<!-- 
Matija Obreza's avatar
Updates    
Matija Obreza committed
29
<script type="text/javascript" src="/html/js/json2.js"></script>
Matija Obreza's avatar
Matija Obreza committed
30
31
32
<script type="text/javascript" src="/html/js/globalize.js"></script>
<script type="text/javascript" src="/html/js/jquery-ui.min.js"></script>
<script type="text/javascript" src="/html/js/jquery.dataTables.js"></script>
33
<script type="text/javascript" src="/html/js/handlebars.js"></script> -->
Matija Obreza's avatar
Updates    
Matija Obreza committed
34
<script type="text/javascript" src="/html/js/bootstrap.min.js"></script>
Matija Obreza's avatar
Matija Obreza committed
35
36
37
<sec:authorize access="! isAnonymous()">
<script type="text/javascript" src="/html/js/tinymce/tinymce.min.js"></script>
</sec:authorize>
Matija Obreza's avatar
Updates    
Matija Obreza committed
38
39
<script type="text/javascript" src="/html/js/crophub.js"></script>
<!-- 
Matija Obreza's avatar
Styling    
Matija Obreza committed
40
41
 -->
<!-- <script type="text/javascript" src="/html/js/main.js"></script>
42
 -->
Matija Obreza's avatar
Matija Obreza committed
43
<sitemesh:write property="head" />
Matija Obreza's avatar
Matija Obreza committed
44
45
46
</head>

<body>
Matija Obreza's avatar
Stuff    
Matija Obreza committed
47
	<sec:authentication var="user" property="principal" />
Matija Obreza's avatar
Matija Obreza committed
48

Matija Obreza's avatar
Matija Obreza committed
49
50
	<div id="wrap">
		<div class="container">
51
			<%@include file="header.jsp" %>
Matija Obreza's avatar
Matija Obreza committed
52
53
54
55
56
57
58
59
	
			<%@include file="menu.jsp" %>
	
			<div id="content" class="clearfix">
				<div id="dialog"></div>
				<div class="content-block clearfix">
					<sitemesh:write property="body" />
				</div>
Matija Obreza's avatar
Matija Obreza committed
60
61
			</div>
		</div>
Matija Obreza's avatar
Matija Obreza committed
62
	</div>
Matija Obreza's avatar
Matija Obreza committed
63
64
		
	<%@include file="footer.jsp" %>
Matija Obreza's avatar
Matija Obreza committed
65

Matija Obreza's avatar
Matija Obreza committed
66
67
</body>
</html>