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

Last change on this file since 254 was 182, checked in by gav, 15 years ago

Add support for inventory item Pictures and Images.
Add new PersonService, refactor CreateDataService and TaskService to suite.

File size: 1.7 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" />
[56]12    </head>
[142]13
[73]14    <!-- Added g:pageProperty so that onload in each page works -->
15    <body onload="<g:pageProperty name='body.onload'/>">
[98]16        <div id="wrapper" style="height: 100%;">
17            <div id="top">
18            </div>
19            <div id="content" align="center">
20                <div id="spinner" class="spinner" style="display:none;">
[151]21                    <img src="${resource(dir:'images',file:'spinner.gif')}" alt="Spinner" />
[98]22                </div> 
23                <div id="Header">
24                    <a href="http://www.gnumims.org" id=HeaderLink></a>
25                </div>
[142]26
[141]27                <g:isLoggedIn>
[142]28                    <div class="appControl">
[141]29                        <g:link controller="logout" class="logoutButton">
30                                Log out (<g:loggedInUsername/>)
31                        </g:link>
[139]32                        <div id="menu">
33                            <nav:render group="nav"/>
[142]34                        </div>
[141]35                    </div>
36                </g:isLoggedIn>   
[110]37
[139]38                <g:layoutBody />
[110]39
[139]40            </div> <!-- content -->
[98]41            <div id="bottom">
42            </div>
[139]43        </div> <!-- wrapper -->
[56]44    </body>     
45</html>
Note: See TracBrowser for help on using the repository browser.