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, {
|
context = RequestContext(request, {
|
||||||
'ctypes': ctypes,
|
'ctypes': ctypes,
|
||||||
'content_type_id': ctype_id
|
'content_type_id': content_type_id
|
||||||
})
|
})
|
||||||
return render_to_response("edit.html", context)
|
return render_to_response("edit.html", context)
|
||||||
|
|
|
@ -23,10 +23,10 @@ html, body {
|
||||||
#overlayWrapper {
|
#overlayWrapper {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 10px;
|
top: 10px;
|
||||||
right: 10px;
|
right: 45px;
|
||||||
height: 80%;
|
bottom: 10px;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
background: #fff;
|
background: rgba(204,204,204,0.6);
|
||||||
}
|
}
|
||||||
|
|
||||||
.selectedItem {
|
.selectedItem {
|
||||||
|
@ -45,9 +45,9 @@ CONTENT_TYPE_ID = {{ content_type_id }};
|
||||||
<body>
|
<body>
|
||||||
<div id="map"></div>
|
<div id="map"></div>
|
||||||
<div id="overlayWrapper">
|
<div id="overlayWrapper">
|
||||||
<select id="ctypeList">
|
<select id="ctypeList" name="ctypeList">
|
||||||
{% for c in ctypes %}
|
{% 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 }}
|
{{ c.name }}
|
||||||
</option>
|
</option>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user