Skip to content

Commit d142e03

Browse files
committed
Merge branch 'hotfix/4.8.9'
2 parents 809460b + ea4ec05 commit d142e03

10 files changed

+67
-32
lines changed

application.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
#Sat Nov 03 13:30:44 AEDT 2018
33
app.grails.version=2.5.6
44
app.name=biocollect
5-
app.version=4.8.8
5+
app.version=4.8.9

grails-app/assets/javascripts/base.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,5 @@
66
//= require jquery-ui/1.9.2/jquery-ui-1.9.2.custom.js
77
//= require jquery.appear/jquery.appear.js
88
//= require bootstrap/js/bootstrap.js
9-
//= require bootstrap-combobox/bootstrap-combobox.js
9+
//= require bootstrap-combobox/bootstrap-combobox.js
10+
//= require fieldcapture-application.js

grails-app/assets/javascripts/common.js

-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
//= require moment/moment.min.js
1414
//= require moment/moment-timezone-with-data.min.js
1515
//= require vkbeautyfy/vkbeautify.0.99.00.beta.js
16-
//= require fieldcapture-application.js
1716
//= require knockout-dates.js
1817
//= require knockout-custom-bindings.js
1918
//= require knockout-custom-extenders.js

grails-app/assets/javascripts/project-finder.js

+2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
// leaflet
88
//= require leaflet-manifest.js
99
//= require_self
10+
// responsive table
11+
//= require responsive-table-stacked/stacked.js
1012

1113
function ProjectFinder(config) {
1214

grails-app/assets/stylesheets/common.css

+10
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,10 @@ select,input[type="text"],input[type="password"],input[type="datetime"],input[ty
201201
margin-left: 20px;
202202
}
203203

204+
.margin-bottom-0, #overviewDocumentList input[type="text"].margin-bottom-0 {
205+
margin-bottom: 0;
206+
}
207+
204208
.margin-bottom-1 {
205209
display: inline-block;
206210
margin-bottom: 10px;
@@ -783,4 +787,10 @@ input.full-width-input {
783787
#content-starting-point{
784788
margin-top: 70px;
785789
}
790+
}
791+
792+
@media (max-width: 767px) {
793+
.modal.fade {
794+
top: -500px;
795+
}
786796
}

grails-app/assets/stylesheets/project-finder.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
*= require leaflet-manifest
33
*= require facets-filter-view.css
44
*= require project-daystogo.css
5+
*= require responsive-table-stacked/stacked.css
56
*/
67

78
.projectLogo {
@@ -123,7 +124,6 @@ input[type=checkbox] {
123124

124125

125126
#pt-selectors label {
126-
color: #C44D34;
127127
font-weight: 200;
128128
}
129129

grails-app/views/hub/configurableHubTemplate1.gsp

+26-6
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,14 @@ section#breadcrumb {
3333
/* Echo out a label for the example */
3434
/*image display size on project finder*/
3535
}
36+
37+
@media (max-width: 767px) {
38+
#main-content>.container-fluid, #custom-footer .container-fluid {
39+
padding-left: 5px;
40+
padding-right: 5px;
41+
}
42+
}
43+
3644
#main-content h1, #main-content h2, #main-content h3, #main-content h4, #main-content h5 {
3745
font-family: Roboto, Helvetica, "Helvetica Neue", Arial, sans-serif;
3846
font-weight: 500;
@@ -367,11 +375,20 @@ section#breadcrumb {
367375
#main-content #bannerHubOuter .logo {
368376
left: 80px;
369377
top: -25px;
370-
max-width: 250px;
371-
max-height: 250px;
378+
width: 350px;
379+
height: 300px;
372380
position: absolute;
373381
z-index: 5;
374382
}
383+
384+
@media (max-width: 767px) {
385+
#main-content #bannerHubOuter .logo {
386+
left: 25px;
387+
width: 250px;
388+
height: 200px;
389+
}
390+
}
391+
375392
#main-content #pt-search {
376393
Min-width: 150px;
377394
Max-width: 300px;
@@ -712,6 +729,11 @@ section#breadcrumb {
712729
color: ${footertextcolor};
713730
text-decoration: none;
714731
}
732+
733+
#custom-footer .navbar-inverse .nav > li {
734+
color: ${footertextcolor};
735+
}
736+
715737
#custom-footer .navbar-inverse .nav > li > a:hover {
716738
text-decoration: underline;
717739
}
@@ -752,8 +774,7 @@ section#breadcrumb {
752774
}
753775

