Skip to content
Snippets Groups Projects
Commit f8a40a78 authored by anonymous's avatar anonymous
Browse files

ODPSH-189: layout fixes

parent 03d54194
No related branches found
No related tags found
No related merge requests found
...@@ -19,9 +19,12 @@ msgstr "" ...@@ -19,9 +19,12 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.3.4\n" "Generated-By: Babel 2.3.4\n"
msgid "map search active"
msgstr "Kartensuche aktiv"
#: ckanext/odsh/templates/header.html:10 #: ckanext/odsh/templates/header.html:10
msgid "Start" msgid "Start"
msgstr "Startseite" msgstr "Start"
msgid "Datasets" msgid "Datasets"
msgstr "Daten" msgstr "Daten"
......
No preview for this file type
...@@ -276,3 +276,9 @@ msgstr "Zeitbezug" ...@@ -276,3 +276,9 @@ msgstr "Zeitbezug"
msgid "share this dataset" msgid "share this dataset"
msgstr "Datensatz teilen" msgstr "Datensatz teilen"
msgid "map search active"
msgstr "Kartensuche aktiv"
msgid "map"
msgstr "Karte"
\ No newline at end of file
...@@ -216,7 +216,6 @@ input[type=radio], input[type=checkbox] { ...@@ -216,7 +216,6 @@ input[type=radio], input[type=checkbox] {
} }
.filter-reset-box a { .filter-reset-box a {
color: black;
font-size: 12px; font-size: 12px;
} }
...@@ -411,10 +410,10 @@ a:hover.organization-item ,a:focus.organization-item ...@@ -411,10 +410,10 @@ a:hover.organization-item ,a:focus.organization-item
.dataset-heading { .dataset-heading {
margin-right: 30px; margin-right: 30px;
font-weight: normal; font-weight: normal;
font-size: 18px; font-size: 20px;
} }
.dataset-heading a{ .dataset-heading a{
text-decoration: underline; text-decoration: none;
} }
.dataset-empty { .dataset-empty {
...@@ -768,6 +767,8 @@ label:after { ...@@ -768,6 +767,8 @@ label:after {
color:white; color:white;
border-top:60px solid #f2f2f2; border-top:60px solid #f2f2f2;
background: #d4004b; background: #d4004b;
max-width: 1280px;
margin: auto;
} }
@media (max-width: 767px){ @media (max-width: 767px){
.footer{ .footer{
...@@ -892,7 +893,7 @@ body { ...@@ -892,7 +893,7 @@ body {
font-size: 12px; font-size: 12px;
color: black; color: black;
max-width: 193px; max-width: 193px;
word-break: break-all; word-break: break-word;
} }
.info-detail p{ .info-detail p{
margin: 0; margin: 0;
...@@ -1201,9 +1202,10 @@ body { ...@@ -1201,9 +1202,10 @@ body {
} }
#dataset-map .module-heading{ #dataset-map .module-heading{
padding:0px; padding: 15px 0px 5px 0px;
margin-right:0px; margin-right:0px;
font-weight: normal; font-weight: normal;
border-top: 2px solid #dddddd;
} }
.module.module-narrow.dataset-map{ .module.module-narrow.dataset-map{
margin: 5px 0; margin: 5px 0;
...@@ -1263,7 +1265,7 @@ display: none; ...@@ -1263,7 +1265,7 @@ display: none;
} }
.filter-list .filtered.pill, .filter-list .filtered.pill,
.filter-list .filtered.pill .fa{ .filter-list .filtered.pill .fa{
background-color: #444444; background-color: #003064;
color:white; color:white;
} }
.site-title{ .site-title{
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
} }
.navbar-static-top .container.navigation-container{ .navbar-static-top .container.navigation-container{
width: 100%; width: 100%;
max-width: unset; max-width: 1280px;
} }
[class*="span"] { [class*="span"] {
......
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
<ul class="nav nav-pills"> <ul class="nav nav-pills">
{% block header_site_navigation_tabs %} {% block header_site_navigation_tabs %}
{{ h.build_nav_main( {{ h.build_nav_main(
('home', _('Startseite')), ('home', _('Start')),
('search', _('Daten')), ('search', _('Daten')),
('organizations_index', _('Herausgeber')), ('organizations_index', _('Herausgeber')),
('info_page', _('Infos')) ('info_page', _('Infos'))
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
{% block subtitle %}{{ _("Welcome") }}{% endblock %} {% block subtitle %}{{ _("Welcome") }}{% endblock %}
{% block breadcrumb_content %} {% block breadcrumb_content %}
<li class="active">{{ h.nav_link(_('Startseite'), controller='home', action='index') }}</li> <li class="active">{{ h.nav_link(_('Start'), controller='home', action='index') }}</li>
{% endblock %} {% endblock %}
......
...@@ -14,15 +14,16 @@ ...@@ -14,15 +14,16 @@
{% block secondary_content %} {% block secondary_content %}
{% snippet "spatial/snippets/spatial_query.html",
default_extent="{ \"type\": \"Polygon\", \"coordinates\": [[[7.6574,53.1632],[11.8322,53.1632],[11.8322,55.1066],
[7.6574,55.1066],[7.6574,53.1632]]] }"%}
<div class="filters"> <div class="filters">
<div class="container-fluid filter-reset"> <div class="container-fluid filter-reset">
<div class="filter-reset-label"><span>Filter:</span></div> <div class="filter-reset-label"><span>Filter:</span></div>
<div class="filter-reset-box"><a href="{{c.remove_field(c.fields_grouped)}}">zurücksetzen</a></button></div> <div class="filter-reset-box"><a href="{{h.url_for(controller='package', action='search')}}">zurücksetzen</a></button></div>
</div> </div>
</div>
{% snippet "snippets/map.html",
default_extent="{ \"type\": \"Polygon\", \"coordinates\": [[[7.6574,53.1632],[11.8322,53.1632],[11.8322,55.1066],
[7.6574,55.1066],[7.6574,53.1632]]] }"%}
<div class="filters">
<div> <div>
{% for facet in c.facet_titles %} {% for facet in c.facet_titles %}
{{ h.snippet('snippets/facet_list.html', title=c.facet_titles[facet], name=facet) }} {{ h.snippet('snippets/facet_list.html', title=c.facet_titles[facet], name=facet) }}
......
<section id="dataset-map" class="module-narrow module-shallow">
<h2 class="module-heading">
{{_('map')}}:
</h2>
{% set map_config = h.get_common_map_config() %}
<div class="dataset-map" data-module="spatial-query" data-default_extent="{{ default_extent }}" data-module-map_config="{{ h.dump_json(map_config) }}">
<div id="dataset-map-container"></div>
</div>
<div id="dataset-map-attribution">
{% snippet "spatial/snippets/map_attribution.html", map_config=map_config %}
</div>
</section>
{% resource 'ckanext-spatial/spatial_query' %}
\ No newline at end of file
...@@ -46,7 +46,7 @@ Example: ...@@ -46,7 +46,7 @@ Example:
{% endif %} {% endif %}
{% endblock %} {% endblock %}
{% block heading_title %} {% block heading_title %}
{{ h.link_to(h.truncate(title, truncate_title), h.url_for(controller='package', action='read', id=package.name)) {{ h.link_to(h.truncate(title, truncate_title), h.url_for(controller='package', action='read', id=package.name),title=_('View {organization_name}').format(organization_name=package.name))
}} }}
{% endblock %} {% endblock %}
{% block heading_meta %} {% block heading_meta %}
......
...@@ -93,6 +93,19 @@ ...@@ -93,6 +93,19 @@
</p> </p>
{% endif %} {% endif %}
</div> </div>
<div >
{%set ext_bbox=request.params.get('ext_bbox')%}
{%set ext_prev_extent=request.params.get('ext_prev_extent')%}
{%set ext_location=request.params.get('ext_location')%}
{% if ext_bbox or ext_prev_extent %}
<p class="filter-list">
<span class="filtered pill">
{{_('map search active')}}
<a href="{{ h.remove_url_param(['ext_bbox','ext_prev_extent', 'ext_location'])}}" class="remove" title="{{ _('Remove') }}"><i class="fa fa-times"></i></a>
</span>
</p>
{% endif %}
</div>
{% endblock %} {% endblock %}
</form> </form>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment