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

Last change on this file since 52 was 52, checked in by duh, 13 years ago
  • created a special nimble layout which uses some of the nimble tags and some hardcoded css to fix style issues
  • created a nimble css (modified version of bundled css)
  • compatible with nimble snapshot 0.3
File size: 1.9 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  <!--
10    we'd rather like to use this tag, as this tag uses the proper jquery version
11    as maintained by the jquery plugin. However, nimble is conflicting at this
12    moment and tries to fetch jquery from it's plugin resource location (which
13    you can see in the HTML rendered version of this layout in the nimble views.
14    So for now we will use the hardcoded javascript tag instead and comment out:
15    <g:javascript library="jquery" />
16    @see http://jira.codehaus.org/browse/GRAILSPLUGINS-1658
17    @see http://github.com/intient/nimble/issues#issue/55
18  //-->
19  <script type="text/javascript" src="/gscf/js/jquery/jquery-1.3.2.js"></script>
20  <!-- /jquery //-->
21
22  <!-- layouthead //-->
23  <g:layoutHead />
24  <!-- /layouthead //-->
25  <script type="text/javascript" src="${resource(dir:'js', file:'login_panel.js')}"></script>
26  <script type="text/javascript" src="${resource(dir:'js', file:'topnav.js')}"></script>
27 </head>
28 <body>
29  <g:render template="/common/login_panel" />
30  <div class="container">
31   <div id="header">
32    <g:render template="/common/topnav" />
33   </div>
34   <div id="content"><g:layoutBody /></div>
35   <div id="footer">
36     Copyright © 2008 - <g:formatDate format="yyyy" date="${new Date()}"/> NMC & NuGO. All rights reserved.
37     ( style: <%=session.style%>,
38     <a href="?showSource=true">show page source</a>)</div>
39  </div>
40 </body>
41</html>
Note: See TracBrowser for help on using the repository browser.