index.xhtml 1.44 KB
Newer Older
1
2
3
4
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
		"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
5
6
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core">
7
8
9
10
11

<f:view contentType="text/html">


	<h:head>
12
13
		<h:outputStylesheet library="css" name="minerva.css" />
		<h:outputStylesheet library="css" name="style.css" />
14

15
16
		<link rel="shortcut icon" href="./resources/images/favicon.png"
			type="image/png" />
17

18
19
		<h:outputScript library="js" name="BrowserCheck.js" />
		<h:outputScript library="js" name="minerva.js" target="body" />
20
21
22

		<script type="text/javascript">
			//<![CDATA[
23
    
24
			function initMap(){
25
				BrowserCheck();
26
27
28
29
30
31
32
33
34
35
36
37
38
39
				var element = document.getElementById('minervaAppDiv');
				return minerva.create({
					element : element,
				}).then(function(result){
					customMap = result;
					document.title = result.getProject().getName();
				}).catch(function(rejectReason){
					minerva.GuiConnector.alert(rejectReason, true);
				});
			}

			//]]>
		</script>
	</h:head>
40
41
42
43
44
45
46
47
	<h:body onload="initMap();">

		<div id="minervaAppDiv" style="height: 100%; width: 100%; margin: 0;">
			<div style='position: relative; width: 100%; height: 100%'>
				<img src='resources/images/icons/ajax-loader.gif'
					style='position: absolute; top: 0; bottom: 0; left: 0; right: 0; margin: auto;' />
			</div>
		</div>
48
49
50
51
	</h:body>
</f:view>
</html>