mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-09-18 21:50:56 +00:00
Adding List and Split view icons.
This commit is contained in:
parent
a72f93b2e1
commit
fe6d82e507
9 changed files with 30 additions and 8 deletions
|
@ -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 {
|
||||
|
|
BIN
media/img/icons/circular/nav_story_list.png
Normal file
BIN
media/img/icons/circular/nav_story_list.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 241 B |
BIN
media/img/icons/circular/nav_story_list_active.png
Normal file
BIN
media/img/icons/circular/nav_story_list_active.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 242 B |
BIN
media/img/icons/circular/nav_story_list_hover.png
Normal file
BIN
media/img/icons/circular/nav_story_list_hover.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 242 B |
BIN
media/img/icons/circular/nav_story_split.png
Normal file
BIN
media/img/icons/circular/nav_story_split.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 231 B |
BIN
media/img/icons/circular/nav_story_split_active.png
Normal file
BIN
media/img/icons/circular/nav_story_split_active.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 231 B |
BIN
media/img/icons/circular/nav_story_split_hover.png
Normal file
BIN
media/img/icons/circular/nav_story_split_hover.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 231 B |
20
settings.py
20
settings.py
|
@ -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 =
|
||||
# =========
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue