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 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-"/> |
---|
11 | <nav:resources override="true"/> |
---|
12 | <g:javascript library="application" /> |
---|
13 | <g:javascript library="prototype/effects" /> |
---|
14 | <g:javascript src="overlayPane.js" /> |
---|
15 | <jsUtil:resources /> |
---|
16 | <gnuMims:resources /> |
---|
17 | </head> |
---|
18 | |
---|
19 | <!-- Added g:pageProperty so that onload in each page works --> |
---|
20 | <body onload="${pageProperty(name: 'body.onload')}"> |
---|
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;"> |
---|
26 | <img src="${resource(dir:'images',file:'loading_bar.gif')}" alt="Spinner" /> |
---|
27 | </div> |
---|
28 | <g:if env="production"> |
---|
29 | <div id="Header"> |
---|
30 | <a href="http://www.gnumims.org" id=HeaderLink></a> |
---|
31 | </div> |
---|
32 | </g:if> |
---|
33 | <g:else> |
---|
34 | <div id="HeaderDev"> |
---|
35 | <a href="http://www.gnumims.org" id=HeaderLink></a> |
---|
36 | </div> |
---|
37 | </g:else> |
---|
38 | |
---|
39 | <g:isLoggedIn> |
---|
40 | <div class="appControl"> |
---|
41 | <g:link controller="logout" class="logoutButton"> |
---|
42 | Log out (<g:loggedInUsername/>) |
---|
43 | </g:link> |
---|
44 | <div id="menu"> |
---|
45 | <nav:render group="nav"/> |
---|
46 | </div> |
---|
47 | <gnuMims:assetTreeButton /> |
---|
48 | </div> |
---|
49 | </g:isLoggedIn> |
---|
50 | |
---|
51 | <g:layoutBody /> |
---|
52 | |
---|
53 | </div> <!-- content --> |
---|
54 | <div id="bottom"> |
---|
55 | </div> |
---|
56 | </div> <!-- wrapper --> |
---|
57 | |
---|
58 | <!-- Asset Tree Pane --> |
---|
59 | <gnuMims:assetTreePane /> |
---|
60 | |
---|
61 | </body> |
---|
62 | </html> |
---|