Permalink
Browse files

Fixed #16050 -- BACKWARDS-INCOMPATIBLE CHANGE: Moved static files of …

…the admin to conventional file system location.

This also removes the need for ADMIN_MEDIA_PREFIX and replaces it with the convention to find admin's static files at STATIC_URL + 'admin/'.

Thanks to Jacob for the review and general help.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@16487 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 89e0e8b commit 38a2444277a84eb6b74425f0e324d1dceb7d2ef1 @jezdez jezdez committed Jun 30, 2011
Showing with 485 additions and 418 deletions.
  1. +4 −1 django/conf/__init__.py
  2. +0 −5 django/conf/global_settings.py
  3. +0 −5 django/conf/project_template/settings.py
  4. +2 −3 django/contrib/admin/helpers.py
  5. +14 −16 django/contrib/admin/options.py
  6. +32 −32 django/contrib/admin/{media → static/admin}/css/base.css
  7. +5 −5 django/contrib/admin/{media → static/admin}/css/changelists.css
  8. 0 django/contrib/admin/{media → static/admin}/css/dashboard.css
  9. +6 −6 django/contrib/admin/{media → static/admin}/css/forms.css
  10. +1 −1 django/contrib/admin/{media → static/admin}/css/ie.css
  11. 0 django/contrib/admin/{media → static/admin}/css/login.css
  12. +2 −2 django/contrib/admin/{media → static/admin}/css/rtl.css
  13. +20 −20 django/contrib/admin/{media → static/admin}/css/widgets.css
  14. BIN django/contrib/admin/{media/img/admin → static/admin/img}/arrow-down.gif
  15. BIN django/contrib/admin/{media/img/admin → static/admin/img}/arrow-up.gif
  16. BIN django/contrib/admin/{media/img/admin → static/admin/img}/changelist-bg.gif
  17. BIN django/contrib/admin/{media/img/admin → static/admin/img}/changelist-bg_rtl.gif
  18. BIN django/contrib/admin/{media/img/admin → static/admin/img}/chooser-bg.gif
  19. BIN django/contrib/admin/{media/img/admin → static/admin/img}/chooser_stacked-bg.gif
  20. BIN django/contrib/admin/{media/img/admin → static/admin/img}/default-bg-reverse.gif
  21. BIN django/contrib/admin/{media/img/admin → static/admin/img}/default-bg.gif
  22. BIN django/contrib/admin/{media/img/admin → static/admin/img}/deleted-overlay.gif
  23. BIN django/contrib/admin/{media → static/admin}/img/gis/move_vertex_off.png
  24. BIN django/contrib/admin/{media → static/admin}/img/gis/move_vertex_on.png
  25. BIN django/contrib/admin/{media/img/admin → static/admin/img}/icon-no.gif
  26. BIN django/contrib/admin/{media/img/admin → static/admin/img}/icon-unknown.gif
  27. BIN django/contrib/admin/{media/img/admin → static/admin/img}/icon-yes.gif
  28. BIN django/contrib/admin/{media/img/admin → static/admin/img}/icon_addlink.gif
  29. BIN django/contrib/admin/{media/img/admin → static/admin/img}/icon_alert.gif
  30. BIN django/contrib/admin/{media/img/admin → static/admin/img}/icon_calendar.gif
  31. BIN django/contrib/admin/{media/img/admin → static/admin/img}/icon_changelink.gif
  32. BIN django/contrib/admin/{media/img/admin → static/admin/img}/icon_clock.gif
  33. BIN django/contrib/admin/{media/img/admin → static/admin/img}/icon_cog.gif
  34. BIN django/contrib/admin/{media/img/admin → static/admin/img}/icon_deletelink.gif
  35. BIN django/contrib/admin/{media/img/admin → static/admin/img}/icon_error.gif
  36. BIN django/contrib/admin/{media/img/admin → static/admin/img}/icon_searchbox.png
  37. BIN django/contrib/admin/{media/img/admin → static/admin/img}/icon_success.gif
  38. BIN django/contrib/admin/{media/img/admin → static/admin/img}/inline-delete-8bit.png
  39. BIN django/contrib/admin/{media/img/admin → static/admin/img}/inline-delete.png
  40. BIN django/contrib/admin/{media/img/admin → static/admin/img}/inline-restore-8bit.png
  41. BIN django/contrib/admin/{media/img/admin → static/admin/img}/inline-restore.png
  42. BIN django/contrib/admin/{media/img/admin → static/admin/img}/inline-splitter-bg.gif
  43. BIN django/contrib/admin/{media/img/admin → static/admin/img}/nav-bg-grabber.gif
  44. BIN django/contrib/admin/{media/img/admin → static/admin/img}/nav-bg-reverse.gif
  45. BIN django/contrib/admin/{media/img/admin → static/admin/img}/nav-bg-selected.gif
  46. BIN django/contrib/admin/{media/img/admin → static/admin/img}/nav-bg.gif
  47. BIN django/contrib/admin/{media/img/admin → static/admin/img}/selector-add.gif
  48. BIN django/contrib/admin/{media/img/admin → static/admin/img}/selector-addall.gif
  49. BIN django/contrib/admin/{media/img/admin → static/admin/img}/selector-remove.gif
  50. BIN django/contrib/admin/{media/img/admin → static/admin/img}/selector-removeall.gif
  51. BIN django/contrib/admin/{media/img/admin → static/admin/img}/selector-search.gif
  52. BIN django/contrib/admin/{media/img/admin → static/admin/img}/selector_stacked-add.gif
  53. BIN django/contrib/admin/{media/img/admin → static/admin/img}/selector_stacked-remove.gif
  54. BIN django/contrib/admin/{media/img/admin → static/admin/img}/tool-left.gif
  55. BIN django/contrib/admin/{media/img/admin → static/admin/img}/tool-left_over.gif
  56. BIN django/contrib/admin/{media/img/admin → static/admin/img}/tool-right.gif
  57. BIN django/contrib/admin/{media/img/admin → static/admin/img}/tool-right_over.gif
  58. BIN django/contrib/admin/{media/img/admin → static/admin/img}/tooltag-add.gif
  59. BIN django/contrib/admin/{media/img/admin → static/admin/img}/tooltag-add_over.gif
  60. BIN django/contrib/admin/{media/img/admin → static/admin/img}/tooltag-arrowright.gif
  61. BIN django/contrib/admin/{media/img/admin → static/admin/img}/tooltag-arrowright_over.gif
  62. 0 django/contrib/admin/{media → static/admin}/js/LICENSE-JQUERY.txt
  63. 0 django/contrib/admin/{media → static/admin}/js/SelectBox.js
  64. +2 −2 django/contrib/admin/{media → static/admin}/js/SelectFilter2.js
  65. 0 django/contrib/admin/{media → static/admin}/js/actions.js
  66. 0 django/contrib/admin/{media → static/admin}/js/actions.min.js
  67. +2 −2 django/contrib/admin/{media → static/admin}/js/admin/DateTimeShortcuts.js
  68. 0 django/contrib/admin/{media → static/admin}/js/admin/RelatedObjectLookups.js
  69. 0 django/contrib/admin/{media → static/admin}/js/admin/ordering.js
  70. 0 django/contrib/admin/{media → static/admin}/js/calendar.js
  71. 0 django/contrib/admin/{media → static/admin}/js/collapse.js
  72. 0 django/contrib/admin/{media → static/admin}/js/collapse.min.js
  73. 0 django/contrib/admin/{media → static/admin}/js/compress.py
  74. 0 django/contrib/admin/{media → static/admin}/js/core.js
  75. 0 django/contrib/admin/{media → static/admin}/js/getElementsBySelector.js
  76. 0 django/contrib/admin/{media → static/admin}/js/inlines.js
  77. 0 django/contrib/admin/{media → static/admin}/js/inlines.min.js
  78. 0 django/contrib/admin/{media → static/admin}/js/jquery.init.js
  79. 0 django/contrib/admin/{media → static/admin}/js/jquery.js
  80. 0 django/contrib/admin/{media → static/admin}/js/jquery.min.js
  81. 0 django/contrib/admin/{media → static/admin}/js/prepopulate.js
  82. 0 django/contrib/admin/{media → static/admin}/js/prepopulate.min.js
  83. 0 django/contrib/admin/{media → static/admin}/js/timeparse.js
  84. 0 django/contrib/admin/{media → static/admin}/js/urlify.js
  85. +2 −2 django/contrib/admin/templates/admin/auth/user/change_password.html
  86. +5 −5 django/contrib/admin/templates/admin/base.html
  87. +2 −2 django/contrib/admin/templates/admin/change_form.html
  88. +3 −3 django/contrib/admin/templates/admin/change_list.html
  89. +2 −3 django/contrib/admin/templates/admin/change_list_results.html
  90. +3 −3 django/contrib/admin/templates/admin/edit_inline/stacked.html
  91. +3 −3 django/contrib/admin/templates/admin/edit_inline/tabular.html
  92. +2 −2 django/contrib/admin/templates/admin/index.html
  93. +2 −2 django/contrib/admin/templates/admin/login.html
  94. +2 −3 django/contrib/admin/templates/admin/search_form.html
  95. +2 −2 django/contrib/admin/templates/registration/password_change_form.html
  96. +4 −3 django/contrib/admin/templatetags/admin_list.py
  97. +4 −0 django/contrib/admin/templatetags/adminmedia.py
  98. +17 −17 django/contrib/admin/widgets.py
  99. +6 −5 django/contrib/gis/admin/widgets.py
  100. +3 −2 django/contrib/gis/templates/gis/admin/openlayers.html
  101. +1 −8 django/contrib/staticfiles/storage.py
  102. +5 −8 django/core/servers/basehttp.py
  103. +19 −1 django/templatetags/static.py
  104. +22 −6 docs/howto/static-files.txt
  105. +5 −0 docs/internals/deprecation.txt
  106. +13 −32 docs/ref/contrib/staticfiles.txt
  107. +0 −14 docs/ref/settings.txt
  108. +2 −0 docs/ref/templates/api.txt
  109. +152 −87 docs/ref/templates/builtins.txt
  110. +36 −0 docs/releases/1.4.txt
  111. +1 −1 tests/regressiontests/admin_util/tests.py
  112. +11 −8 tests/regressiontests/admin_widgets/tests.py
  113. +15 −24 tests/regressiontests/forms/tests/media.py
  114. +14 −13 tests/regressiontests/servers/tests.py
  115. +0 −1 tests/regressiontests/staticfiles_tests/project/site_media/static/test/storage.txt
  116. +32 −58 tests/regressiontests/staticfiles_tests/tests.py
  117. +3 −0 tests/regressiontests/templates/tests.py
  118. +2 −0 tests/runtests.py
