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

Last change on this file since 272 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
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    </head>
13
14    <!-- Added g:pageProperty so that onload in each page works -->
15    <body onload="<g:pageProperty name='body.onload'/>">
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;">
21                    <img src="${resource(dir:'images',file:'spinner.gif')}" alt="Spinner" />
22                </div> 
23                <div id="Header">
24                    <a href="http://www.gnumims.org" id=HeaderLink></a>
25                </div>
26
27                <g:isLoggedIn>
28                    <div class="appControl">
29                        <g:link controller="logout" class="logoutButton">
30                                Log out (<g:loggedInUsername/>)
31                        </g:link>
32                        <div id="menu">
33                            <nav:render group="nav"/>
34                        </div>
35                    </div>
36                </g:isLoggedIn>   
37
38                <g:layoutBody />
39
40            </div> <!-- content -->
41            <div id="bottom">
42            </div>
43        </div> <!-- wrapper -->
44    </body>     
45</html>
Note: See TracBrowser for help on using the repository browser.