root/trunk/grails-app/views/layouts/main.gsp @ 1875

Revision 1875, 3.5 KB (checked in by work@…, 3 years ago)

- datatables is in conflict with gdtimporter, also it is not required to be included on every page as it is only used in the advanced query page
- updated datatables to newest version

  • 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="GSCF"/></title>
7        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
8        <meta property="og:type" content="non_profit"/>
9        <meta property="og:image" content="${resource(dir: 'images', file: 'facebookLike.png', absolute: true)}"/>
10        <meta property="fb:admins" content="721482421"/>
11        <link rel="shortcut icon" href="${resource(dir: 'images', file: 'favicon.ico')}" type="image/x-icon"/>
12        <g:javascript library="jquery" plugin="jquery"/>
13        <script type="text/javascript">var baseUrl = '${resource(dir: '')}';</script>
14        <script src="${createLinkTo(dir: 'js', file: 'jquery-ui-1.8.13.custom.min.js')}" type="text/javascript"></script>
15        <link rel="stylesheet" href="${createLinkTo(dir: 'css/cupertino', file: 'jquery-ui-1.8.13.custom.css')}"/>
16        <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                <script type="text/javascript" src="${resource(dir: 'js', file: 'paginate.js')}"></script>
25                <script type="text/javascript" src="${resource(dir: 'js', file: 'removeWebflowExecutionFromMenu.min.js')}"></script>
26                <script type="text/javascript" src="${resource(dir: 'js', file: 'development.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                <script type="text/javascript" src="${resource(dir: 'js', file: 'paginate.min.js')}"></script>
36                <script type="text/javascript" src="${resource(dir: 'js', file: 'removeWebflowExecutionFromMenu.js')}"></script>
37        </g:else>
38        <g:layoutHead/>
39</head>
40<body>
41<g:render template="/common/login_panel"/>
42<div class="container">
43        <div id="header">
44                <g:render template="/common/topnav"/>
45                <g:render template="/common/info"/>
46        </div>
47        <div id="content"><g:layoutBody/></div>
48        <g:if env="production">
49        <g:if test="${facebookLikeUrl}">
50        <div id="facebookConnect">
51                <fb:like href="${resource(absolute: true)}${facebookLikeUrl}" show_faces="true" width="450" action="recommend" font="arial"></fb:like>
52        </div>
53        </g:if>
54        </g:if>
55        <div id="footer">
56                Copyright © 2008 - <g:formatDate format="yyyy" date="${new Date()}"/> NuGO, NMC and NBIC. All rights reserved. For more information go to <a href="http://dbnp.org">http://dbnp.org</a>.
57        </div>
58</div>
59</body>
60</html>
Note: See TracBrowser for help on using the browser.