Commit 48344362 authored by Taisiya Glushko's avatar Taisiya Glushko
Browse files

map page ui

parent e301c312
......@@ -2613,6 +2613,43 @@ table.accessions {
}
}
}
//map-page
.map-page {
font-family: $default-font-family;
.main-col-header {
padding: 15px 0 5px 0;
.pull-right {
a {
margin-bottom: 10px;
}
}
form {
button {
margin-bottom: 10px;
}
}
.results {
a {
margin-bottom: 10px;
}
}
}
.applied-filters {
padding: 15px 0 5px 0;
a {
border-radius: 0;
}
li {
margin-bottom: 10px;
}
.dropdown-menu {
padding: 10px;
}
}
#map {
height: 500px;
}
}
@media (min-width: 990px) and (max-width: 1919px) {
.genesys-page {
......@@ -3981,6 +4018,18 @@ table.accessions {
}
}
}
//map page
.map-page {
.main-col-header {
.pull-right {
float: none !important;
text-align: center;
}
.results {
text-align: center;
}
}
}
}
@media (max-width: 960px) {
......@@ -4521,6 +4570,12 @@ table.accessions {
}
}
}
//map page
.map-page {
.map-wrapper {
margin: 0 -15px 20px -15px;
}
}
}
@media(max-width: 379px) {
......
......@@ -7,24 +7,22 @@
<head>
<title><spring:message code="maps.accession-map"/></title>
</head>
<body>
<body class="map-page">
<cms:informative-h1 title="maps.accession-map" fancy="true" info="maps.accession-map.intro"/>
<div class="main-col-header clearfix">
<div class="nav-header">
<div class="row main-col-header clearfix">
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 nav-header clearfix">
<div class="pull-right">
<a class="btn btn-default" href="<c:url value="/explore" />" id="selectArea"><spring:message
code="view.accessions"/></a>
<a class="btn btn-default" href="<c:url value="/explore" />" id="selectArea"><span class="glyphicon glyphicon-list"></span><span><spring:message code="view.accessions"/></span></a>
<form style="display: inline-block" method="post" action="<c:url value="/explore/kml" />">
<input type="hidden" name="${_csrf.parameterName}" value="${_csrf.token}"/>
<input type="hidden" name="filter" value="<c:out value="${jsonFilter}" />"/>
<button class="btn btn-default" type="submit"><spring:message code="download.kml"/></button>
<button class="btn btn-default" type="submit"><span class="glyphicon glyphicon-save"></span><span><spring:message code="download.kml"/></span></button>
</form>
</div>
<div class="results">
<a class="btn btn-default" href="javascript: window.history.go(-1);"><spring:message
code="navigate.back"/></a>
<a class="btn btn-default" href="javascript: window.history.go(-1);"><spring:message code="navigate.back"/></a>
</div>
</div>
</div>
......@@ -33,7 +31,7 @@
<ul class="nav nav-pills ">
<li style="margin-left: 5px" class="active dropdown form-horizontal pull-right">
<a class="dropdown-toggle" data-toggle="dropdown" href="#"><spring:message code="maps.baselayer.list"/></a>
<a class="dropdown-toggle btn-primary" data-toggle="dropdown" href="#"><spring:message code="maps.baselayer.list"/></a>
<ul class="dropdown-menu">
<li>
......@@ -52,7 +50,7 @@
<li class="active dropdown form-horizontal pull-right">
<a id="get-filters" href="#"><spring:message code="savedmaps.list"/></a>
<a id="get-filters" class="btn-primary" href="#"><spring:message code="savedmaps.list"/></a>
<ul id="enabled-filters" class="dropdown-menu"></ul>
......@@ -60,7 +58,7 @@
<li style="margin-right: 5px" class="active form-horizontal pull-right" data-toggle="modal"
data-target="#modal-dialog">
<a href="#"><spring:message code="savedmaps.save"/></a>
<a class="btn-primary" href="#"><spring:message code="savedmaps.save"/></a>
</li>
</ul>
</div>
......@@ -106,8 +104,8 @@
</div>
<%--End modal--%>
<div class="row">
<div class="col-sm-12">
<div class="row map-wrapper">
<div class="map-container">
<div id="map" class="gis-map gis-map-square"></div>
</div>
</div>
......
Supports Markdown
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