From 7024ef31a0269aabc48d7faebd9d2ac39f181f13 Mon Sep 17 00:00:00 2001
From: Yohan Boniface <yb@enix.org>
Date: Tue, 18 Dec 2012 18:33:19 +0100
Subject: [PATCH] Use standalone ui listener for now

---
 youmap/static/youmap/youmap.css                      | 4 ++--
 youmap/templates/base.html                           | 6 ++++--
 youmap/templates/chickpea/map_update_tilelayers.html | 2 +-
 3 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/youmap/static/youmap/youmap.css b/youmap/static/youmap/youmap.css
index 137a144..f55c6ee 100644
--- a/youmap/static/youmap/youmap.css
+++ b/youmap/static/youmap/youmap.css
@@ -64,9 +64,9 @@ input:-moz-placeholder, :-moz-placeholder {
     line-height: 32px;
     padding-left: 10px;
 }
-#reveal-container textarea {
+#storage-ui-container textarea {
     height: 100px;
 }
-#reveal-container select {
+#storage-ui-container select {
     margin-bottom: 10px;
 }
\ No newline at end of file
diff --git a/youmap/templates/base.html b/youmap/templates/base.html
index 9703614..0ceb2cf 100644
--- a/youmap/templates/base.html
+++ b/youmap/templates/base.html
@@ -6,6 +6,7 @@
     <!-- Included CSS Files (Compressed) -->
     <link rel="stylesheet" href="{{ STATIC_URL }}foundation/stylesheets/foundation.css">
     <link rel="stylesheet" href="{{ STATIC_URL }}youmap/youmap.css">
+    <link rel="stylesheet" href="{{ STATIC_URL }}storage/contrib/css/storage.ui.example.css">
 
     <script src="{{ STATIC_URL }}foundation/javascripts/modernizr.foundation.js"></script>
 
@@ -37,10 +38,11 @@
     <script src="{{ STATIC_URL }}foundation/javascripts/jquery.foundation.accordion.js"></script>
     <script src="{{ STATIC_URL }}foundation/javascripts/jquery.placeholder.js"></script>
     <script src="{{ STATIC_URL }}foundation/javascripts/jquery.foundation.alerts.js"></script>
-    <script src="{{ STATIC_URL }}storage/contrib/js/storage.foundation.js"></script>
+    <script src="{{ STATIC_URL }}storage/contrib/js/storage.ui.example.js"></script>
     <script src="{{ STATIC_URL }}endless_pagination/js/endless-pagination.js"></script>
     {% block bottom_js %}
     {% endblock %}
-    <div id="reveal-container"></div>
+    <div id="storage-ui-container"></div>
+    <div id="storage-alert-container"></div>
 </body>
 </html>
diff --git a/youmap/templates/chickpea/map_update_tilelayers.html b/youmap/templates/chickpea/map_update_tilelayers.html
index a00f0c6..a776258 100644
--- a/youmap/templates/chickpea/map_update_tilelayers.html
+++ b/youmap/templates/chickpea/map_update_tilelayers.html
@@ -2,7 +2,7 @@
 <h3>Choose your tilelayers</h3>
 <form action="{% url map_update_tilelayers map.pk %}" method="post" id="map_edit">
     {% csrf_token %}
-    <ul class="block-grid four-up mobile">
+    <ul class="block-grid two-up mobile">
     {% for tilelayer in tilelayers %}
         <li>
             <label for="tilelayer_{{ forloop.counter }}">
-- 
GitLab