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

Last change on this file since 387 was 322, checked in by gav, 15 years ago

Move JavascriptService to JsUtilService.
Consolidate similar JsUtilService methods.
Create JsUtilTagLib?.
Disable pulsing of asset tree loading image.

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