forked from rc/aircox
remove Station model (to much trouble for few advantages); start new player; rename Post.detail_url to Post.url, same for ListItem; move Article into website app; add website.Sound post; work on lists;...
This commit is contained in:
@ -1,51 +0,0 @@
|
||||
{% extends "admin/base.html" %}
|
||||
|
||||
{% block extrahead %}
|
||||
{% include 'autocomplete_light/static.html' %}
|
||||
<style>
|
||||
|
||||
/** autocomplete override **/
|
||||
.autocomplete-light-widget .deck [data-value] .remove {
|
||||
float: right;
|
||||
}
|
||||
|
||||
.autocomplete-light-widget .deck [data-value],
|
||||
.autocomplete-light-widget .deck .choice {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.control-group .add-related,
|
||||
.inline-group .add-related {
|
||||
vertical-align: bottom;
|
||||
}
|
||||
|
||||
|
||||
/** suit **/
|
||||
.controls textarea,
|
||||
.controls .vTextField {
|
||||
width: calc(100% - 10px);
|
||||
}
|
||||
|
||||
|
||||
/** grappelli **/
|
||||
.grp-autocomplete-wrapper-m2m:focus, .grp-autocomplete-wrapper-m2m.grp-state-focus,
|
||||
.grp-autocomplete-wrapper-m2m {
|
||||
background: rgba(255, 255, 255, 0.2);
|
||||
border: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.grp-autocomplete-wrapper-m2m ul.grp-repr li.grp-search {
|
||||
background-color: #FDFDFD;
|
||||
border: 1px solid #CCC;
|
||||
}
|
||||
|
||||
.grp-autocomplete-wrapper-m2m ul.grp-repr li {
|
||||
float: none;
|
||||
display: block;
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
{% endblock %}
|
||||
|
@ -13,8 +13,8 @@
|
||||
{% for k, v in item.attrs.items %}
|
||||
{{ k }} = "{{ v|addslashes }}"
|
||||
{% endfor %} >
|
||||
{% if item.detail_url %}
|
||||
<a href="{{ item.detail_url }}">
|
||||
{% if item.url %}
|
||||
<a href="{{ item.url }}">
|
||||
{% endif %}
|
||||
{% if 'image' in list.fields and item.image %}
|
||||
<img src="{% thumbnail item.image list.image_size crop %}">
|
||||
@ -65,7 +65,7 @@
|
||||
</div>
|
||||
|
||||
|
||||
{% if item.detail_url %}
|
||||
{% if item.url %}
|
||||
</a>
|
||||
{% endif %}
|
||||
{% empty %}
|
||||
|
Reference in New Issue
Block a user