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

Revision 1810, 1.3 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
RevLine 
[1708]1<%@page contentType="text/html; charset=UTF-8" %>
[344]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">
[1810]5<head>
6        <title><g:layoutTitle default="Grails"/></title>
7        <g:javascript library="jquery" plugin="jquery"/>
8        <script type="text/javascript">var baseUrl = '${resource(dir: '')}';</script>
9        <g:if env="development">
10                <link rel="stylesheet" href="${resource(dir: 'css', file: 'dialog.css')}"/>
11                <script src="${createLinkTo(dir: 'js', file: 'jquery-ui-1.8.7.custom.min.js')}" type="text/javascript"></script>
12                <script type="text/javascript" src="${resource(dir: 'js', file: 'disableKeys.js')}"></script>
13                <link rel="stylesheet" href="${createLinkTo(dir: 'css/cupertino', file: 'jquery-ui-1.8.7.custom.css')}"/>
14        </g:if><g:else>
15                <link rel="stylesheet" href="${resource(dir: 'css', file: 'dialog.min.css')}"/>
16                <script src="${createLinkTo(dir: 'js', file: 'jquery-ui-1.8.7.custom.min.js')}" type="text/javascript"></script>
17                <script type="text/javascript" src="${resource(dir: 'js', file: 'disableKeys.min.js')}"></script>
18                <link rel="stylesheet" href="${createLinkTo(dir: 'css/cupertino', file: 'jquery-ui-1.8.7.custom.css')}"/>
19        </g:else>
[436]20  <g:layoutHead/>
[344]21 </head>
22 <body>
23 <g:layoutBody/>
24 </body>
25</html>
Note: See TracBrowser for help on using the browser.