diff --git a/django/contrib/admin/media/css/global.css b/django/contrib/admin/media/css/global.css index bc3d54fbb0..eef44959f0 100644 --- a/django/contrib/admin/media/css/global.css +++ b/django/contrib/admin/media/css/global.css @@ -76,6 +76,9 @@ thead th, tfoot td { color:#666; padding:2px 5px; font-size:11px; background:#e1 tfoot td { border-bottom:none; border-top:1px solid #ddd; } thead th:first-child, tfoot td:first-child { border-left:none !important; } .module table { border-collapse: collapse; } +.module table tr th { width: 100%; } +.module table tr td a { padding-right:1em; display:block; } +.module table caption { border: none; } thead th.optional { font-weight:normal !important; } fieldset table { border-right:1px solid #eee; } tr.row-label td { font-size:9px; padding-top:2px; padding-bottom:0; border-bottom:none; color:#666; margin-top:-1px; } diff --git a/django/contrib/admin/templates/admin/index.html b/django/contrib/admin/templates/admin/index.html index d9388ee733..ca82a86707 100644 --- a/django/contrib/admin/templates/admin/index.html +++ b/django/contrib/admin/templates/admin/index.html @@ -13,14 +13,14 @@ {% if app_list %} {% for app in app_list %}
{{ model.name }} | +{{ model.name }} | {% else %} -{{ model.name }} | +{{ model.name }} | {% endif %} {% if model.perms.add %}
---|