Swithc pending job to use composed icon
This commit is contained in:
@@ -33,6 +33,7 @@ class IconSet(IconSetBase):
|
||||
COG_EDIT: 'cog_edit.png',
|
||||
COG_ERROR: 'cog_error.png',
|
||||
COG_DELETE: 'cog_delete.png',
|
||||
COG_HOURGLASS: ['cog.png', 'hourglass.png'],
|
||||
COMMENTS: 'comments.png',
|
||||
COMMENT_ADD: 'comment_add.png',
|
||||
COMMENT_DELETE: 'comment_delete.png',
|
||||
|
||||
@@ -27,6 +27,7 @@ COG_ADD = 'cog_add'
|
||||
COG_EDIT = 'cog_edit'
|
||||
COG_ERROR = 'cog_error'
|
||||
COG_DELETE = 'cog_delete'
|
||||
COG_HOURGLASS = 'cog_hourglass'
|
||||
COMMENTS = 'comments'
|
||||
COMMENT_ADD = 'comment_add'
|
||||
COMMENT_DELETE = 'comment_delete'
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
from __future__ import absolute_import
|
||||
|
||||
from icons.literals import (LORRY_GO, LORRY_DELETE, HOURGLASS, COG, COG_DELETE,
|
||||
COG_ERROR, COG_ADD, CONTROL_PLAY_BLUE, CONTROL_STOP_BLUE)
|
||||
COG_ERROR, COG_ADD, CONTROL_PLAY_BLUE, CONTROL_STOP_BLUE, COG_HOURGLASS)
|
||||
from icons import Icon
|
||||
|
||||
icon_node_workers = Icon(LORRY_GO)
|
||||
icon_tool_link = Icon(HOURGLASS)
|
||||
icon_job_queues = Icon(HOURGLASS)
|
||||
icon_job_queue_items_pending = Icon(COG)
|
||||
icon_job_queue_items_pending = Icon(COG_HOURGLASS)
|
||||
icon_job_queue_items_error = Icon(COG_ERROR)
|
||||
icon_job_queue_items_active = Icon(COG)
|
||||
icon_job_queue_start = Icon(CONTROL_PLAY_BLUE)
|
||||
|
||||
Reference in New Issue
Block a user