diff options
-rw-r--r-- | chimere/static/chimere/css/styles.css | 7 | ||||
-rw-r--r-- | chimere/templates/chimere/main_map.html | 1 | ||||
-rw-r--r-- | chimere/urls.py | 2 |
3 files changed, 4 insertions, 6 deletions
diff --git a/chimere/static/chimere/css/styles.css b/chimere/static/chimere/css/styles.css index b0a0455..3b835af 100644 --- a/chimere/static/chimere/css/styles.css +++ b/chimere/static/chimere/css/styles.css @@ -557,11 +557,13 @@ p.warning{ #welcome_button, +#simple_button, #permalink{ display: block; text-align:center; margin:0.3em; padding:0.2em; + width:100%; } a#welcome_button, @@ -571,11 +573,6 @@ a#welcome_button, text-decoration:none; } -#welcome_button, -#permalink{ - width:100%; -} - /* forms */ table.inline-table{ diff --git a/chimere/templates/chimere/main_map.html b/chimere/templates/chimere/main_map.html index b3e187e..76f796d 100644 --- a/chimere/templates/chimere/main_map.html +++ b/chimere/templates/chimere/main_map.html @@ -24,6 +24,7 @@ {% endif %} {% display_news news_visible %} <div id='permalink' class='ui-widget ui-button ui-state-default ui-corner-all'></div> + <a id='simple_button' class='ui-widget ui-button ui-state-default ui-corner-all' href='{% url chimere:simple_index area_name_slash %}'>{% trans "Simple map" %}</a> </div> <div id='detail' class='ui-widget ui-corner-all'></div> <div id='category_detail'></div> diff --git a/chimere/urls.py b/chimere/urls.py index a232382..9d4018a 100644 --- a/chimere/urls.py +++ b/chimere/urls.py @@ -31,7 +31,7 @@ def i18n_javascript(request): urlpatterns = patterns('chimere.views', - url(r'^simple(/?P<area_name>[a-zA-Z0-9_-]+)?$', 'index', {'simple':True}, + url(r'^(?P<area_name>[a-zA-Z0-9_-]+/)?simple$', 'index', {'simple':True}, name="simple_index") ) |