Commit 815ff963 authored by Matija Obreza's avatar Matija Obreza
Browse files

Genebank page updated

parent 31152106
......@@ -19,6 +19,7 @@ encoding//src/main/webapp/WEB-INF/jsp/login.jsp=UTF-8
encoding//src/main/webapp/WEB-INF/jsp/metadata/index.jsp=UTF-8
encoding//src/main/webapp/WEB-INF/jsp/metadata/view.jsp=UTF-8
encoding//src/main/webapp/WEB-INF/jsp/selection/index.jsp=UTF-8
encoding//src/main/webapp/WEB-INF/jsp/wiews/details.jsp=UTF-8
encoding//src/main/webapp/WEB-INF/jsp/wiews/index.jsp=UTF-8
encoding//src/test/java=UTF-8
encoding//src/test/resources=UTF-8
......
......@@ -144,8 +144,8 @@ public class WiewsController extends BaseController {
_logger.warn(e.getMessage());
}
}
model.addAttribute("statisticsGenus", genesysService.statisticsGenusByInstitute(faoInstitute, new PageRequest(0, 30)));
model.addAttribute("statisticsTaxonomy", genesysService.statisticsSpeciesByInstitute(faoInstitute, new PageRequest(0, 30)));
model.addAttribute("statisticsGenus", genesysService.statisticsGenusByInstitute(faoInstitute, new PageRequest(0, 5)));
model.addAttribute("statisticsTaxonomy", genesysService.statisticsSpeciesByInstitute(faoInstitute, new PageRequest(0, 5)));
model.addAttribute("statisticsPDCI", statisticsService.statisticsPDCI(faoInstitute));
if (datasetCount > 0) {
......
......@@ -74,6 +74,13 @@ html[dir="rtl"] {
float: left;
}
}
@media (min-width: $screen-md-min) {
.col-md-offset-2 {
margin-right: 16.6666666667%;
margin-left: 0;
}
}
}
.glyphicon + span {
......
......@@ -1937,15 +1937,17 @@ img.flag {
}
html:not([dir="rtl"] ) img.country-flag {
float: right;
right: 10px;
}
html[dir="rtl"] img.country-flag {
float: left;
left: 10px;
}
img.country-flag.bigger {
height: 50px;
z-index: 5;
position: absolute;
}
ul li.hoofdleter {
......@@ -2092,7 +2094,9 @@ html[dir="rtl"] ul.statistics .stats-number {
}
.chart.chart-pie {
margin: 3px 0;
padding: 10px;
background-color: #F3F2EE;
}
.terms-percent {
......
......@@ -4,7 +4,9 @@
h3 {
margin-bottom: 1em;
border-bottom: 1px solid #88BA42;
padding-bottom: 10px;
span {
background-color: #88ba42;
color: white;
......@@ -20,6 +22,19 @@
}
}
h4 {
margin-top: 1em;
margin-bottom: 0.5em;
border-bottom: 1px solid #88BA42;
span {
color: #88ba42;
font-family: "forzabook";
font-weight: normal;
font-size: 16px;
}
}
.row {
div.see-also-block {
min-height: 200px;
......@@ -597,4 +612,35 @@
#content .three-see-also .three-1 {
width: 280px;
}
}
\ No newline at end of file
}
#content.wiews-institute {
#genebank-info {
background-color: #d0d0d0;
margin-top: -10px;
h1 {
font-weight: bold;
font-size: 26px;
border-bottom: 1px solid Gray;
line-height: 1.4em;
margin-top: 1.5em;
padding-bottom: 0.5em;
}
a {
font-weight: bold;
}
.twitter-share-button, .linkedin-share-button {
font-size: 28px;
&:active, &:hover {
text-decoration: none;
}
}
}
#map {
margin: 0 10px;
height: 280px;
}
}
......@@ -59,7 +59,7 @@
<%@include file="header.jsp" %>
<%@include file="menu.jsp" %>
<div id="content" class="clearfix">
<div id="content" class="clearfix <sitemesh:write property="body.class" />">
<div id="content-header">
<sitemesh:write property="page.header" />
</div>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment