Adding List and Split view icons.

This commit is contained in:
Samuel Clay 2013-03-26 17:19:17 -07:00
parent a72f93b2e1
commit fe6d82e507
9 changed files with 30 additions and 8 deletions

View file

@ -3725,11 +3725,23 @@ background: transparent;
.NB-taskbar .NB-task-layout-split .NB-task-image {
left: 12px;
background: transparent url('/media/embed/icons/silk/application_view_gallery.png') no-repeat 0 0;
background: transparent url('/media/img/icons/circular/nav_story_split.png') no-repeat 0 0;
background-size: 18px 14px;
}
.NB-taskbar .NB-task-layout-split.NB-active .NB-task-image {
left: 12px;
background: transparent url('/media/img/icons/circular/nav_story_split_active.png') no-repeat 0 0;
background-size: 18px 14px;
}
.NB-taskbar .NB-task-layout-list .NB-task-image {
left: 12px;
background: transparent url('/media/embed/icons/silk/application_view_list.png') no-repeat 0 0;
background: transparent url('/media/img/icons/circular/nav_story_list.png') no-repeat 0 0;
background-size: 18px 14px;
}
.NB-taskbar .NB-task-layout-list.NB-active .NB-task-image {
left: 12px;
background: transparent url('/media/img/icons/circular/nav_story_list_active.png') no-repeat 0 0;
background-size: 18px 14px;
}
.NB-taskbar .NB-task-return .NB-task-image {

Binary file not shown.

After

Width:  |  Height:  |  Size: 241 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 242 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 242 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 231 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 231 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 231 B

View file

@ -86,12 +86,6 @@ DEVELOPMENT = NEWSBLUR_DIR.find('/Users/') == 0
# = Django-specific Modules =
# ===========================
TEMPLATE_LOADERS = (
('django.template.loaders.cached.Loader', (
'django.template.loaders.filesystem.Loader',
'django.template.loaders.app_directories.Loader',
)),
)
TEMPLATE_CONTEXT_PROCESSORS = (
"django.contrib.auth.context_processors.auth",
"django.core.context_processors.debug",
@ -502,6 +496,20 @@ DEBUG_TOOLBAR_CONFIG = {
if not DEVELOPMENT:
RAVEN_CLIENT = raven.Client(SENTRY_DSN)
if DEBUG:
TEMPLATE_LOADERS = (
('django.template.loaders.filesystem.Loader',
'django.template.loaders.app_directories.Loader',
),
)
else:
TEMPLATE_LOADERS = (
('django.template.loaders.cached.Loader', (
'django.template.loaders.filesystem.Loader',
'django.template.loaders.app_directories.Loader',
)),
)
# =========
# = Redis =
# =========

View file

@ -198,9 +198,11 @@
<ul class="segmented-control NB-taskbar NB-taskbar-layout">
<li class="NB-taskbar-button NB-task-layout-split NB-active">
<div class="NB-task-image"></div>
<span class="NB-task-title">Split</span>
</li>
<li class="NB-taskbar-button NB-task-layout-list">
<div class="NB-task-image"></div>
<span class="NB-task-title">List</span>
</li>
</ul>