754776
#custom-footer #alaLink.brand {
755-
margin-top:10px;
756-
margin-right: 10px;
777+
margin: 15px;
757778
display: inline-block;
758779
}
759780

@@ -764,8 +785,7 @@ section#breadcrumb {
764785
#custom-footer .footer-logo {
765786
max-height: 100px;
766787
max-width: 200px;
767-
margin-right:10px;
768-
margin-top: 10px;
788+
margin: 15px;
769789
vertical-align: top;
770790
}
771791

grails-app/views/layouts/configurableHubTemplate1.gsp

+19-17
Original file line numberDiff line numberDiff line change
@@ -233,24 +233,26 @@
233233
</div><!--/.spanX -->
234234
<div class="pull-right">
235235
<div class="row-fluid text-right">
236-
<g:each in="${hubConfig.templateConfiguration?.footer?.logos}" var="logo">
237-
<g:if test="${logo.href}">
238-
<a href="${logo.href}" title="Link to website" target="_blank">
236+
<div class="span12">
237+
<g:each in="${hubConfig.templateConfiguration?.footer?.logos}" var="logo">
238+
<g:if test="${logo.href}">
239+
<a href="${logo.href}" title="Link to website" target="_blank" class="do-not-mark-external">
240+
<img class="footer-logo" src="${logo.url}" alt="Website logo"/>
241+
</a>
242+
</g:if>
243+
<g:else>
239244
<img class="footer-logo" src="${logo.url}" alt="Website logo"/>
240-
</a>
241-
</g:if>
242-
<g:else>
243-
<img class="footer-logo" src="${logo.url}" alt="Website logo"/>
244-
</g:else>
245-
</g:each>
246-
<a class="brand text-left" href="http://ala.org.au/" id="alaLink" title="ALA home page">
247-
<img src="${asset.assetPath(src:'mdba/ALA-logo-BW-124x109.png')}" alt="Powered by ALA logo"
248-
class="headerLogo"/>
249-
<div id="alaHeadingText"><div id="poweredBy">powered by</div>
250-
<div id="alaBy" class="visible-desktop">Atlas of Living Australia</div>
251-
<div class="hidden-desktop">ALA</div>
252-
</div>
253-
</a>
245+
</g:else>
246+
</g:each>
247+
<a class="brand text-left" href="http://ala.org.au/" id="alaLink" title="ALA home page">
248+
<img src="${asset.assetPath(src:'mdba/ALA-logo-BW-124x109.png')}" alt="Powered by ALA logo"
249+
class="headerLogo"/>
250+
<div id="alaHeadingText"><div id="poweredBy">powered by</div>
251+
<div id="alaBy" class="visible-desktop">Atlas of Living Australia</div>
252+
<div class="hidden-desktop">ALA</div>
253+
</div>
254+
</a>
255+
</div>
254256
</div>
255257
</div>
256258
</div>

grails-app/views/shared/_bannerHub.gsp

+4-3
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<div id="bannerHubOuter">
33
<g:if test="${hubConfig.logoUrl}">
44
<div class="logo">
5-
<img src="${hubConfig.logoUrl}">
5+
<img class="image-logo" src="${hubConfig.logoUrl}" onload="findLogoScalingClass(this)">
66
</div>
77
</g:if>
88

@@ -12,9 +12,10 @@
1212
<g:set var="images" value="${hubConfig.templateConfiguration.banner.images}"></g:set>
1313
<g:each var="image" in="${images}" status="index">
1414
<div class="item ${index ==0? 'active' :''}">
15-
<img src="${image.url}">
15+
<div class="" style="background: url(${image.url}) no-repeat center top; max-height: 500px; min-height: 300px; background-size: cover;">
16+
</div>
1617
<g:if test="${image.caption}">
17-
<div class="carousel-caption">
18+
<div class="carousel-caption hidden-phone">
1819
<p>${image.caption}</p>
1920
</div>
2021
</g:if>

grails-app/views/shared/_listDocuments.gsp

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
<div class="row-fluid row-eq-height" id="${containerId}">
1+
<div class="row-fluid" id="${containerId}">
22
<div class="span4">
33
<div class="btn-toolbar text-right">
44
<div class="input-prepend input-append text-left">
55
<span class="add-on"><i class="fa fa-filter"></i></span>
6-
<input type="text" data-bind="textInput: documentFilter">
6+
<input class="span2 margin-bottom-0" type="text" data-bind="textInput: documentFilter">
77
<div class="btn-group">
88
<button type="button" class="btn dropdown-toggle" data-toggle="dropdown">
99
<span data-bind="text: documentFilterField().label"></span>

0 commit comments

Comments
 (0)