Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Genesys PGR
Genesys Backend
Commits
44f45f8c
Commit
44f45f8c
authored
Jan 15, 2014
by
Matija Obreza
Browse files
Decorators
parent
7fc4145f
Changes
7
Expand all
Hide whitespace changes
Inline
Side-by-side
src/main/webapp/WEB-INF/decorator/entry.jsp
View file @
44f45f8c
<%@include
file=
"/WEB-INF/jsp/init.jsp"
%>
<%@ taglib
prefix=
"sec"
uri=
"http://www.springframework.org/security/tags"
%>
<html
dir=
"${pageContext.response.locale.language=='fa' || pageContext.response.locale.language=='ar' ? 'rtl' : 'ltr'}"
>
<head>
<title><sitemesh:write
property=
"title"
/></title>
<%@include
file=
"/WEB-INF/jsp/head-init.jsp"
%>
<meta
charset=
"utf-8"
>
<%--Locked Compatible Mode for IE--%>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge,chrome=1"
>
<meta
name=
"description"
content=
""
>
<meta
name=
"viewport"
content=
"width=device-width"
>
<!DOCTYPE html>
<link
type=
"text/css"
href=
"/html/css/bootstrap.css"
rel=
"stylesheet"
/>
<link
type=
"text/css"
href=
"/html/css/custom.css"
rel=
"stylesheet"
/>
<script
type=
"text/javascript"
src=
"/html/js/jquery.min.js"
></script>
<html
lang=
"${pageContext.response.locale.language}"
dir=
"${pageContext.response.locale.language=='fa' || pageContext.response.locale.language=='ar' ? 'rtl' : 'ltr'}"
>
<head>
<meta
charset=
"utf-8"
/>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge"
/>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0"
/>
<meta
name=
"description"
content=
""
/>
<meta
name=
"author"
content=
""
/>
<!--
<script type="text/javascript" src="/html/js/modernizr-2.6.2.min.js"></script>
<script type="text/javascript" src="/html/js/plugins.js"></script>
<script type="text/javascript" src="/html/js/jquery.validate.js"></script>
<script type="text/javascript" src="/html/js/custom.js"></script>
<link rel="shortcut icon" href="../../docs-assets/ico/favicon.png" />
-->
<title><sitemesh:write
property=
"title"
/></title>
<!-- Bootstrap core CSS -->
<link
href=
"/html/css/bootstrap.css"
rel=
"stylesheet"
/>
<!-- Custom styles for this template -->
<link
href=
"/html/css/custom.css"
rel=
"stylesheet"
/>
<link
href=
"/html/font/forza.css"
rel=
"stylesheet"
/>
<link type="text/css" href="/html/css/jquery-ui.css" rel="stylesheet" />
<link type="text/css" href="/html/css/jquery.dataTables.css" rel="stylesheet" />
-->
<%--Fallback for older browsers--%>
<!--
<script type="text/javascript" src="/html/js/json2.js"></script>
<script type="text/javascript" src="/html/js/globalize.js"></script>
<script type="text/javascript" src="/html/js/jquery-ui.min.js"></script>
<script type="text/javascript" src="/html/js/jquery.dataTables.js"></script>
<script type="text/javascript" src="/html/js/handlebars.js"></script> -->
<script
type=
"text/javascript"
src=
"/html/js/bootstrap.min.js"
></script>
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
<![endif]-->
<script
type=
"text/javascript"
src=
"/html/js/crophub.js"
></script>
<!--
--><!-- <script type="text/javascript" src="/html/js/main.js"></script>
-->
<sitemesh:write
property=
"head"
/>
<sitemesh:write
property=
"head"
/>
</head>
<body>
<sec:authentication
var=
"user"
property=
"principal"
/>
<sec
urity
:authentication
var=
"user"
property=
"principal"
/>
<div
id=
"wrap"
>
<div
class=
"container"
>
<%@include
file=
"header.jsp"
%>
<%@include
file=
"menu.jsp"
%>
<%@include
file=
"header.jsp"
%>
<%@include
file=
"menu.jsp"
%>
<div
id=
"content"
class=
"clearfix"
>
<div
id=
"dialog"
></div
>
<div
class=
"clearfix"
>
<sitemesh:write
property=
"body"
/
>
<
/div
>
<div
id=
"content"
class=
"clearfix"
>
<div
class=
"container"
>
<div
id=
"dialog"
></div
>
<div
class=
"content-block clearfix"
>
<
sitemesh:write
property=
"body"
/
>
</div>
</div>
</div>
<%@include
file=
"footer.jsp"
%>
<sitemesh:write
property=
"page.javascript"
/>
</body>
</html>
src/main/webapp/WEB-INF/decorator/footer.jsp
View file @
44f45f8c
<%@include
file=
"/WEB-INF/jsp/init.jsp"
%>
<div
class=
"container"
>
<!-- footer start -->
<div
id=
"footer"
>
<div
id=
"nav-foot"
class=
"clearfix"
>
<div
class=
"pull-left"
>
<ul>
<li><a
href=
"
<c:url
value=
"/content/about"
/>
"
><spring:message
code=
"menu.about"
/></a></li>
<li><a
href=
"
<c:url
value=
"/content/contact"
/>
"
><spring:message
code=
"menu.contact"
/></a></li>
<li><a
href=
"
<c:url
value=
"/content/disclaimer"
/>
"
><spring:message
code=
"menu.disclaimer"
/></a></li>
<li><a
target=
"_blank"
href=
"https://bitbucket.org/genesys2/genesys2-server/issues/new"
><spring:message
code=
"menu.report-an-issue"
/></a></li>
<li
class=
"notimportant"
><a
target=
"_blank"
href=
"https://bitbucket.org/genesys2/genesys2-server.git"
><spring:message
code=
"menu.scm"
/></a></li>
<li
class=
"notimportant"
><a
target=
"_blank"
href=
"https://www.transifex.com/projects/p/genesys/"
><spring:message
code=
"menu.translate"
/></a></li>
</ul>
</div>
<div
class=
"pull-right"
>
<ul>
<li><a
href=
"
<c:url
value=
"/content/terms"
/>
"
><spring:message
code=
"menu.terms"
/></a></li>
<li><a
href=
"
<c:url
value=
"/content/copying"
/>
"
><spring:message
code=
"menu.copying"
/></a></li>
<li><a
href=
"
<c:url
value=
"/content/privacy"
/>
"
><spring:message
code=
"menu.privacy"
/></a></li>
</ul>
</div>
</div>
<div
class=
"clearfix"
id=
"copyright"
>
<div
class=
"pull-left"
>
<a
href=
"
<c:url
value=
"/"
/>
"
><img
style=
"height: 2em; vertical-align: middle; position: relative; top: -0.3em"
src=
"
<c:url
value=
"/html/images/logo2.png"
/>
"
/></a>
<spring:message
code=
"footer.copyright-statement"
/>
</div>
</div>
<div
class=
"container"
>
<div
id=
"nav-foot"
class=
"clearfix"
>
<ul
class=
"nav pull-left"
>
<li><a
href=
"
<c:url
value=
"/content/about"
/>
"
><spring:message
code=
"menu.about"
/></a></li>
<li><a
href=
"
<c:url
value=
"/content/contact"
/>
"
><spring:message
code=
"menu.contact"
/></a></li>
<li><a
href=
"
<c:url
value=
"/content/disclaimer"
/>
"
><spring:message
code=
"menu.disclaimer"
/></a></li>
<li><a
target=
"_blank"
href=
"https://bitbucket.org/genesys2/genesys2-server/issues/new"
><spring:message
code=
"menu.report-an-issue"
/></a></li>
<li
class=
"notimportant"
><a
target=
"_blank"
href=
"https://bitbucket.org/genesys2/genesys2-server.git"
><spring:message
code=
"menu.scm"
/></a></li>
<li
class=
"notimportant"
><a
target=
"_blank"
href=
"https://www.transifex.com/projects/p/genesys/"
><spring:message
code=
"menu.translate"
/></a></li>
</ul>
<ul
class=
"nav pull-right"
>
<li><a
href=
"
<c:url
value=
"/content/terms"
/>
"
><spring:message
code=
"menu.terms"
/></a></li>
<li><a
href=
"
<c:url
value=
"/content/copying"
/>
"
><spring:message
code=
"menu.copying"
/></a></li>
<li><a
href=
"
<c:url
value=
"/content/privacy"
/>
"
><spring:message
code=
"menu.privacy"
/></a></li>
</ul>
</div>
<div
class=
"pull-left"
id=
"copyright"
>
<a
href=
"
<c:url
value=
"/"
/>
"
class=
"pull-left"
><img
src=
"/html/images/logo_genesys_footer.png"
alt=
"Genesys - Gateway to Genetic Resources"
/></a>
<p
class=
"pull-left"
><spring:message
code=
"footer.copyright-statement"
/></p>
</div>
</div>
</div>
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script
type=
"text/javascript"
src=
"/html/js/jquery.min.js"
></script>
<script
type=
"text/javascript"
src=
"/html/js/bootstrap.min.js"
></script>
<script
type=
"text/javascript"
src=
"/html/js/tab.js"
></script>
<script
type=
"text/javascript"
src=
"/html/js/crophub.js"
></script>
<%@include
file=
"ga.jsp"
%>
<!-- Processing time:
<div class="footer clearfix" style="font-size: 80%">
<spring:message
code=
"page.rendertime"
arguments=
"
${
springExecuteTime
}
"
/>
</div>
-->
</div>
\ No newline at end of file
src/main/webapp/WEB-INF/decorator/header.jsp
View file @
44f45f8c
<%@include
file=
"/WEB-INF/jsp/init.jsp"
%>
<div
id=
"header"
>
<div
class=
"clearfix"
>
<div
class=
"pull-left"
>
<a
href=
"
<c:url
value=
"/"
/>
"
><img
style=
"height: 40px;"
src=
"
<c:url
value=
"/html/images/logo2.png"
/>
"
/></a>
</div>
<div
class=
"pull-right"
id=
"searcher"
>
<form
class=
"form-inline"
method=
"get"
action=
"
<c:url
value=
"/search"
/>
"
>
<div
class=
"input-group"
>
<input
type=
"text"
name=
"q"
class=
"form-control"
placeholder=
"
<spring:message
code=
"search.input.placeholder"
/>
"
/>
<span
class=
"input-group-btn"
>
<button
type=
"submit"
class=
"btn notimportant"
>
<spring:message
code=
"search.button.label"
/>
</button>
</span>
</div>
</form>
</div>
<header
id=
"header"
>
<div
class=
"container"
>
<div
class=
"clearfix"
>
<div
class=
"pull-left"
>
<a
href=
"
<c:url
value=
"/"
/>
"
><img
src=
"
<c:url
value=
"/html/images/logo_genesys.png"
/>
"
alt=
"Genesys - Gateway to Genetic Resources"
title=
"Genesys - Gateway to Genetic Resources"
/></a>
</div>
<form
class=
"navbar-form navbar-left"
role=
"search"
id=
"search"
method=
"get"
action=
"
<c:url
value=
"/search"
/>
"
>
<div
class=
"form-group"
>
<input
type=
"text"
class=
"form-control"
name=
"q"
placeholder=
"
<spring:message
code=
"search.input.placeholder"
/>
"
>
</div>
<button
type=
"submit"
class=
"btn"
><img
src=
"
<c:url
value=
"/html/images/icon_search.png"
/>
"
alt=
""
/></button>
</form>
<ul
class=
"nav navbar-nav navbar-right"
>
<li
class=
"dropdown"
>
<a
href=
"#"
class=
"dropdown-toggle"
data-toggle=
"dropdown"
>
Login
</a>
<ul
class=
"dropdown-menu pull-left"
>
<li>
<form
role=
"form"
method=
"post"
action=
"/login-attempt"
>
<div
class=
"form-group"
>
<label
for=
"username"
><spring:message
code=
"login.username"
/>
:
</label>
<input
type=
"email"
class=
"form-control"
id=
"username"
name=
"j_username"
placeholder=
"
<spring:message
code=
"login.username"
/>
"
/>
</div>
<div
class=
"form-group"
>
<label
for=
"password"
><spring:message
code=
"login.password"
/></label>
<input
type=
"password"
class=
"form-control"
id=
"password"
name=
"j_password"
placeholder=
"
<spring:message
code=
"login.password"
/>
"
/>
</div>
<div
class=
"checkbox"
>
<label>
<input
type=
"checkbox"
name=
"_spring_security_remember_me"
id=
"_spring_security_remember_me"
/>
<spring:message
code=
"login.remember-me"
/>
</label>
</div>
<button
type=
"submit"
class=
"btn btn-green"
><spring:message
code=
"login.login-button"
/></button>
<span
class=
"or"
>
or
</span>
<a
href=
"
<c:url
value=
"/registration"
/>
"
class=
"btn btn-default"
><spring:message
code=
"login.register-now"
/></a>
</form>
</li>
</ul>
</li>
<li
class=
"dropdown"
id=
"lang"
>
<a
href=
"#"
class=
"dropdown-toggle"
data-toggle=
"dropdown"
><c:out
value=
"
${
pageContext
.
response
.
locale
.
displayLanguage
}
"
/>
<b
class=
"caret"
></b></a>
<ul
class=
"dropdown-menu"
role=
"menu"
>
<li><a
href=
"?lang=en"
>
English
</a></li>
<li><a
href=
"?lang=ar"
>
Arabic
</a></li>
<li><a
href=
"?lang=de"
>
German
</a></li>
<li><a
href=
"?lang=es"
>
Spanish
</a></li>
<li><a
href=
"?lang=fa"
>
Persian
</a></li>
<li><a
href=
"?lang=fr"
>
French
</a></li>
<li><a
href=
"?lang=pt"
>
Portugese
</a></li>
<li><a
href=
"?lang=ru"
>
Russian
</a></li>
<li><a
href=
"?lang=zh"
>
Chinese
</a></li>
<%-- Only show fully translated languages --%>
<security:authorize
access=
"isAuthenticated()"
>
<li><a
href=
"?lang=sl"
>
Slovene
</a></li>
</security:authorize>
<li><a
target=
"_blank"
href=
"https://www.transifex.com/projects/p/genesys/"
>
Translate Genesys
</a></li>
</ul>
</li>
</ul>
</div>
</div>
</header>
<div
class=
"notimportant navbar pull-right"
>
<div
class=
"nav-collapse"
>
<ul
class=
"nav"
>
<li
class=
"dropdown"
><a
class=
"dropdown-toggle"
data-toggle=
"dropdown"
>
<c:out
value=
"
${
pageContext
.
response
.
locale
.
displayLanguage
}
"
/>
<b
class=
"caret"
></b>
</a>
<ul
class=
"dropdown-menu"
>
<li><a
href=
"?lang=en"
>
English
</a></li>
<li><a
href=
"?lang=ar"
>
Arabic
</a></li>
<li><a
href=
"?lang=de"
>
German
</a></li>
<li><a
href=
"?lang=es"
>
Spanish
</a></li>
<li><a
href=
"?lang=fa"
>
Persian
</a></li>
<li><a
href=
"?lang=fr"
>
French
</a></li>
<li><a
href=
"?lang=pt"
>
Portugese
</a></li>
<li><a
href=
"?lang=ru"
>
Russian
</a></li>
<li><a
href=
"?lang=zh"
>
Chinese
</a></li>
<%-- Only show fully translated languages --%>
<security:authorize
access=
"isAuthenticated()"
>
<li><a
href=
"?lang=sl"
>
Slovene
</a></li>
</security:authorize>
<li><a
target=
"_blank"
href=
"https://www.transifex.com/projects/p/genesys/"
><spring:message
code=
"menu.translate"
/></a></li>
</ul></li>
</ul>
</div>
</div>
<!--
<div class="notimportant navbar pull-right">
<security:authorize
access=
"isAnonymous()"
>
...
...
@@ -66,6 +89,4 @@
</ul>
</security:authorize>
</div>
</div>
</div>
-->
src/main/webapp/WEB-INF/decorator/main.jsp
View file @
44f45f8c
<%@include
file=
"/WEB-INF/jsp/init.jsp"
%>
<%@ taglib
prefix=
"sec"
uri=
"http://www.springframework.org/security/tags"
%>
<html
dir=
"${pageContext.response.locale.language=='fa' || pageContext.response.locale.language=='ar' ? 'rtl' : 'ltr'}"
>
<head>
<title><sitemesh:write
property=
"title"
/></title>
<%@include
file=
"/WEB-INF/jsp/head-init.jsp"
%>
<meta
charset=
"utf-8"
>
<%--Locked Compatible Mode for IE--%>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge,chrome=1"
>
<meta
name=
"description"
content=
""
>
<meta
name=
"viewport"
content=
"width=device-width"
>
<!DOCTYPE html>
<link
type=
"text/css"
href=
"/html/css/bootstrap.css"
rel=
"stylesheet"
/>
<link
type=
"text/css"
href=
"/html/css/custom.css"
rel=
"stylesheet"
/>
<script
type=
"text/javascript"
src=
"/html/js/jquery.min.js"
></script>
<html
lang=
"${pageContext.response.locale.language}"
dir=
"${pageContext.response.locale.language=='fa' || pageContext.response.locale.language=='ar' ? 'rtl' : 'ltr'}"
>
<head>
<meta
charset=
"utf-8"
/>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge"
/>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0"
/>
<meta
name=
"description"
content=
""
/>
<meta
name=
"author"
content=
""
/>
<!--
<script type="text/javascript" src="/html/js/modernizr-2.6.2.min.js"></script>
<script type="text/javascript" src="/html/js/plugins.js"></script>
<script type="text/javascript" src="/html/js/jquery.validate.js"></script>
<script type="text/javascript" src="/html/js/custom.js"></script>
<link rel="shortcut icon" href="../../docs-assets/ico/favicon.png" />
-->
<title>
${pageContext.response.locale.language}
<sitemesh:write
property=
"title"
/></title>
<!-- Bootstrap core CSS -->
<link
href=
"/html/css/bootstrap.css"
rel=
"stylesheet"
/>
<!-- Custom styles for this template -->
<link
href=
"/html/css/custom.css"
rel=
"stylesheet"
/>
<link
href=
"/html/font/forza.css"
rel=
"stylesheet"
/>
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
<![endif]-->
<link type="text/css" href="/html/css/jquery-ui.css" rel="stylesheet" />
<link type="text/css" href="/html/css/jquery.dataTables.css" rel="stylesheet" />
-->
<%--Fallback for older browsers--%>
<!--
<script type="text/javascript" src="/html/js/json2.js"></script>
<script type="text/javascript" src="/html/js/globalize.js"></script>
<script type="text/javascript" src="/html/js/jquery-ui.min.js"></script>
<script type="text/javascript" src="/html/js/jquery.dataTables.js"></script>
<script type="text/javascript" src="/html/js/handlebars.js"></script> -->
<script
type=
"text/javascript"
src=
"/html/js/bootstrap.min.js"
></script>
<script
type=
"text/javascript"
src=
"/html/js/crophub.js"
></script>
<!--
-->
<!-- <script type="text/javascript" src="/html/js/main.js"></script>
-->
<sitemesh:write
property=
"head"
/>
<sitemesh:write
property=
"head"
/>
</head>
<body>
<sec:authentication
var=
"user"
property=
"principal"
/>
<sec
urity
:authentication
var=
"user"
property=
"principal"
/>
<div
id=
"wrap"
>
<div
class=
"container"
>
<%@include
file=
"header.jsp"
%>
<%@include
file=
"menu.jsp"
%>
<%@include
file=
"header.jsp"
%>
<%@include
file=
"menu.jsp"
%>
<div
id=
"content"
class=
"clearfix"
>
<div
id=
"dialog"
></div
>
<div
class=
"content-block clearfix"
>
<sitemesh:write
property=
"body"
/
>
<
/div
>
<div
id=
"content"
class=
"clearfix"
>
<div
class=
"container"
>
<div
id=
"dialog"
></div
>
<div
class=
"main-col clearfix"
>
<
sitemesh:write
property=
"body"
/
>
</div>
</div>
</div>
<%@include
file=
"footer.jsp"
%>
<sitemesh:write
property=
"page.javascript"
/>
</body>
</html>
src/main/webapp/WEB-INF/decorator/menu.jsp
View file @
44f45f8c
<%@include
file=
"/WEB-INF/jsp/init.jsp"
%>
<div
id=
"nav-main"
class=
"clearfix"
>
<ul>
<li
class=
"notimportant"
><a
href=
"
<c:url
value=
"/"
/>
"
><spring:message
code=
"menu.home"
/></a></li>
<div
class=
"navbar"
role=
"navigation"
id=
"nav-main"
>
<div
class=
"container"
>
<div
class=
"collapse navbar-collapse"
>
<ul
class=
"nav navbar-nav"
>
<li
class=
"notimportant"
><a
href=
"
<c:url
value=
"/"
/>
"
><spring:message
code=
"menu.home"
/></a></li>
<li><a
href=
"
<c:url
value=
"/acn/"
/>
"
><spring:message
code=
"menu.browse"
/></a></li>
<li><a
href=
"
<c:url
value=
"/data/"
/>
"
><spring:message
code=
"menu.datasets"
/></a></li>
<%-- <li><a href="<c:url value="/descriptors/" />"><spring:message code="menu.descriptors" /></a></li> --%>
...
...
@@ -10,5 +12,7 @@
<li><a
href=
"
<c:url
value=
"/wiews/active"
/>
"
><spring:message
code=
"menu.institutes"
/></a></li>
<li><a
href=
"
<c:url
value=
"/sel/"
/>
"
><spring:message
code=
"menu.my-list"
/>
<span
class=
"badge"
id=
"selcounter"
>
${selection.size() gt 0 ? selection.size() : ''}
</span></a></li>
</ul>
</ul>
</div>
</div>
</div>
src/main/webapp/WEB-INF/jsp/head-init.jsp
deleted
100644 → 0
View file @
7fc4145f
src/main/webapp/html/css/custom.css
View file @
44f45f8c
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment