Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Genesys Backend
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
45
Issues
45
List
Boards
Labels
Service Desk
Milestones
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Genesys PGR
Genesys Backend
Commits
c4023ad9
Commit
c4023ad9
authored
Aug 05, 2014
by
Matija Obreza
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed download, map buttons in explorer
parent
ffe9b040
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
9 deletions
+8
-9
src/main/webapp/WEB-INF/jsp/accession/explore.jsp
src/main/webapp/WEB-INF/jsp/accession/explore.jsp
+6
-6
src/main/webapp/WEB-INF/jsp/accession/map.jsp
src/main/webapp/WEB-INF/jsp/accession/map.jsp
+1
-1
src/main/webapp/html/css/custom.css
src/main/webapp/html/css/custom.css
+1
-2
No files found.
src/main/webapp/WEB-INF/jsp/accession/explore.jsp
View file @
c4023ad9
...
...
@@ -17,16 +17,11 @@
<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"
>
<form
style=
"display: inline-block
"
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
}
"
/>
"
/>
...
...
@@ -34,6 +29,11 @@
</form>
</c:if>
</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>
</div>
...
...
src/main/webapp/WEB-INF/jsp/accession/map.jsp
View file @
c4023ad9
...
...
@@ -15,7 +15,7 @@
<div
class=
"nav-header"
>
<div
class=
"pull-right"
>
<a
class=
"btn btn-default"
href=
"
<c:url
value=
"/explore"
/>
"
id=
"selectArea"
><spring:message
code=
"view.accessions"
/></a>
<form
class=
"form-horizontal pull-right
"
method=
"post"
action=
"/explore/kml"
>
<form
style=
"display: inline-block
"
method=
"post"
action=
"/explore/kml"
>
<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
}
"
/>
"
/>
...
...
src/main/webapp/html/css/custom.css
View file @
c4023ad9
...
...
@@ -1131,13 +1131,12 @@ html[dir="rtl"] #stats .stat-lists ol li img {
.main-col-header
.nav-header
.results
{
color
:
#6f6e69
;
margin
:
0
0
10px
0
;
}
.main-col
.pagination
{
font-size
:
18px
;
font-weight
:
bold
;
margin
:
0
;
margin
:
10px
0
5px
;
}
.main-col
.pagination.on-bottom
{
...
...
Write
Preview
Markdown
is supported
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