From 5b218a7a4a742b2e2489bacbf653f1b7fd3a60c9 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Thu, 16 Apr 2015 19:48:17 +0200 Subject: Disable autocomplete by default - better visibility for pager --- chimere_example_static/chimere/css/extra-styles.css | 10 ++++++++++ settings.py | 2 ++ 2 files changed, 12 insertions(+) diff --git a/chimere_example_static/chimere/css/extra-styles.css b/chimere_example_static/chimere/css/extra-styles.css index 5a4df27..16af217 100644 --- a/chimere_example_static/chimere/css/extra-styles.css +++ b/chimere_example_static/chimere/css/extra-styles.css @@ -219,6 +219,16 @@ li.main_category > span.category_name:hover{ width:30px; } +#search-nav{ + position:absolute; + bottom:0; + width:100%; + background-color:#F8F8F8; + border-top:1px solid #E6E6E6; + padding: 0 10px; + left: 0; +} + #main-map { height: auto; bottom: 0px; diff --git a/settings.py b/settings.py index 47fab7b..072a322 100644 --- a/settings.py +++ b/settings.py @@ -136,6 +136,8 @@ HAYSTACK_CONNECTIONS = { 'INCLUDE_SPELLING': True, }, } +HAYSTACK_SEARCH_RESULTS_PER_PAGE = 12 +HAYSTACK_AUTOCOMPLETE = True CHIMERE_CSV_ENCODING = 'ISO-8859-1' -- cgit v1.2.3