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

Last change on this file since 480 was 452, checked in by gav, 15 years ago

Replace ajax spinner with a new loading bar.

File size: 2.3 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" />
[56]7        <g:layoutHead />
[449]8        <g:helpBalloons icon="${resource(plugin:'help-balloons', dir:'images', file:'balloon-icon.gif')}"
9                                        button="${resource(plugin:'help-balloons', dir:'images', file:'balloon-button.png')}"
10                                        balloonPrefix="${resource(plugin:'help-balloons', dir:'images')}/balloon-"/>
[139]11        <nav:resources override="true"/>
[59]12        <g:javascript library="application" />
[182]13        <g:javascript library="prototype/effects" />
[306]14        <g:javascript src="overlayPane.js" />
[322]15        <jsUtil:resources />
[312]16        <gnuMims:resources />
[56]17    </head>
[142]18
[73]19    <!-- Added g:pageProperty so that onload in each page works -->
[313]20    <body onload="${pageProperty(name: 'body.onload')}">
[98]21        <div id="wrapper" style="height: 100%;">
22            <div id="top">
23            </div>
24            <div id="content" align="center">
25                <div id="spinner" class="spinner" style="display:none;">
[452]26                    <img src="${resource(dir:'images',file:'loading_bar.gif')}" alt="Spinner" />
[98]27                </div> 
28                <div id="Header">
29                    <a href="http://www.gnumims.org" id=HeaderLink></a>
30                </div>
[142]31
[141]32                <g:isLoggedIn>
[142]33                    <div class="appControl">
[141]34                        <g:link controller="logout" class="logoutButton">
35                                Log out (<g:loggedInUsername/>)
36                        </g:link>
[139]37                        <div id="menu">
38                            <nav:render group="nav"/>
[142]39                        </div>
[306]40                        <gnuMims:assetTreeButton />
[141]41                    </div>
[306]42                </g:isLoggedIn>
[110]43
[139]44                <g:layoutBody />
[110]45
[139]46            </div> <!-- content -->
[98]47            <div id="bottom">
48            </div>
[139]49        </div> <!-- wrapper -->
[306]50
51        <!-- Asset Tree Pane -->
[312]52        <gnuMims:assetTreePane />
[306]53
54    </body>
[56]55</html>
Note: See TracBrowser for help on using the repository browser.