@ -40,23 +40,28 @@
< div id = "content-main" class = "list-content" >
{% block object-tools %}
< div class = "fixed-action-btn" >
< a class = "btn-floating btn-large" >
< i class = "large material-icons" > build< / i >
< / a >
< ul >
{% block object-tools-items %}
{% if has_add_permission %}
< li >
{% url cl.opts|admin_urlname:'add' as add_url %}
< a href = "{% add_preserved_filters add_url is_popup to_field %}" class = "btn-floating tooltipped waves-effect waves-light" data-position = "left" data-tooltip = "{% trans 'Add' %}" >
< i class = "material-icons" aria-hidden = "true" > add< / i >
< a class = "btn-floating btn-large" >
< i class = "large material-icons" > build< / i >
< / a >
< / li >
{% endif %}
{% endblock %}
< / ul >
< / div >
{% endblock %}
< ul >
< li >
< a href = "{% add_preserved_filters add_url is_popup to_field %}" data-target = "filter" class = "btn-floating tooltipped waves-effect waves-light sidenav-trigger" data-position = "left" data-tooltip = "{% trans 'Filter' %}" >
< i class = "material-icons" aria-hidden = "true" > filter_list< / i >
< / a >
< / li >
{% block object-tools-items %}
{% if has_add_permission %}
< li >
{% url cl.opts|admin_urlname:'add' as add_url %}
< a href = "{% add_preserved_filters add_url is_popup to_field %}" class = "btn-floating tooltipped waves-effect waves-light" data-position = "left" data-tooltip = "{% trans 'Add' %}" >
< i class = "material-icons" aria-hidden = "true" > add< / i >
< / a >
< / li >
{% endif %}
{% endblock %}
< / ul >
< / div >
{% endblock %}
{% if cl.formset.errors %}
< p class = "errornote" >
{% if cl.formset.total_error_count == 1 %}{% trans "Please correct the error below." %}{% else %}{% trans "Please correct the errors below." %}{% endif %}
@ -99,6 +104,5 @@
< / div >
< / div >
< / ul >
< a href = "#" data-target = "filter" class = "top sidenav-trigger" > < i class = "small material-icons" > filter_list< / i > < / a >
< / div >
{% endblock %}