Ticket #926: admin-dashboard.diff
File admin-dashboard.diff, 2.3 KB (added by , 19 years ago) |
---|
-
django/contrib/admin/media/css/global.css
117 117 .module h3 { margin-top:.6em; } 118 118 #content-related .module h2 { background:#eee url(../img/admin/nav-bg.gif) bottom left repeat-x; color:#666; } 119 119 #content-main .verbose .actionlist { float:right; font-size:10px; width:17em; position:relative; top:-1.6em; margin:0 8px; } 120 .dashboard .module table { width:100%; }121 120 121 /* DASHBOARD */ 122 .dashboard .module table th { width:100%; } 123 .dashboard .module table td { white-space:nowrap; } 124 .dashboard .module table td a { display:block; padding-right:.6em; } 125 122 126 /* RECENT ACTIONS MODULE */ 123 124 127 .module ul.actionlist { margin-left:0; } 125 128 ul.actionlist li { list-style-type:none; } 126 129 127 130 /* FORM DEFAULTS */ 128 129 131 input, textarea, select { margin:2px 0; padding:2px 3px; vertical-align:middle; border:1px solid #ccc; font-family:"Lucida Grande", Verdana, Arial, sans-serif; font-weight:normal; font-size:11px; } 130 132 textarea { vertical-align:top !important; } 131 133 input[type=checkbox], input[type=radio] { border:none; } -
django/contrib/admin/templates/admin/index.html
24 24 {% endif %} 25 25 26 26 {% if model.perms.add %} 27 <td class="x50"><a href="{{ model.admin_url }}add/" class="addlink">{% trans 'Add' %}</a></td>27 <td><a href="{{ model.admin_url }}add/" class="addlink">{% trans 'Add' %}</a></td> 28 28 {% else %} 29 <td class="x50"> </td>29 <td> </td> 30 30 {% endif %} 31 31 32 32 {% if model.perms.change %} 33 <td class="x75"><a href="{{ model.admin_url }}" class="changelink">{% trans 'Change' %}</a></td>33 <td><a href="{{ model.admin_url }}" class="changelink">{% trans 'Change' %}</a></td> 34 34 {% else %} 35 <td class="x75"> </td>35 <td> </td> 36 36 {% endif %} 37 37 </tr> 38 38 {% endfor %}