head.jsp 1.77 KB
Newer Older
1
2
3
4
5
6
7
8
9
<%@ 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">
10
11
    <tiles:importAttribute name="genericStyles" />  	
  	<c:forEach items="${genericStyles}" var="css">
12
  		<link rel="stylesheet" href="<s:url value="/resources/css/${css}" />" type="text/css" media="screen, projection" />
13
  	</c:forEach>
14
15
16
17
  	<tiles:importAttribute name="templateStyles" />
  	<c:forEach items="${templateStyles}" var="css">
  		<link rel="stylesheet" href="<s:url value="/themes/${css}" />" type="text/css" media="screen, projection" />
  	</c:forEach>
18

19
20
  	<script type="text/javascript">
	  	var AppProperties = function() {
21
	  		this.refreshViews = <c:out value="${_refreshViews==null ? true : _refreshViews}"/>;
22
23
24
25
26
27
28
29
	  		this.refreshIntervalMs = 5000;
	  		this.notificationsArea = "#notifications-area";
	  		this.notificationsTimeoutMs = 5000;
	  		this.notificationsFadeSpeed = 400;
	  	};
	  	var __properties = new AppProperties();
  	</script>
  	
30
 		<!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
31
32
33
    <!--[if lt IE 9]>
      <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
34
35
 	<link rel="shortcut icon" type="image/x-icon" href="<s:url value="/theme/img/favicon.ico" />">
	<link rel="icon" type="image/png" href="<s:url value="/theme/img/favicon.png" />">
36
</head>