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
6e91c2cd
Commit
6e91c2cd
authored
Jul 03, 2014
by
Matija Obreza
Browse files
View map button
parent
a088b943
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/webapp/WEB-INF/jsp/accession/explore.jsp
View file @
6e91c2cd
...
...
@@ -14,28 +14,26 @@
<div
class=
"main-col-header clearfix"
>
<div
class=
"nav-header"
>
<c:if
test=
"
${
pagedData
.
totalElements
le
100000
}
"
>
<form
class=
"pull-right form-horizontal"
method=
"post"
action=
"/explore/dwca"
>
<input
type=
"hidden"
name=
"${_csrf.parameterName}"
value=
"${_csrf.token}"
/>
<input
type=
"hidden"
name=
"crop"
value=
"${crop.shortName}"
/>
<input
type=
"hidden"
name=
"filter"
value=
"
<c:out
value=
"
${
jsonFilter
}
"
/>
"
/>
<div
class=
"row"
style=
"margin-top: 2em;"
>
<div
class=
"col-sm-4"
>
<button
class=
"btn btn-default"
type=
"submit"
><spring:message
code=
"filter.download-dwca"
/></button>
</div>
</div>
</form>
</c:if>
<div
class=
"results"
><spring:message
code=
"accessions.number"
arguments=
"
${
pagedData
.
totalElements
}
"
/>
<a
href=
"
<c:url
value=
"/explore/map"
><c:param
name=
"crop"
value=
"
${
crop
.
shortName
}
"
/><c:param
name=
"filter"
>
${jsonFilter}
</c:param></c:url>
"
>
Map
</a>
<div
class=
"results"
>
<spring:message
code=
"accessions.number"
arguments=
"
${
pagedData
.
totalElements
}
"
/>
</div>
<div
class=
"pagination"
>
<spring:message
code=
"paged.pageOfPages"
arguments=
"
${
pagedData
.
number
+
1
}
,${pagedData.totalPages}"
/>
<a
href=
"
<spring:url
value=
""
><spring:param
name=
"page"
value=
"
${
pagedData
.
number
eq
0
?
1
:
pagedData
.
number
}
"
/><spring:param
name=
"filter"
value=
"
${
jsonFilter
}
"
/></spring:url>
"
><spring:message
code=
"pagination.previous-page"
/></a>
<a
href=
"
<spring:url
value=
""
><spring:param
name=
"page"
value=
"
${
pagedData
.
number
+
2
}
"
/><spring:param
name=
"filter"
value=
"
${
jsonFilter
}
"
/></spring:url>
"
><spring:message
code=
"pagination.next-page"
/></a>
</div>
<div
class=
"pull-right"
>
<a
class=
"btn btn-default"
href=
"
<c:url
value=
"/explore/map"
><c:param
name=
"crop"
value=
"
${
crop
.
shortName
}
"
/><c:param
name=
"filter"
>
${jsonFilter}
</c:param></c:url>
"
><span
class=
"glyphicon glyphicon-globe"
></span><span
style=
"margin-left: 0.5em;"
><spring:message
code=
"maps.view-map"
/></span></a>
<c:if
test=
"
${
pagedData
.
totalElements
le
100000
}
"
>
<form
class=
"form-horizontal pull-left"
method=
"post"
action=
"/explore/dwca"
>
<input
type=
"hidden"
name=
"${_csrf.parameterName}"
value=
"${_csrf.token}"
/>
<input
type=
"hidden"
name=
"crop"
value=
"${crop.shortName}"
/>
<input
type=
"hidden"
name=
"filter"
value=
"
<c:out
value=
"
${
jsonFilter
}
"
/>
"
/>
<button
class=
"btn btn-default"
type=
"submit"
><spring:message
code=
"filter.download-dwca"
/></button>
</form>
</c:if>
</div>
</div>
</div>
...
...
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