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

Last change on this file since 1772 was 1772, checked in by robert@…, 9 years ago

Refactored stylesheets to avoid duplicate code. See #411

  • Property svn:keywords set to Rev Author Date
File size: 2.8 KB
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="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')}"/>
14        <link rel="shortcut icon" href="${resource(dir: 'images', file: 'favicon.ico')}" type="image/x-icon"/>
15        <g:javascript library="jquery" plugin="jquery"/>       
16        <script type="text/javascript">var baseUrl = '${resource(dir: '')}';</script>
17        <script src="${createLinkTo(dir: 'js', file: 'jquery-ui-1.8.7.custom.min.js')}" type="text/javascript"></script>
18        <link rel="stylesheet" href="${createLinkTo(dir: 'css/cupertino', file: 'jquery-ui-1.8.7.custom.css')}"/>
19        <g:if env="production"><script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script></g:if>
20        <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
31</head>
32<body>
33<g:render template="/common/login_panel"/>
34<div class="container">
35        <div id="header">
36                <g:render template="/common/topnav"/>
37                <g:render template="/common/info"/>
38        </div>
39        <div id="content"><g:layoutBody/></div>
40        <g:if env="production">
41        <g:if test="${facebookLikeUrl}">
42        <div id="facebookConnect">
43                <fb:like href="${resource(absolute: true)}${facebookLikeUrl}" show_faces="true" width="450" action="recommend" font="arial"></fb:like>
44        </div>
45        </g:if>
46        </g:if>
47        <div id="footer">
48                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>.
49        </div>
50</div>
51</body>
52</html>
Note: See TracBrowser for help on using the repository browser.