diff options
author | Étienne Loks <etienne.loks@proxience.com> | 2015-04-16 19:48:17 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@proxience.com> | 2015-04-16 19:48:17 +0200 |
commit | 5b218a7a4a742b2e2489bacbf653f1b7fd3a60c9 (patch) | |
tree | 12fe7497712338e4d27efe549a88892e707687af | |
parent | efa6b41339623028c8ef7a5534946f4617d6d977 (diff) | |
download | Chimère - projet de référence-5b218a7a4a742b2e2489bacbf653f1b7fd3a60c9.tar.bz2 Chimère - projet de référence-5b218a7a4a742b2e2489bacbf653f1b7fd3a60c9.zip |
Disable autocomplete by default - better visibility for pager
-rw-r--r-- | chimere_example_static/chimere/css/extra-styles.css | 10 | ||||
-rw-r--r-- | settings.py | 2 |
2 files changed, 12 insertions, 0 deletions
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' |