diff --git a/pygeoapi/api.py b/pygeoapi/api.py index 6906bbd..ce5724b 100644 --- a/pygeoapi/api.py +++ b/pygeoapi/api.py @@ -433,7 +433,7 @@ class API(object): self.config['server']['url'], dataset, next_) }, { 'type': 'application/json', - 'title': 'Collection', + 'title': self.config['datasets'][dataset]['title'], 'rel': 'collection', 'href': '{}/collections/{}'.format( self.config['server']['url'], dataset) @@ -525,8 +525,19 @@ class API(object): }, { 'rel': 'collection', 'type': 'application/json', + 'title': self.config['datasets'][dataset]['title'], 'href': '{}/collections/{}'.format( self.config['server']['url'], dataset) + }, { + 'rel': 'prev', + 'type': 'application/json', + 'href': '{}/collections/{}/items/{}'.format( + self.config['server']['url'], dataset, identifier) + }, { + 'rel': 'next', + 'type': 'application/json', + 'href': '{}/collections/{}/items/{}'.format( + self.config['server']['url'], dataset, identifier) } ] diff --git a/pygeoapi/static/css/default.css b/pygeoapi/static/css/default.css index 8ee2565..7286aeb 100644 --- a/pygeoapi/static/css/default.css +++ b/pygeoapi/static/css/default.css @@ -1,39 +1,24 @@ -body { - background-color: #ffffff; - font-family: arial, verdana, sans-serif; - text-align: left; - float: left; -} .flat { border: 0px; } header { display: inline-block; } -table { - border-width: 2px; - border-spacing: 0px; - border-style: solid; - border-color: black; - border-collapse: collapse; - background-color: white; +main { + background-color:white } - table th { - border-width: 4px; - padding: 5px; - border-style: solid; - border-color: gray; - background-color: white; + +.crumbs { + background-color:rgb(230, 230, 230); + padding: 6px; } - table td { - border-width: 4px; - padding: 5px; - border-style: solid; - border-color: gray; - background-color: white; -} -.header-img { - float: left; - margin: 0px 15px 15px 0px; - border: 0; +.crumbs a { + padding-left:10px; + color:black; + text-transform: capitalize; } + +#items-map { + width: 100%; + height: 400px; + } \ No newline at end of file diff --git a/pygeoapi/templates/base.html b/pygeoapi/templates/base.html index c7e8a88..6287b72 100644 --- a/pygeoapi/templates/base.html +++ b/pygeoapi/templates/base.html @@ -3,9 +3,11 @@