Ignore:
Timestamp:
May 4, 2011, 4:32:04 PM (9 years ago)
Author:
work@…
Message:
  • added minified css / js support
  • gdt up to 0.0.41 (minified)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/views/layouts/dialog.gsp

    r1708 r1810  
    33"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    44<html xmlns="http://www.w3.org/1999/xhtml" lang="en-EN" xml:lang="en-EN">
    5  <head>
    6   <title><g:layoutTitle default="Grails"/></title><g:if env="production">
    7   <link rel="stylesheet" href="${resource(dir: 'css', file: 'dialog.min.css')}"/>
    8   </g:if><g:else>
    9   <link rel="stylesheet" href="${resource(dir: 'css', file: 'dialog.css')}"/>   
    10   </g:else>
    11   <g:javascript library="jquery" plugin="jquery"/>
    12   <script type="text/javascript">var baseUrl = '${resource(dir: '')}';</script>
    13   <script src="${createLinkTo(dir: 'js', file: 'jquery-ui-1.8.7.custom.min.js')}" type="text/javascript"></script>
    14   <script type="text/javascript" src="${resource(dir: 'js', file: 'disableKeys.js')}"></script>
    15   <link rel="stylesheet" href="${createLinkTo(dir: 'css/cupertino', file: 'jquery-ui-1.8.7.custom.css')}"/>
     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>
    1620  <g:layoutHead/>
    1721 </head>
Note: See TracChangeset for help on using the changeset viewer.