From db8ce381d4afc728a355cabd3f2194c167e8e3ea Mon Sep 17 00:00:00 2001 From: Sanj Date: Tue, 14 Aug 2012 14:34:24 +0530 Subject: [PATCH] select box fixed, some css --- openmumbai/places/views.py | 2 +- openmumbai/templates/edit.html | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/openmumbai/places/views.py b/openmumbai/places/views.py index df5bf0c..9474742 100644 --- a/openmumbai/places/views.py +++ b/openmumbai/places/views.py @@ -16,6 +16,6 @@ def edit(request, ctype_id): context = RequestContext(request, { 'ctypes': ctypes, - 'content_type_id': ctype_id + 'content_type_id': content_type_id }) return render_to_response("edit.html", context) diff --git a/openmumbai/templates/edit.html b/openmumbai/templates/edit.html index 54abffc..25a342c 100644 --- a/openmumbai/templates/edit.html +++ b/openmumbai/templates/edit.html @@ -23,10 +23,10 @@ html, body { #overlayWrapper { position: absolute; top: 10px; - right: 10px; - height: 80%; + right: 45px; + bottom: 10px; overflow: auto; - background: #fff; + background: rgba(204,204,204,0.6); } .selectedItem { @@ -45,9 +45,9 @@ CONTENT_TYPE_ID = {{ content_type_id }};
- {% for c in ctypes %} - {% endfor %}