source: trunk/grails-app/views/layouts/main.gsp @ 1434

Last change on this file since 1434 was 1434, checked in by work@…, 9 years ago
  • no facebook like in development :)
  • Property svn:keywords set to Rev Author Date
File size: 2.5 KB
Line 
1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3<html xmlns="http://www.w3.org/1999/xhtml" lang="en-EN" xml:lang="en-EN">
4<head>
5        <title><g:layoutTitle default="GSCF"/></title>
6        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
7        <meta property="og:type" content="non_profit"/>
8        <meta property="og:image" content="${resource(dir: 'images', file: 'facebookLike.png', absolute: true)}"/>
9        <meta property="fb:admins" content="721482421"/>
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        <link rel="shortcut icon" href="${resource(dir: 'images', file: 'favicon.ico')}" type="image/x-icon"/>
13        <g:javascript library="jquery" plugin="jquery"/>       
14        <script type="text/javascript">var baseUrl = '${resource(dir: '')}';</script>
15        <script src="${createLinkTo(dir: 'js', file: 'jquery-ui-1.8.7.custom.min.js')}" type="text/javascript"></script>
16        <link rel="stylesheet" href="${createLinkTo(dir: 'css/cupertino', file: 'jquery-ui-1.8.7.custom.css')}"/>
17        <g:if env="development"></g:if><g:else><script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script></g:else>
18        <g:layoutHead/>
19        <script type="text/javascript" src="${resource(dir: 'js', file: 'disableKeys.js')}"></script>
20        <script type="text/javascript" src="${resource(dir: 'js', file: 'login_panel.js')}"></script>
21        <script type="text/javascript" src="${resource(dir: 'js', file: 'topnav.js')}"></script>
22        <g:if env="development"><script type="text/javascript" src="${resource(dir: 'js', file: 'development.js')}"></script></g:if>
23</head>
24<body>
25<g:render template="/common/login_panel"/>
26<div class="container">
27        <div id="header">
28                <g:render template="/common/topnav"/>
29                <g:render template="/common/info"/>
30        </div>
31        <div id="content"><g:layoutBody/></div>
32        <g:if env="development"></g:if><g:else>
33        <g:if test="${facebookLikeUrl}">
34        <div id="facebookConnect">
35                <fb:like href="${resource(absolute: true)}${facebookLikeUrl}" show_faces="true" width="450" action="recommend" font="arial"></fb:like>
36        </div>
37        </g:if>
38        </g:else>
39        <div id="footer">
40                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>.
41                <g:if env="development">( style: <%=session.style%> )</g:if>
42        </div>
43        <img src="${resource(dir: 'images', file: 'beta-stamp.png')}" alt="beta">
44</div>
45</body>
46</html>
Note: See TracBrowser for help on using the repository browser.