root/trunk/grails-app/views/layouts/main.gsp @ 871

Revision 871, 1.8 KB (checked in by duh, 4 years ago)

- adding iPad / iOS jquery-ui handler to see if it works on iPad
- re-adding development buttons

  • Property svn:keywords set to Date Author Rev
Line 
1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3<html xmlns="http://www.w3.org/1999/xhtml" lang="en-EN" xml:lang="en-EN">
4<head>
5        <title><g:layoutTitle default="Grails"/></title>
6        <link rel="stylesheet" href="${resource(dir: 'css', file: session.style + '.css')}"/>
7        <link rel="stylesheet" href="${resource(dir: 'css', file: 'login_panel.css')}"/>
8        <link rel="shortcut icon" href="${resource(dir: 'images', file: 'favicon.ico')}" type="image/x-icon"/>
9        <g:javascript library="jquery" plugin="jquery"/>       
10        <script type="text/javascript">var baseUrl = '${resource(dir: '')}';</script>
11        <script src="${createLinkTo(dir: 'js', file: 'jquery-ui-1.8.2.custom.min.js')}" type="text/javascript"></script>
12        <script src="${createLinkTo(dir: 'js', file: 'jquery.ui.ipad.js')}" type="text/javascript"></script>
13        <link rel="stylesheet" href="${createLinkTo(dir: 'css/cupertino', file: 'jquery-ui-1.8.2.custom.css')}"/>
14        <g:layoutHead/>
15        <script type="text/javascript" src="${resource(dir: 'js', file: 'disableKeys.js')}"></script>
16        <script type="text/javascript" src="${resource(dir: 'js', file: 'login_panel.js')}"></script>
17        <script type="text/javascript" src="${resource(dir: 'js', file: 'topnav.js')}"></script>
18        <g:if env="development"><script type="text/javascript" src="${resource(dir: 'js', file: 'development.js')}"></script></g:if>
19</head>
20<body>
21<g:render template="/common/login_panel"/>
22<div class="container">
23        <div id="header">
24                <g:render template="/common/topnav"/>
25        </div>
26        <div id="content"><g:layoutBody/></div>
27        <div id="footer">
28                Copyright © 2008 - <g:formatDate format="yyyy" date="${new Date()}"/> NMC & NuGO. All rights reserved.
29                <g:if env="development">( style: <%=session.style%> )</g:if>
30        </div>
31        <g:if env="development"><g:render template="/common/feedback"/></g:if>
32</div>
33</body>
34</html>
Note: See TracBrowser for help on using the browser.