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

Last change on this file since 1241 was 1241, checked in by work@…, 12 years ago
  • added Facebook like support
  • Property svn:keywords set to Author Date Rev
File size: 2.1 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="Grails"/></title>
6        <link rel="stylesheet" href="${resource(dir: 'css', file: session.style + '.css')}"/>
7        <link rel="stylesheet" href="${resource(dir: 'css', file: 'login_panel.css')}"/>
8        <link rel="shortcut icon" href="${resource(dir: 'images', file: 'favicon.ico')}" type="image/x-icon"/>
9        <g:javascript library="jquery" plugin="jquery"/>       
10        <script type="text/javascript">var baseUrl = '${resource(dir: '')}';</script>
11        <script src="${createLinkTo(dir: 'js', file: 'jquery-ui-1.8.5.custom.min.js')}" type="text/javascript"></script>
12        <link rel="stylesheet" href="${createLinkTo(dir: 'css/cupertino', file: 'jquery-ui-1.8.5.custom.css')}"/>
13        <g:layoutHead/>
14        <script type="text/javascript" src="${resource(dir: 'js', file: 'disableKeys.js')}"></script>
15        <script type="text/javascript" src="${resource(dir: 'js', file: 'login_panel.js')}"></script>
16        <script type="text/javascript" src="${resource(dir: 'js', file: 'topnav.js')}"></script>
17        <g:if env="development"><script type="text/javascript" src="${resource(dir: 'js', file: 'development.js')}"></script></g:if>
18    <script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script>
19</head>
20<body>
21<g:render template="/common/login_panel"/>
22<div class="container">
23        <div id="header">
24                <g:render template="/common/topnav"/>
25                <g:render template="/common/info"/>
26        </div>
27        <div id="content"><g:layoutBody/></div>
28        <g:if test="${facebookLikeUrl}">
29        <div id="facebookConnect">
30                <fb:like href="${resource(absolute: true)}${facebookLikeUrl}" show_faces="true" width="450" action="recommend" font="arial"></fb:like>
31        </div>
32        </g:if>
33        <div id="footer">
34                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>.
35                <g:if env="development">( style: <%=session.style%> )</g:if>
36        </div>
37        <img src="${resource(dir: 'images', file: 'beta-stamp.png')}" alt="beta">
38</div>
39</body>
40</html>
Note: See TracBrowser for help on using the repository browser.