Ticket #1636: reservr.html

File reservr.html, 2.2 kB (added by Mauno Haukila, 6 months ago)

Custom index page that works with linux hosted mode.

Line 
1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml">
3<head>
4        <title>IT Mill Toolkit 5 Demo: Reservr</title>
5        <!-- 
6                Google Maps needs an API key if you're not running this demo on "localhost".
7               
8                You can get a Google Maps API key here:
9                        http://www.google.com/apis/maps/signup.html
10               
11                Append your Google Maps API key to the src -attribute below, like so:
12                        src="http://maps.google.com/maps?file=api&v=2&key=XXXXXXXX"
13                where the X:s represent your key.
14                Example for http://toolkit.itmill.com:
15                <script src="http://maps.google.com/maps?file=api&v=2&key=ABQIAAAA4q5gw_y_N1Anvvn1KqbLwRTHuC2ERVOT66iQW8-FqpCQQUlHqBTZ0rGKdlKh9fxQOKN87TCwVNlIXQ" type="text/javascript"></script>     
16        -->
17        <script src="http://maps.google.com/maps?file=api&v=2" type="text/javascript"></script>
18        <script language='javascript' src='/ToolkitTrunk/ITMILL/widgetsets/com.itmill.toolkit.demo.reservation.gwt.ReservationWidgetSet/com.itmill.toolkit.demo.reservation.gwt.ReservationWidgetSet.nocache.js'></script>
19</head>
20<body>
21        <iframe id="__gwt_historyFrame" style="width:0;height:0;border:0;overflow:hidden" src="javascript:false"></iframe>
22        <div id="header">
23                <span id="logo"> Reservr Inc</span>
24                <span id="arrow"> </span>
25                <span id="slogan">Representational cars on-the-road</span>
26        </div>
27        <script type="text/javascript">
28        if(!itmill || !itmill.toolkitConfigurations) {
29         if(!itmill) { var itmill = {}} 
30        itmill.toolkitConfigurations = {};
31        itmill.themesLoaded = {};
32        }
33        itmill.toolkitConfigurations["itmill-ajax-window"] = {appUri:'/ToolkitTrunk/Reservr', pathInfo: '/', themeUri:'/ToolkitTrunk/ITMILL/themes/reservr'};
34        </script>
35        <script type="text/javascript">
36
37        if(!itmill.themesLoaded['reservr']) {   
38        var stylesheet = document.createElement('link');
39        stylesheet.setAttribute('rel', 'stylesheet');
40        stylesheet.setAttribute('type', 'text/css');
41        stylesheet.setAttribute('href', '/ToolkitTrunk/ITMILL/themes/reservr/styles.css');
42        document.getElementsByTagName('head')[0].appendChild(stylesheet);
43        itmill.themesLoaded['reservr'] = true;
44        }
45
46        </script>
47        <div id="itmill-ajax-window" class="i-app"></div>       
48</body>
49</html>