root/trunk/grails-app/views/layouts/nimble.gsp @ 1810

Revision 1810, 2.4 KB (checked in by work@…, 3 years ago)

- added minified css / js support
- gdt up to 0.0.41 (minified)

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