Changeset 1810

Show
Ignore:
Timestamp:
04-05-11 16:32:04 (3 years ago)
Author:
work@…
Message:

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

Location:
trunk
Files:
31 added
7 modified

Legend:

Unmodified
Added
Removed
  • trunk/application.properties

    r1809 r1810  
    11#Grails Metadata file 
    2 #Wed May 04 15:17:10 CEST 2011 
     2#Wed May 04 16:20:13 CEST 2011 
    33app.build.display.info=0 
    44app.build.svn.revision=1079 
     
    1313plugins.db-util=0.4 
    1414plugins.famfamfam=1.0.1 
    15 plugins.gdt=0.0.40 
     15plugins.gdt=0.0.41 
    1616plugins.gdtimporter=0.3.4 
    1717plugins.grom=0.2.2 
  • trunk/grails-app/views/importer/index.gsp

    r1489 r1810  
    1515<head> 
    1616        <meta name="layout" content="main"/> 
     17        <g:if env="development"> 
    1718        <link rel="stylesheet" href="${resource(dir: 'css', file: 'ajaxflow.css')}"/> 
    1819        <link rel="stylesheet" href="${resource(dir: 'css', file: 'importer.css')}"/> 
    1920        <link rel="stylesheet" href="${resource(dir: 'css', file: 'studywizard.css')}"/> 
    2021        <link rel="stylesheet" href="${resource(dir: 'css', file: 'table-editor.css', plugin: 'gdt')}"/> 
    21  
    2222        <script type="text/javascript" src="${resource(dir: 'js', file: 'studywizard.js')}"></script> 
    23  
    24         <g:if env="production"> 
    25         <script type="text/javascript" src="${resource(dir: 'js', file: 'jquery.qtip-1.0.0-rc3.min.js', plugin: 'gdt')}"></script> 
    26         <script type="text/javascript" src="${resource(dir: 'js', file: 'SelectAddMore.min.js', plugin: 'gdt')}"></script> 
    27         <script type="text/javascript" src="${resource(dir: 'js', file: 'ajaxupload.3.6.js')}"></script> 
    28         <script type="text/javascript" src="${resource(dir: 'js', file: 'ontology-chooser.min.js', plugin: 'gdt')}"></script> 
    29         <script type="text/javascript" src="${resource(dir: 'js', file: 'table-editor.js', plugin: 'gdt')}"></script> 
    30         <script type="text/javascript" src="${resource(dir: 'js', file: 'tooltips.js', plugin: 'gdt')}"></script> 
    31         </g:if><g:else> 
    3223        <script type="text/javascript" src="${resource(dir: 'js', file: 'jquery.qtip-1.0.0-rc3.js', plugin: 'gdt')}"></script> 
    3324        <script type="text/javascript" src="${resource(dir: 'js', file: 'SelectAddMore.js', plugin: 'gdt')}"></script> 
     
    3627        <script type="text/javascript" src="${resource(dir: 'js', file: 'table-editor.js', plugin: 'gdt')}"></script> 
    3728        <script type="text/javascript" src="${resource(dir: 'js', file: 'tooltips.js', plugin: 'gdt')}"></script> 
     29        </g:if><g:else> 
     30        <link rel="stylesheet" href="${resource(dir: 'css', file: 'ajaxflow.min.css')}"/> 
     31        <link rel="stylesheet" href="${resource(dir: 'css', file: 'importer.min.css')}"/> 
     32        <link rel="stylesheet" href="${resource(dir: 'css', file: 'studywizard.min.css')}"/> 
     33        <link rel="stylesheet" href="${resource(dir: 'css', file: 'table-editor.min.css', plugin: 'gdt')}"/> 
     34        <script type="text/javascript" src="${resource(dir: 'js', file: 'studywizard.min.js')}"></script> 
     35        <script type="text/javascript" src="${resource(dir: 'js', file: 'jquery.qtip-1.0.0-rc3.min.js', plugin: 'gdt')}"></script> 
     36        <script type="text/javascript" src="${resource(dir: 'js', file: 'SelectAddMore.min.js', plugin: 'gdt')}"></script> 
     37        <script type="text/javascript" src="${resource(dir: 'js', file: 'ajaxupload.3.6.min.js')}"></script> 
     38        <script type="text/javascript" src="${resource(dir: 'js', file: 'ontology-chooser.min.js', plugin: 'gdt')}"></script> 
     39        <script type="text/javascript" src="${resource(dir: 'js', file: 'table-editor.min.js', plugin: 'gdt')}"></script> 
     40        <script type="text/javascript" src="${resource(dir: 'js', file: 'tooltips.min.js', plugin: 'gdt')}"></script> 
    3841        </g:else> 
    39  
    4042</head> 
    4143<body> 
  • 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> 
  • trunk/grails-app/views/layouts/main.gsp

    r1772 r1810  
    99        <meta property="og:image" content="${resource(dir: 'images', file: 'facebookLike.png', absolute: true)}"/> 
    1010        <meta property="fb:admins" content="721482421"/> 
    11         <link rel="stylesheet" href="${resource(dir: 'css', file: 'default.css')}"/> 
    12         <link rel="stylesheet" href="${resource(dir: 'css', file: session.style + '.css')}"/> 
    13         <link rel="stylesheet" href="${resource(dir: 'css', file: 'login_panel.css')}"/> 
    1411        <link rel="shortcut icon" href="${resource(dir: 'images', file: 'favicon.ico')}" type="image/x-icon"/> 
    15         <g:javascript library="jquery" plugin="jquery"/>         
     12        <g:javascript library="jquery" plugin="jquery"/> 
    1613        <script type="text/javascript">var baseUrl = '${resource(dir: '')}';</script> 
    1714        <script src="${createLinkTo(dir: 'js', file: 'jquery-ui-1.8.7.custom.min.js')}" type="text/javascript"></script> 
    1815        <link rel="stylesheet" href="${createLinkTo(dir: 'css/cupertino', file: 'jquery-ui-1.8.7.custom.css')}"/> 
    1916        <g:if env="production"><script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script></g:if> 
     17        <g:if env="development"> 
     18                <link rel="stylesheet" href="${resource(dir: 'css', file: 'default.css')}"/> 
     19                <link rel="stylesheet" href="${resource(dir: 'css', file: session.style + '.css')}"/> 
     20                <link rel="stylesheet" href="${resource(dir: 'css', file: 'login_panel.css')}"/> 
     21                <script type="text/javascript" src="${resource(dir: 'js', file: 'disableKeys.js')}"></script> 
     22                <script type="text/javascript" src="${resource(dir: 'js', file: 'login_panel.js')}"></script> 
     23                <script type="text/javascript" src="${resource(dir: 'js', file: 'topnav.js')}"></script> 
     24                <link rel="stylesheet" href="${resource(dir: 'css/datatables', file: 'demo_table_jui.css')}"/> 
     25                <script type="text/javascript" src="${resource(dir: 'js', file: 'jquery.dataTables.min.js')}"></script> 
     26                <script type="text/javascript" src="${resource(dir: 'js', file: 'paginate.js')}"></script> 
     27        </g:if> 
     28        <g:else> 
     29                <link rel="stylesheet" href="${resource(dir: 'css', file: 'default.min.css')}"/> 
     30                <link rel="stylesheet" href="${resource(dir: 'css', file: session.style + '.min.css')}"/> 
     31                <link rel="stylesheet" href="${resource(dir: 'css', file: 'login_panel.min.css')}"/> 
     32                <script type="text/javascript" src="${resource(dir: 'js', file: 'disableKeys.min.js')}"></script> 
     33                <script type="text/javascript" src="${resource(dir: 'js', file: 'login_panel.min.js')}"></script> 
     34                <script type="text/javascript" src="${resource(dir: 'js', file: 'topnav.min.js')}"></script> 
     35                <link rel="stylesheet" href="${resource(dir: 'css/datatables', file: 'demo_table_jui.css')}"/> 
     36                <script type="text/javascript" src="${resource(dir: 'js', file: 'jquery.dataTables.min.js')}"></script> 
     37                <script type="text/javascript" src="${resource(dir: 'js', file: 'paginate.min.js')}"></script> 
     38        </g:else> 
    2039        <g:layoutHead/> 
    21         <script type="text/javascript" src="${resource(dir: 'js', file: 'disableKeys.js')}"></script> 
    22         <script type="text/javascript" src="${resource(dir: 'js', file: 'login_panel.js')}"></script> 
    23         <script type="text/javascript" src="${resource(dir: 'js', file: 'topnav.js')}"></script> 
    24         <!--<g:if env="development"><script type="text/javascript" src="${resource(dir: 'js', file: 'development.js')}"></script></g:if>//--> 
    25  
    26         <!--  Scripts for pagination using dataTables --> 
    27         <link rel="stylesheet" href="${resource(dir: 'css/datatables', file: 'demo_table_jui.css')}"/> 
    28         <script type="text/javascript" src="${resource(dir: 'js', file: 'jquery.dataTables.min.js')}"></script> 
    29         <script type="text/javascript" src="${resource(dir: 'js', file: 'paginate.js')}"></script> 
    30  
    3140</head> 
    3241<body> 
  • trunk/grails-app/views/layouts/nimble.gsp

    r1708 r1810  
    55 <head> 
    66  <title><g:layoutTitle default="Grails" /></title> 
    7   <link rel="stylesheet" href="${resource(dir:'css',file:session.style+'.css')}" /> 
    8   <link rel="stylesheet" href="${resource(dir:'css',file:'login_panel.css')}" /> 
    9   <link rel="shortcut icon" href="${resource(dir:'images',file:'favicon.ico')}" type="image/x-icon" /> 
    10         <g:javascript library="jquery" plugin="jquery"/> 
    11          <script type="text/javascript" src="${resource(dir: 'js', file: 'disableKeys.js')}"></script> 
    12          <script type="text/javascript" src="${resource(dir: 'js', file: 'login_panel.js')}"></script> 
    13          <script type="text/javascript" src="${resource(dir: 'js', file: 'topnav.js')}"></script> 
    14  
    15         <nh:nimblecore/> 
    16     <nh:nimbleui/> 
    17         <nh:growl/> 
    18  
    19     <script type="text/javascript"> 
    20       <njs:flashgrowl/> 
    21     </script> 
    22  
    23         <script type="text/javascript">var baseUrl = '${resource(dir: '')}';</script> 
    24         <script src="${createLinkTo(dir: 'js', file: 'jquery-ui-1.8.7.custom.min.js')}" type="text/javascript"></script> 
    25         <link rel="stylesheet" href="${createLinkTo(dir: 'css/cupertino', file: 'jquery-ui-1.8.7.custom.css')}"/> 
    26          <link rel="stylesheet" href="${resource(dir:'css',file:'nimble.css')}"/> 
    27  
    28         <g:layoutHead/> 
    29  
    30  
     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/> 
    3134 </head> 
    3235 
  • trunk/grails-app/views/simpleWizard/_javascripts.gsp

    r1794 r1810  
    1 <% /* Nice buttons */ %> 
    2 <link rel="stylesheet" href="<g:resource dir="css" file="buttons.css" />" type="text/css"/> 
     1<g:if env="development"> 
     2        <% /* Nice buttons */ %> 
     3        <link rel="stylesheet" href="<g:resource dir="css" file="buttons.css" />" type="text/css"/> 
    34 
    4 <% /* Generic wizard stylesheets and javascripts */ %> 
    5 <link rel="stylesheet" href="${resource(dir: 'css', file: 'studywizard.css')}" /> 
    6 <link rel="stylesheet" href="${resource(dir: 'css', file: 'templates.css')}" /> 
     5        <% /* Generic wizard stylesheets and javascripts */ %> 
     6        <link rel="stylesheet" href="${resource(dir: 'css', file: 'studywizard.css')}" /> 
     7        <link rel="stylesheet" href="${resource(dir: 'css', file: 'templates.css')}" /> 
    78 
    8 <script type="text/javascript" src="${resource(dir: 'js', file: 'studywizard.js' )}"></script> 
    9 <script type="text/javascript" src="${resource(dir: 'js', file: 'tooltips.js', plugin: 'gdt')}"></script> 
     9        <script type="text/javascript" src="${resource(dir: 'js', file: 'studywizard.js' )}"></script> 
     10        <script type="text/javascript" src="${resource(dir: 'js', file: 'tooltips.js', plugin: 'gdt')}"></script> 
    1011 
    11 <% /* Table editor */ %> 
    12 <link rel="stylesheet" href="${resource(dir: 'css', file: 'table-editor.css', plugin: 'gdt')}" /> 
    13 <script type="text/javascript" src="${resource(dir: 'js', file: 'table-editor.js', plugin: 'gdt')}"></script> 
     12        <% /* Table editor */ %> 
     13        <link rel="stylesheet" href="${resource(dir: 'css', file: 'table-editor.css', plugin: 'gdt')}" /> 
     14        <script type="text/javascript" src="${resource(dir: 'js', file: 'table-editor.js', plugin: 'gdt')}"></script> 
    1415 
    15 <script type="text/javascript" src="${resource(dir: 'js', file: 'jquery.qtip-1.0.0-rc3.js', plugin: 'gdt')}"></script> 
    16 <script type="text/javascript" src="${resource(dir: 'js', file: 'ontology-chooser.js', plugin: 'gdt')}"></script> 
    17 <script type="text/javascript" src="${resource(dir: 'js', file: 'publication-chooser.js')}"></script> 
    18 <script type="text/javascript" src="${resource(dir: 'js', file: 'publication-chooser.pubmed.js')}"></script> 
    19 <script type="text/javascript" src="${resource(dir: 'js', file: 'SelectAddMore.js', plugin: 'gdt')}"></script> 
    20 <script type="text/javascript" src="${resource(dir: 'js', file: 'timepicker-0.2.1.js')}"></script> 
    21 <script type="text/javascript" src="${resource(dir: 'js', file: 'ajaxupload.3.6.js')}"></script> 
    22 <script type="text/javascript" src="${resource(dir: 'js', file: 'jquery.ui.autocomplete.html.js', plugin: 'gdt')}"></script> 
     16        <script type="text/javascript" src="${resource(dir: 'js', file: 'jquery.qtip-1.0.0-rc3.js', plugin: 'gdt')}"></script> 
     17        <script type="text/javascript" src="${resource(dir: 'js', file: 'ontology-chooser.js', plugin: 'gdt')}"></script> 
     18        <script type="text/javascript" src="${resource(dir: 'js', file: 'publication-chooser.js')}"></script> 
     19        <script type="text/javascript" src="${resource(dir: 'js', file: 'publication-chooser.pubmed.js')}"></script> 
     20        <script type="text/javascript" src="${resource(dir: 'js', file: 'SelectAddMore.js', plugin: 'gdt')}"></script> 
     21        <script type="text/javascript" src="${resource(dir: 'js', file: 'timepicker-0.2.1.js')}"></script> 
     22        <script type="text/javascript" src="${resource(dir: 'js', file: 'ajaxupload.3.6.js')}"></script> 
     23        <script type="text/javascript" src="${resource(dir: 'js', file: 'jquery.ui.autocomplete.html.js', plugin: 'gdt')}"></script> 
    2324 
    24 <% /* fuzzy matching */ %> 
    25 <script type="text/javascript" src="${resource(dir: 'js', file: 'fuzzyStringMatch.js', plugin: 'gdt')}"></script> 
     25        <% /* fuzzy matching */ %> 
     26        <script type="text/javascript" src="${resource(dir: 'js', file: 'fuzzyStringMatch.js', plugin: 'gdt')}"></script> 
    2627 
    27 <% /* Specific simplewizard stuff */ %> 
    28 <script type="text/javascript" src="${resource(dir: 'js', file: 'simpleWizard.js' )}"></script> 
    29 <link rel="stylesheet" href="${resource(dir: 'css', file: 'simplewizard.css')}" /> 
     28        <% /* Specific simplewizard stuff */ %> 
     29        <script type="text/javascript" src="${resource(dir: 'js', file: 'simpleWizard.js' )}"></script> 
     30        <link rel="stylesheet" href="${resource(dir: 'css', file: 'simplewizard.css')}" /> 
     31</g:if> 
     32<g:else> 
     33        <link rel="stylesheet" href="<g:resource dir="css" file="buttons.min.css" />" type="text/css"/> 
     34        <link rel="stylesheet" href="${resource(dir: 'css', file: 'studywizard.min.css')}" /> 
     35        <link rel="stylesheet" href="${resource(dir: 'css', file: 'templates.min.css')}" /> 
     36        <script type="text/javascript" src="${resource(dir: 'js', file: 'studywizard.min.js' )}"></script> 
     37        <script type="text/javascript" src="${resource(dir: 'js', file: 'tooltips.min.js', plugin: 'gdt')}"></script> 
     38        <link rel="stylesheet" href="${resource(dir: 'css', file: 'table-editor.min.css', plugin: 'gdt')}" /> 
     39        <script type="text/javascript" src="${resource(dir: 'js', file: 'table-editor.min.js', plugin: 'gdt')}"></script> 
     40        <script type="text/javascript" src="${resource(dir: 'js', file: 'jquery.qtip-1.0.0-rc3.min.js', plugin: 'gdt')}"></script> 
     41        <script type="text/javascript" src="${resource(dir: 'js', file: 'ontology-chooser.min.js', plugin: 'gdt')}"></script> 
     42        <script type="text/javascript" src="${resource(dir: 'js', file: 'publication-chooser.min.js')}"></script> 
     43        <script type="text/javascript" src="${resource(dir: 'js', file: 'publication-chooser.pubmed.min.js')}"></script> 
     44        <script type="text/javascript" src="${resource(dir: 'js', file: 'SelectAddMore.min.js', plugin: 'gdt')}"></script> 
     45        <script type="text/javascript" src="${resource(dir: 'js', file: 'timepicker-0.2.1.min.js')}"></script> 
     46        <script type="text/javascript" src="${resource(dir: 'js', file: 'ajaxupload.3.6.min.js')}"></script> 
     47        <script type="text/javascript" src="${resource(dir: 'js', file: 'jquery.ui.autocomplete.html.min.js', plugin: 'gdt')}"></script> 
     48        <script type="text/javascript" src="${resource(dir: 'js', file: 'fuzzyStringMatch.min.js', plugin: 'gdt')}"></script> 
     49        <script type="text/javascript" src="${resource(dir: 'js', file: 'simpleWizard.min.js' )}"></script> 
     50        <link rel="stylesheet" href="${resource(dir: 'css', file: 'simplewizard.min.css')}" /> 
     51</g:else> 
    3052 
    3153<g:if test="${flash.validationErrors}"> 
  • 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>