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

Last change on this file since 798 was 798, checked in by gav, 13 years ago

Svn merge -r752:r797 branches/features/taskProcedureRework into trunk/.

File size: 2.6 KB
RevLine 
[141]1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
[56]2<html>
3    <head>
[59]4        <title><g:layoutTitle default="gnuMims" /></title>
[151]5        <link rel="stylesheet" href="${resource(dir:'css',file:'main.css')}" />
6        <link rel="shortcut icon" href="${resource(dir:'images',file:'gnuMimsIcon.ico')}" type="image/x-icon" />
[798]7        <g:javascript library="jquery" />
[711]8        <g:javascript library="prototype/prototype" />
9        <g:javascript library="prototype/effects" />
[59]10        <g:javascript library="application" />
[306]11        <g:javascript src="overlayPane.js" />
[322]12        <jsUtil:resources />
[312]13        <gnuMims:resources />
[711]14        <nav:resources override="true"/>
15        <g:helpBalloons icon="${resource(plugin:'help-balloons', dir:'images', file:'balloon-icon.gif')}"
16                                        button="${resource(plugin:'help-balloons', dir:'images', file:'balloon-button.png')}"
17                                        balloonPrefix="${resource(plugin:'help-balloons', dir:'images')}/balloon-"/>
18        <g:layoutHead />
[56]19    </head>
[142]20
[73]21    <!-- Added g:pageProperty so that onload in each page works -->
[313]22    <body onload="${pageProperty(name: 'body.onload')}">
[98]23        <div id="wrapper" style="height: 100%;">
24            <div id="top">
25            </div>
26            <div id="content" align="center">
27                <div id="spinner" class="spinner" style="display:none;">
[452]28                    <img src="${resource(dir:'images',file:'loading_bar.gif')}" alt="Spinner" />
[98]29                </div>
[519]30                <g:if env="production">
31                    <div id="Header">
32                        <a href="http://www.gnumims.org" id=HeaderLink></a>
33                    </div>
34                </g:if>
35                <g:else>
36                    <div id="HeaderDev">
37                        <a href="http://www.gnumims.org" id=HeaderLink></a>
38                    </div>
39                </g:else>
[142]40
[141]41                <g:isLoggedIn>
[142]42                    <div class="appControl">
[141]43                        <g:link controller="logout" class="logoutButton">
44                                Log out (<g:loggedInUsername/>)
45                        </g:link>
[139]46                        <div id="menu">
47                            <nav:render group="nav"/>
[142]48                        </div>
[306]49                        <gnuMims:assetTreeButton />
[141]50                    </div>
[306]51                </g:isLoggedIn>
[110]52
[139]53                <g:layoutBody />
[110]54
[139]55            </div> <!-- content -->
[98]56            <div id="bottom">
57            </div>
[139]58        </div> <!-- wrapper -->
[306]59
60        <!-- Asset Tree Pane -->
[312]61        <gnuMims:assetTreePane />
[306]62
63    </body>
[56]64</html>
Note: See TracBrowser for help on using the repository browser.