head.jsp 1.6 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
<%@ taglib prefix="tiles" uri="http://tiles.apache.org/tags-tiles" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<head>
	<meta charset="utf-8">
    <title><tiles:insertAttribute name="title"/></title>
    <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <meta name="author" content="Tobias Gradl, University of Bamberg">
    <meta name="description" content="<tiles:insertAttribute name="title" />">
    <meta name="description" content="DARIAH-DE - Generic Search">
    <tiles:importAttribute name="styles" />  	
  	<c:forEach items="${styles}" var="css">
  		<link rel="stylesheet" href="<s:url value="/resources/css/${css}" />" type="text/css" media="screen, projection" />
13
14
  	</c:forEach>
  	  	
15
  	<c:if test="${customSearch!=null && customSearch.staticCustomSearch==true}">
16
17
18
19
  		<style>
  			<%@ include file="customSearch.css" %>
  		</style>  	
  	</c:if>
20
21
22
23
24
25
26
27
28
29
30
31
  	
  	<script type="text/javascript">
	  	var AppProperties = function() {
	  		this.refreshViews = <c:out value="${_refreshViews}"/>;
	  		this.refreshIntervalMs = 5000;
	  		this.notificationsArea = "#notifications-area";
	  		this.notificationsTimeoutMs = 5000;
	  		this.notificationsFadeSpeed = 400;
	  	};
	  	var __properties = new AppProperties();
  	</script>
  	
32
 		<!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
33
34
35
    <!--[if lt IE 9]>
      <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
36
 	<link rel="shortcut icon" type="image/png" href="<s:url value="/resources/img/favicon-template.png" />" />
37
</head>