Statistics
| Revision:

root / hci / trunk / .metadata / .plugins / org.eclipse.core.resources / .history / 73 / 90c5d3cf9e12001016bdca23e4db6bb5 @ 3

History | View | Annotate | Download (2.08 KB)

1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
<html xmlns="http://www.w3.org/1999/xhtml">
3
<head>
4
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5
	<title>Eneraptor &raquo; <g:layoutTitle /></title>
6
	<link rel="stylesheet" type="text/css" href="${g.resource(dir:'css/', file:'theme.css')}" />
7
	<link rel="stylesheet" type="text/css" href="${g.resource(dir:'css/', file:'style.css')}" />
8
	<!--[if IE]>
9
	<link rel="stylesheet" type="text/css" href="${g.resource(dir:'css/', file:'ie-sucks.css')}" />
10
	<![endif]-->
11
	<g:layoutHead />
12
	<g:javascript library="scriptaculous" />
13
</head>
14

    
15
<body onload="onLoadDo();">
16
	<div id="container">
17
		<h2>&nbsp;</h2>
18
		<div id="header">
19
			<div id="topmenu">
20
       			<ul>
21
           			<erptr:menu chosen="${controllerName}" />
22
         		</ul>
23
			</div><!-- /topmenu -->
24
   			<div id="top-panel">
25
       			<div id="panel">
26
           			<ul>
27
              			<erptr:subMenu menu="${controllerName}" />
28
           			</ul>
29
       			</div><!-- /panel -->
30
 			</div><!-- /top-pannel -->
31
 		</div><!-- /header -->
32
 		
33
   		<div id="wrapper">
34
       		<div id="content">
35
       			<g:if test="${flash.errors}">
36
					<erptr:errorBox>
37
						${flash.errors}
38
					</erptr:errorBox>
39
				</g:if>
40
				<g:if test="${flash.confirms}">
41
					<erptr:confirmBox>
42
						${flash.confirms}
43
					</erptr:confirmBox>
44
				</g:if>
45
       			<g:layoutBody />
46
       		</div><!-- /content -->
47
 		</div><!-- /wrapper -->
48
 		
49
   		<div id="footer">
50
   			<div id="credits">
51
				Copyright (c) 2011 by Eneraptor Team
52
   			</div>
53
   			<br />
54
		</div><!-- /footer -->
55
		
56
	</div><!-- /container -->
57
	
58
	<g:javascript>
59
	function onLoadDo() {
60
		<g:if test="${flash.confirms}">
61
			new Effect.Pulsate('confirmBox',{pulses:2, duration: 0.2, from: 0.5})
62
			new Effect.Fade('confirmBox', {duration: 3, delay: 3});		
63
		</g:if>
64
		<g:if test="${flash.errors}">
65
			new Effect.Shake('errorBox', {duration: 0.2, distance: 5})	
66
		</g:if>
67
	}
68
	</g:javascript>
69
	
70
</body>
71
</html>