View
@@ -68,8 +68,11 @@ class BaseSettings(object):
"""
def __setattr__(self, name, value):
if name in ("MEDIA_URL", "STATIC_URL") and value and not value.endswith('/'):
- warnings.warn('If set, %s must end with a slash' % name,
+ warnings.warn("If set, %s must end with a slash" % name,
DeprecationWarning)
+ elif name == "ADMIN_MEDIA_PREFIX":
+ warnings.warn("The ADMIN_MEDIA_PREFIX setting has been removed; "
+ "use STATIC_URL instead.", DeprecationWarning)
object.__setattr__(self, name, value)
@@ -593,8 +593,3 @@
'django.contrib.staticfiles.finders.AppDirectoriesFinder',
# 'django.contrib.staticfiles.finders.DefaultStorageFinder',
)
-
-# URL prefix for admin media -- CSS, JavaScript and images.
-# Make sure to use a trailing slash.
-# Examples: "http://foo.com/static/admin/", "/static/admin/".
-ADMIN_MEDIA_PREFIX = '/static/admin/'
@@ -62,11 +62,6 @@
# Example: "http://media.lawrence.com/static/"
STATIC_URL = '/static/'
-# URL prefix for admin static files -- CSS, JavaScript and images.
-# Make sure to use a trailing slash.
-# Examples: "http://foo.com/static/admin/", "/static/admin/".
-ADMIN_MEDIA_PREFIX = '/static/admin/'
-
# Additional locations of static files
STATICFILES_DIRS = (
# Put strings here, like "/home/html/static" or "C:/www/django/static".
@@ -1,5 +1,4 @@
from django import forms
-from django.conf import settings
from django.contrib.admin.util import (flatten_fieldsets, lookup_field,
display_for_field, label_for_field, help_text_for_field)
from django.contrib.contenttypes.models import ContentType
@@ -75,8 +74,8 @@ def __init__(self, form, name=None, readonly_fields=(), fields=(), classes=(),
def _media(self):
if 'collapse' in self.classes:
- js = ['js/jquery.min.js', 'js/jquery.init.js', 'js/collapse.min.js']
- return forms.Media(js=['%s%s' % (settings.ADMIN_MEDIA_PREFIX, url) for url in js])
+ js = ['jquery.min.js', 'jquery.init.js', 'collapse.min.js']
+ return forms.Media(js=['admin/js/%s' % url for url in js])
return forms.Media()
media = property(_media)
@@ -349,19 +349,19 @@ def urls(self):
urls = property(urls)
def _media(self):
- from django.conf import settings
-
- js = ['js/core.js', 'js/admin/RelatedObjectLookups.js',
- 'js/jquery.min.js', 'js/jquery.init.js']
+ js = [
+ 'core.js',
+ 'admin/RelatedObjectLookups.js',
+ 'jquery.min.js',
+ 'jquery.init.js'
+ ]
if self.actions is not None:
- js.extend(['js/actions.min.js'])
+ js.append('actions.min.js')
if self.prepopulated_fields:
- js.append('js/urlify.js')
- js.append('js/prepopulate.min.js')
+ js.extend(['urlify.js', 'prepopulate.min.js'])
if self.opts.get_ordered_objects():
- js.extend(['js/getElementsBySelector.js', 'js/dom-drag.js' , 'js/admin/ordering.js'])
-
- return forms.Media(js=['%s%s' % (settings.ADMIN_MEDIA_PREFIX, url) for url in js])
+ js.extend(['getElementsBySelector.js', 'dom-drag.js' , 'admin/ordering.js'])
+ return forms.Media(js=['admin/js/%s' % url for url in js])
media = property(_media)
def has_add_permission(self, request):
@@ -1321,14 +1321,12 @@ def __init__(self, parent_model, admin_site):
self.verbose_name_plural = self.model._meta.verbose_name_plural
def _media(self):
- from django.conf import settings
- js = ['js/jquery.min.js', 'js/jquery.init.js', 'js/inlines.min.js']
+ js = ['jquery.min.js', 'jquery.init.js', 'inlines.min.js']
if self.prepopulated_fields:
- js.append('js/urlify.js')
- js.append('js/prepopulate.min.js')
+ js.extend(['urlify.js, prepopulate.min.js'])
if self.filter_vertical or self.filter_horizontal:
- js.extend(['js/SelectBox.js' , 'js/SelectFilter2.js'])
- return forms.Media(js=['%s%s' % (settings.ADMIN_MEDIA_PREFIX, url) for url in js])
+ js.extend(['SelectBox.js', 'SelectFilter2.js'])
+ return forms.Media(js=['admin/js/%s' % url for url in js])
media = property(_media)
def get_formset(self, request, obj=None, **kwargs):
@@ -259,7 +259,7 @@ tfoot td {
color: #666;
padding: 2px 5px;
font-size: 11px;
- background: #e1e1e1 url(../img/admin/nav-bg.gif) top left repeat-x;
+ background: #e1e1e1 url(../img/nav-bg.gif) top left repeat-x;
border-left: 1px solid #ddd;
border-bottom: 1px solid #ddd;
}
@@ -311,19 +311,19 @@ thead th a:link, thead th a:visited {
}
thead th.sorted {
- background: #c5c5c5 url(../img/admin/nav-bg-selected.gif) top left repeat-x;
+ background: #c5c5c5 url(../img/nav-bg-selected.gif) top left repeat-x;
}
table thead th.sorted a {
padding-right: 13px;
}
table thead th.ascending a {
- background: url(../img/admin/arrow-up.gif) right .4em no-repeat;
+ background: url(../img/arrow-up.gif) right .4em no-repeat;
}
table thead th.descending a {
- background: url(../img/admin/arrow-down.gif) right .4em no-repeat;
+ background: url(../img/arrow-down.gif) right .4em no-repeat;
}
table thead th.sorted a span.text {
@@ -368,7 +368,7 @@ table thead th.sorted a span.clear {
#sorting-popup-div .cancel {
font-size: 10px;
- background: #e1e1e1 url(../img/admin/nav-bg.gif) 0 50% repeat-x;
+ background: #e1e1e1 url(../img/nav-bg.gif) 0 50% repeat-x;
border-top: 1px solid #ddd;
text-align: center;
}
@@ -386,7 +386,7 @@ table.orderable tbody tr td:hover {
table.orderable tbody tr td:first-child {
padding-left: 14px;
- background-image: url(../img/admin/nav-bg-grabber.gif);
+ background-image: url(../img/nav-bg-grabber.gif);
background-repeat: repeat-y;
}
@@ -416,39 +416,39 @@ input[type=text], input[type=password], textarea, select, .vTextField {
/* FORM BUTTONS */
.button, input[type=submit], input[type=button], .submit-row input {
- background: white url(../img/admin/nav-bg.gif) bottom repeat-x;
+ background: white url(../img/nav-bg.gif) bottom repeat-x;
padding: 3px 5px;
color: black;
border: 1px solid #bbb;
border-color: #ddd #aaa #aaa #ddd;
}
.button:active, input[type=submit]:active, input[type=button]:active {
- background-image: url(../img/admin/nav-bg-reverse.gif);
+ background-image: url(../img/nav-bg-reverse.gif);
background-position: top;
}
.button[disabled], input[type=submit][disabled], input[type=button][disabled] {
- background-image: url(../img/admin/nav-bg.gif);
+ background-image: url(../img/nav-bg.gif);
background-position: bottom;
opacity: 0.4;
}
.button.default, input[type=submit].default, .submit-row input.default {
border: 2px solid #5b80b2;
- background: #7CA0C7 url(../img/admin/default-bg.gif) bottom repeat-x;
+ background: #7CA0C7 url(../img/default-bg.gif) bottom repeat-x;
font-weight: bold;
color: white;
float: right;
}
.button.default:active, input[type=submit].default:active {
- background-image: url(../img/admin/default-bg-reverse.gif);
+ background-image: url(../img/default-bg-reverse.gif);
background-position: top;
}
.button[disabled].default, input[type=submit][disabled].default, input[type=button][disabled].default {
- background-image: url(../img/admin/default-bg.gif);
+ background-image: url(../img/default-bg.gif);
background-position: bottom;
opacity: 0.4;
}
@@ -485,7 +485,7 @@ input[type=text], input[type=password], textarea, select, .vTextField {
font-size: 11px;
text-align: left;
font-weight: bold;
- background: #7CA0C7 url(../img/admin/default-bg.gif) top left repeat-x;
+ background: #7CA0C7 url(../img/default-bg.gif) top left repeat-x;
color: white;
}
@@ -507,15 +507,15 @@ ul.messagelist li {
margin: 0 0 3px 0;
border-bottom: 1px solid #ddd;
color: #666;
- background: #ffc url(../img/admin/icon_success.gif) 5px .3em no-repeat;
+ background: #ffc url(../img/icon_success.gif) 5px .3em no-repeat;
}
ul.messagelist li.warning{
- background-image: url(../img/admin/icon_alert.gif);
+ background-image: url(../img/icon_alert.gif);
}
ul.messagelist li.error{
- background-image: url(../img/admin/icon_error.gif);
+ background-image: url(../img/icon_error.gif);
}
.errornote {
@@ -525,7 +525,7 @@ ul.messagelist li.error{
margin: 0 0 3px 0;
border: 1px solid red;
color: red;
- background: #ffc url(../img/admin/icon_error.gif) 5px .3em no-repeat;
+ background: #ffc url(../img/icon_error.gif) 5px .3em no-repeat;
}
ul.errorlist {
@@ -540,7 +540,7 @@ ul.errorlist {
margin: 0 0 3px 0;
border: 1px solid red;
color: white;
- background: red url(../img/admin/icon_alert.gif) 5px .3em no-repeat;
+ background: red url(../img/icon_alert.gif) 5px .3em no-repeat;
}
.errorlist li a {
@@ -576,7 +576,7 @@ div.system-message p.system-message-title {
padding: 4px 5px 4px 25px;
margin: 0;
color: red;
- background: #ffc url(../img/admin/icon_error.gif) 5px .3em no-repeat;
+ background: #ffc url(../img/icon_error.gif) 5px .3em no-repeat;
}
.description {
@@ -587,7 +587,7 @@ div.system-message p.system-message-title {
/* BREADCRUMBS */
div.breadcrumbs {
- background: white url(../img/admin/nav-bg-reverse.gif) 0 -10px repeat-x;
+ background: white url(../img/nav-bg-reverse.gif) 0 -10px repeat-x;
padding: 2px 8px 3px 8px;
font-size: 11px;
color: #999;
@@ -600,17 +600,17 @@ div.breadcrumbs {
.addlink {
padding-left: 12px;
- background: url(../img/admin/icon_addlink.gif) 0 .2em no-repeat;
+ background: url(../img/icon_addlink.gif) 0 .2em no-repeat;
}
.changelink {
padding-left: 12px;
- background: url(../img/admin/icon_changelink.gif) 0 .2em no-repeat;
+ background: url(../img/icon_changelink.gif) 0 .2em no-repeat;
}
.deletelink {
padding-left: 12px;
- background: url(../img/admin/icon_deletelink.gif) 0 .25em no-repeat;
+ background: url(../img/icon_deletelink.gif) 0 .25em no-repeat;
}
a.deletelink:link, a.deletelink:visited {
@@ -645,14 +645,14 @@ a.deletelink:hover {
.object-tools li {
display: block;
float: left;
- background: url(../img/admin/tool-left.gif) 0 0 no-repeat;
+ background: url(../img/tool-left.gif) 0 0 no-repeat;
padding: 0 0 0 8px;
margin-left: 2px;
height: 16px;
}
.object-tools li:hover {
- background: url(../img/admin/tool-left_over.gif) 0 0 no-repeat;
+ background: url(../img/tool-left_over.gif) 0 0 no-repeat;
}
.object-tools a:link, .object-tools a:visited {
@@ -661,29 +661,29 @@ a.deletelink:hover {
color: white;
padding: .1em 14px .1em 8px;
height: 14px;
- background: #999 url(../img/admin/tool-right.gif) 100% 0 no-repeat;
+ background: #999 url(../img/tool-right.gif) 100% 0 no-repeat;
}
.object-tools a:hover, .object-tools li:hover a {
- background: #5b80b2 url(../img/admin/tool-right_over.gif) 100% 0 no-repeat;
+ background: #5b80b2 url(../img/tool-right_over.gif) 100% 0 no-repeat;
}
.object-tools a.viewsitelink, .object-tools a.golink {
- background: #999 url(../img/admin/tooltag-arrowright.gif) top right no-repeat;
+ background: #999 url(../img/tooltag-arrowright.gif) top right no-repeat;
padding-right: 28px;
}
.object-tools a.viewsitelink:hover, .object-tools a.golink:hover {
- background: #5b80b2 url(../img/admin/tooltag-arrowright_over.gif) top right no-repeat;
+ background: #5b80b2 url(../img/tooltag-arrowright_over.gif) top right no-repeat;
}
.object-tools a.addlink {
- background: #999 url(../img/admin/tooltag-add.gif) top right no-repeat;
+ background: #999 url(../img/tooltag-add.gif) top right no-repeat;
padding-right: 28px;
}
.object-tools a.addlink:hover {
- background: #5b80b2 url(../img/admin/tooltag-add_over.gif) top right no-repeat;
+ background: #5b80b2 url(../img/tooltag-add_over.gif) top right no-repeat;
}
/* OBJECT HISTORY */
@@ -818,7 +818,7 @@ table#change-history tbody th {
}
#content-related .module h2 {
- background: #eee url(../img/admin/nav-bg.gif) bottom left repeat-x;
+ background: #eee url(../img/nav-bg.gif) bottom left repeat-x;
color: #666;
}
@@ -20,7 +20,7 @@
}
.change-list .filtered {
- background: white url(../img/admin/changelist-bg.gif) top right repeat-y !important;
+ background: white url(../img/changelist-bg.gif) top right repeat-y !important;
}
.change-list .filtered .results, .change-list .filtered .paginator, .filtered #toolbar, .filtered div.xfull {
@@ -40,7 +40,7 @@
color: #666;
border-top: 1px solid #eee;
border-bottom: 1px solid #eee;
- background: white url(../img/admin/nav-bg.gif) 0 180% repeat-x;
+ background: white url(../img/nav-bg.gif) 0 180% repeat-x;
overflow: hidden;
}
@@ -82,7 +82,7 @@
#changelist #toolbar {
padding: 3px;
border-bottom: 1px solid #ddd;
- background: #e1e1e1 url(../img/admin/nav-bg.gif) top left repeat-x;
+ background: #e1e1e1 url(../img/nav-bg.gif) top left repeat-x;
color: #666;
}
@@ -156,7 +156,7 @@
.change-list ul.toplinks {
display: block;
- background: white url(../img/admin/nav-bg-reverse.gif) 0 -10px repeat-x;
+ background: white url(../img/nav-bg-reverse.gif) 0 -10px repeat-x;
border-top: 1px solid white;
float: left;
padding: 0 !important;
@@ -246,7 +246,7 @@
padding: 3px;
border-top: 1px solid #fff;
border-bottom: 1px solid #ddd;
- background: white url(../img/admin/nav-bg-reverse.gif) 0 -10px repeat-x;
+ background: white url(../img/nav-bg-reverse.gif) 0 -10px repeat-x;
}
#changelist .actions.selected {
Oops, something went wrong.

0 comments on commit 38a2444

Please sign in to comment.