-
Notifications
You must be signed in to change notification settings - Fork 21
/
generic.gsp
30 lines (26 loc) · 1.27 KB
/
generic.gsp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<g:applyLayout name="main">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<alatag:addApplicationMetaTags/>
<meta name="description" content="${grailsApplication.config.skin.orgNameLong}"/>
<meta name="author" content="${grailsApplication.config.skin.orgNameLong}">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title><g:layoutTitle /></title>
<asset:stylesheet src="alaBs.css" />
<asset:javascript src="alaBs.js" />
<g:layoutHead />
<hf:head/>
</head>
<body class="${pageProperty(name:'body.class')?:'nav-datasets'}" id="${pageProperty(name:'body.id')}" onload="${pageProperty(name:'body.onload')}">
<ala:systemMessage/>
<g:set var="fluidLayout" value="${grailsApplication.config.skin.fluidLayout?.toBoolean()}"/>
<div class="${fluidLayout?'container-fluid':'container'}" id="main-content">
<g:layoutBody />
</div>
<div class="${fluidLayout?'container-fluid':'container'} hidden-desktop">
<%-- Borrowed from http://marcusasplund.com/optout/ --%>
<a class="btn btn-small toggleResponsive"><i class="icon-resize-full"></i> <span>Desktop</span> version</a>
%{--<a class="btn btn-small toggleResponsive"><i class="icon-resize-full"></i> Desktop version</a>--}%
</div>
</body>
</g:applyLayout>