diff --git a/umap/settings/base.py b/umap/settings/base.py index f0b4b2b8..c7056b58 100644 --- a/umap/settings/base.py +++ b/umap/settings/base.py @@ -45,8 +45,7 @@ INSTALLED_APPS = ( 'django.contrib.staticfiles', 'django.contrib.admin', 'django.contrib.admindocs', - 'django.contrib.gis', - 'django.contrib.markup', + 'django.contrib.gis' ) #============================================================================== @@ -160,4 +159,4 @@ SOCIAL_AUTH_PIPELINE = ( 'social_auth.backends.pipeline.social.associate_user', 'social_auth.backends.pipeline.social.load_extra_data', 'social_auth.backends.pipeline.user.update_user_details' -) +) \ No newline at end of file diff --git a/umap/static/umap/umap.css b/umap/static/umap/umap.css index f51c4836..5fb3f0d4 100644 --- a/umap/static/umap/umap.css +++ b/umap/static/umap/umap.css @@ -165,7 +165,7 @@ nav a { } nav a:hover { - background-color: SeaGreen; + background-color: #79c1c0; } nav h1 a { @@ -194,6 +194,44 @@ nav .branding { margin-bottom: 7px; } +/* **************************** */ +/* colors */ +/* **************************** */ +a { + color: #689191; +} +.button, input[type="submit"] { + background-color: #79c1c0; +} +.button:hover, input[type="submit"]:hover { + background-color: #689191; +} +.warning { + color: #cc0000; +} +.tintbox { + background-color: #28353D; +} +.tintbox, +.tintbox p, +.tintbox a { + color: #f8f8f8; + font-family: sans-serif; +} +.tintbox a { + text-decoration: underline; +} +.tintbox.warning { + background-color: #cc0000; + color: #fff; +} +.tintbox .note, .tintbox .note a { + line-height: 1.2em; + font-size: 11px; + font-style: italic; +} + + /* **************************** */ /* Override Leaflet.Storage */ /* **************************** */ @@ -209,8 +247,9 @@ body.content #storage-ui-container { #id_editors + br + span.helptext { display: none; } +.storage-loader, .leaflet-popup-content .storage-popup-footer, .leaflet-control-browse .storage-browse-actions a.add-datalayer, .leaflet-control-browse .storage-browse-actions a.storage-browse-link { - background-color: SeaGreen; + background-color: #79c1c0 !important; } diff --git a/umap/templates/base.html b/umap/templates/base.html index 2877ef2d..2b697fbb 100644 --- a/umap/templates/base.html +++ b/umap/templates/base.html @@ -9,7 +9,6 @@ - diff --git a/umap/templates/umap/about_summary.html b/umap/templates/umap/about_summary.html index 1111648a..bcc31084 100644 --- a/umap/templates/umap/about_summary.html +++ b/umap/templates/umap/about_summary.html @@ -2,11 +2,12 @@
{% blocktrans with osm_url="http://osm.org" %}uMap let you create maps with OpenStreetMap layers in a minute and embed them in your site.{% endblocktrans %} +
{% blocktrans with osm_url="http://osm.org" %}uMap let you create maps with OpenStreetMap layers in a minute and embed them in your site.{% endblocktrans %}
+
{% if DEMO_SITE %}
-
{% blocktrans with repo_url="https://bitbucket.org/yohanboniface/umap" %}This is a demo instance, you can host your own, it's open source!{% endblocktrans %}
+ {% blocktrans with repo_url="https://bitbucket.org/yohanboniface/umap" stable_url="http://umap.openstreetmap.fr" %}This is a demo instance, used for tests and pre-rolling releases. If you need a stable instance, please use {{ stable_url }}. You can also host your own instance, it's open source!{% endblocktrans %}
{% else %}
-
{% blocktrans with repo_url="https://bitbucket.org/yohanboniface/umap" %}And it's open source!{% endblocktrans %}
+ {% blocktrans with repo_url="https://bitbucket.org/yohanboniface/umap" %}And it's open source!{% endblocktrans %}
{% endif %}