Ignore:
Timestamp:
May 4, 2011, 4:32:04 PM (8 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/studyWizard/index.gsp

    r1794 r1810  
    1818        <link rel="stylesheet" href="${resource(dir: 'css', file: 'studywizard.css')}"/>
    1919        <link rel="stylesheet" href="${resource(dir: 'css', file: 'templates.css')}"/>
    20         <script type="text/javascript" src="${resource(dir: 'js', file: 'studywizard.js')}"></script>
    21         <script type="text/javascript" src="${resource(dir: 'js', file: 'tooltips.js', plugin: 'gdt')}"></script>
    22         <link rel="stylesheet" href="${resource(dir: 'css', file: 'table-editor.css', plugin: 'gdt')}"/>
    23         <script type="text/javascript" src="${resource(dir: 'js', file: 'table-editor.js', plugin: 'gdt')}"></script>
    24         <script type="text/javascript" src="${resource(dir: 'js', file: 'fuzzyStringMatch.js', plugin: 'gdt')}"></script>
    25         <script type="text/javascript" src="${resource(dir: 'js', file: 'jquery.qtip-1.0.0-rc3.js', plugin: 'gdt')}"></script>
    26         <script type="text/javascript" src="${resource(dir: 'js', file: 'ontology-chooser.js', plugin: 'gdt')}"></script>
    27         <script type="text/javascript" src="${resource(dir: 'js', file: 'publication-chooser.js')}"></script>
    28         <script type="text/javascript" src="${resource(dir: 'js', file: 'publication-chooser.pubmed.js')}"></script>
    29         <script type="text/javascript" src="${resource(dir: 'js', file: 'SelectAddMore.js', plugin: 'gdt')}"></script>
    30         <script type="text/javascript" src="${resource(dir: 'js', file: 'timepicker-0.2.1.js')}"></script>
    31         <script type="text/javascript" src="${resource(dir: 'js', file: 'ajaxupload.3.6.js')}"></script>
    32         <script type="text/javascript" src="${resource(dir: 'js', file: 'jquery.ui.autocomplete.html.js', plugin: 'gdt')}"></script>
    3320
     21        <g:if env="development">
     22                <script type="text/javascript" src="${resource(dir: 'js', file: 'studywizard.js')}"></script>
     23                <script type="text/javascript" src="${resource(dir: 'js', file: 'tooltips.js', plugin: 'gdt')}"></script>
     24                <link rel="stylesheet" href="${resource(dir: 'css', file: 'table-editor.css', plugin: 'gdt')}"/>
     25                <script type="text/javascript" src="${resource(dir: 'js', file: 'table-editor.js', plugin: 'gdt')}"></script>
     26                <script type="text/javascript" src="${resource(dir: 'js', file: 'fuzzyStringMatch.js', plugin: 'gdt')}"></script>
     27                <script type="text/javascript" src="${resource(dir: 'js', file: 'jquery.qtip-1.0.0-rc3.js', plugin: 'gdt')}"></script>
     28                <script type="text/javascript" src="${resource(dir: 'js', file: 'ontology-chooser.js', plugin: 'gdt')}"></script>
     29                <script type="text/javascript" src="${resource(dir: 'js', file: 'publication-chooser.js')}"></script>
     30                <script type="text/javascript" src="${resource(dir: 'js', file: 'publication-chooser.pubmed.js')}"></script>
     31                <script type="text/javascript" src="${resource(dir: 'js', file: 'SelectAddMore.js', plugin: 'gdt')}"></script>
     32                <script type="text/javascript" src="${resource(dir: 'js', file: 'timepicker-0.2.1.js')}"></script>
     33                <script type="text/javascript" src="${resource(dir: 'js', file: 'ajaxupload.3.6.js')}"></script>
     34                <script type="text/javascript" src="${resource(dir: 'js', file: 'jquery.ui.autocomplete.html.js', plugin: 'gdt')}"></script>
     35        </g:if>
     36        <g:else>
     37                <script type="text/javascript" src="${resource(dir: 'js', file: 'studywizard.min.js')}"></script>
     38                <script type="text/javascript" src="${resource(dir: 'js', file: 'tooltips.min.js', plugin: 'gdt')}"></script>
     39                <link rel="stylesheet" href="${resource(dir: 'css', file: 'table-editor.min.css', plugin: 'gdt')}"/>
     40                <script type="text/javascript" src="${resource(dir: 'js', file: 'table-editor.min.js', plugin: 'gdt')}"></script>
     41                <script type="text/javascript" src="${resource(dir: 'js', file: 'fuzzyStringMatch.min.js', plugin: 'gdt')}"></script>
     42                <script type="text/javascript" src="${resource(dir: 'js', file: 'jquery.qtip-1.0.0-rc3.min.js', plugin: 'gdt')}"></script>
     43                <script type="text/javascript" src="${resource(dir: 'js', file: 'ontology-chooser.min.js', plugin: 'gdt')}"></script>
     44                <script type="text/javascript" src="${resource(dir: 'js', file: 'publication-chooser.min.js')}"></script>
     45                <script type="text/javascript" src="${resource(dir: 'js', file: 'publication-chooser.pubmed.min.js')}"></script>
     46                <script type="text/javascript" src="${resource(dir: 'js', file: 'SelectAddMore.min.js', plugin: 'gdt')}"></script>
     47                <script type="text/javascript" src="${resource(dir: 'js', file: 'timepicker-0.2.1.min.js')}"></script>
     48                <script type="text/javascript" src="${resource(dir: 'js', file: 'ajaxupload.3.6.min.js')}"></script>
     49                <script type="text/javascript" src="${resource(dir: 'js', file: 'jquery.ui.autocomplete.html.min.js', plugin: 'gdt')}"></script>
     50        </g:else>
    3451</head>
    3552<body>
Note: See TracChangeset for help on using the changeset viewer.