main.jsp 2.37 KB
Newer Older
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
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ page trimDirectiveWhitespaces="true" %>
<%@ taglib prefix="tiles" uri="http://tiles.apache.org/tags-tiles" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="s" uri="http://www.springframework.org/tags" %>

<!DOCTYPE html>
<html lang="${pageContext.response.locale}">
	<%@ include file="incl/head.jsp" %>
	<body class="drawer drawer--right drawer--sidebar">
		<tiles:importAttribute name="collapsePanel" ignore="true" />
		<tiles:importAttribute name="sideOpts" ignore="true" />
		<tiles:importAttribute name="fluidLayout" />
		<tiles:importAttribute name="smallLogo" />
		        

		        
        <wrapper class="d-flex flex-column">
        
        		<!-- i.e. version panel -->
        <c:if test="${collapsePanel!=null}">
        	<tiles:insertAttribute name="collapsePanel"/>
        </c:if>
               
        	<!-- Top Navigation -->
      		<%@ include file="incl/topNav.jsp" %>
        	
        	<main class="flex-fill">        	
				<div class="container<c:if test="${fluidLayout==true}">-fluid</c:if>">
					<div id="primary-content-area" class="row">
31
						
32
						<div class="grid-hidden grid-lg-visible col-lg-4 col-xl-3" >
33
34
35
36
37
38
39
40
41
							<div class="sidebar-container"> 
								<div id="editor-sidebar" class="sidebar">
									<c:if test="${sideOpts!=null}">
										<tiles:insertAttribute name="sideOpts"/>
									</c:if>
				              	</div>
			              	</div>
			      		</div>
			      		
42
			      		<div class="col-12 col-lg-8 col-xl-8">
43
44
			      			<!-- Notifications -->
							<div id="notifications-area"></div>
45
46
47
48
49
50
51
52
53
			      			<main class="main">
								<!-- Content -->
								<tiles:insertAttribute name="content"/>
							</main>						
						</div>
					</div>
				</div>
			</main>
			<noscript>
54
		        <div><s:message code="~eu.dariah.de.minfba.common.view.noscript" /></div>
55
56
57
58
59
60
61
62
63
64
65
66
67
68
		    </noscript>			
		    
		    <!-- Footer -->
			<%@ include file="incl/footer.jsp" %>
	  	</wrapper>
	  	
	  	

	  	<!-- JavaScript files at the end for faster loading of documents -->
	  	<tiles:importAttribute name="scripts" />  	
	  	<c:forEach items="${scripts}" var="s">
	  		<script type="text/javascript" src="<s:url value="/resources/js/${s}" />"></script>
	  	</c:forEach>
	</body>
69
</html>