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

Last change on this file since 358 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
Line 
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2<html>
3    <head>
4        <title><g:layoutTitle default="gnuMims" /></title>
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" />
7        <g:layoutHead />
8        <g:helpBalloons/>
9        <nav:resources override="true"/>
10        <g:javascript library="application" />
11        <g:javascript library="prototype/effects" />
12        <g:javascript src="overlayPane.js" />
13        <jsUtil:resources />
14        <gnuMims:resources />
15    </head>
16
17    <!-- Added g:pageProperty so that onload in each page works -->
18    <body onload="${pageProperty(name: 'body.onload')}">
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;">
24                    <img src="${resource(dir:'images',file:'spinner.gif')}" alt="Spinner" />
25                </div> 
26                <div id="Header">
27                    <a href="http://www.gnumims.org" id=HeaderLink></a>
28                </div>
29
30                <g:isLoggedIn>
31                    <div class="appControl">
32                        <g:link controller="logout" class="logoutButton">
33                                Log out (<g:loggedInUsername/>)
34                        </g:link>
35                        <div id="menu">
36                            <nav:render group="nav"/>
37                        </div>
38                        <gnuMims:assetTreeButton />
39                    </div>
40                </g:isLoggedIn>
41
42                <g:layoutBody />
43
44            </div> <!-- content -->
45            <div id="bottom">
46            </div>
47        </div> <!-- wrapper -->
48
49        <!-- Asset Tree Pane -->
50        <gnuMims:assetTreePane />
51
52    </body>
53</html>
Note: See TracBrowser for help on using the repository browser.