select box fixed, some css
This commit is contained in:
parent
779a88b0d5
commit
db8ce381d4
|
@ -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)
|
||||
|
|
|
@ -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 }};
|
|||
<body>
|
||||
<div id="map"></div>
|
||||
<div id="overlayWrapper">
|
||||
<select id="ctypeList">
|
||||
<select id="ctypeList" name="ctypeList">
|
||||
{% for c in ctypes %}
|
||||
<option value="{{ c.id }}" {% ifequal c.id content_type_id %} selected="selected" {% endifequal %}>
|
||||
<option value="{{ c.id }}" {% ifequal c.id content_type_id %} selected {% endifequal %}>
|
||||
{{ c.name }}
|
||||
</option>
|
||||
{% endfor %}
|
||||
|
|
Loading…
Reference in New Issue
Block a user