More style changes on model list

This commit is contained in:
Ludvig Wadenstein 2013-05-19 14:29:29 +02:00
parent c543c57f15
commit ed9f1c3b69
2 changed files with 13 additions and 6 deletions

View file

@ -12,4 +12,12 @@
.text-left
{
text-align: left !important;
}
}
.checkbox-column {
width: 16px;
}
.space-below {
margin-bottom: 10px;
}

View file

@ -11,7 +11,7 @@
<div class="row">
<div class="span12">
<div class="navbar">
<div class="space-below">
<div class="btn-group">
<button class="btn dropdown-toggle" data-toggle="dropdown">
Actions
@ -21,7 +21,7 @@
<li><a tabindex="-1" href="#">Delete selected {{ model }}{{ object_list|pluralize }}</a></li>
</ul>
</div>
TODO of {{ object_list|length }} selected
<small class="muted">TODO of {{ object_list|length }} selected</small>
<div class="pull-right">
{# if has_add_permission #}
<a href="{% url view|admin2_urlname:'create' %}" class="btn"><i class="icon-plus"></i> Add {{ model }}</a>
@ -31,7 +31,7 @@
<table class="table table-bordered table-striped">
<thead>
<th><input type="checkbox"></th>
<th class="checkbox-column"><input type="checkbox"></th>
<th>{{ model|title}}</th>
</thead>
<tbody>
@ -49,8 +49,7 @@
{% endfor %}
</tbody>
</table>
{{ object_list|length }} {{ model }}{{ object_list|pluralize }}
<p>{{ object_list|length }} {{ model }}{{ object_list|pluralize }}</p>
</div>
</div>