|
@@ -102,16 +102,16 @@ class PBNodeStatusItem(object):
|
102
|
102
|
class PBNodeStatus(object):
|
103
|
103
|
|
104
|
104
|
StatusList = dict()
|
105
|
|
- StatusList['immortal'] = PBNodeStatusItem('immortal', 'Information', 'normal', 'icon-g-circle-info', 'pod-status-grey-light')
|
106
|
|
- StatusList['new'] = PBNodeStatusItem('new', 'New', 'open', 'icon-g-lightbulb icon-g-white', 'btn-success')
|
107
|
|
- StatusList['inprogress'] = PBNodeStatusItem('inprogress', 'In progress', 'open', ' icon-g-roundabout icon-g-white', 'btn-info')
|
108
|
|
- StatusList['actiontodo'] = PBNodeStatusItem('actiontodo', 'Waiting for action', 'open', 'icon-g-clock icon-g-white', 'btn-info')
|
109
|
|
- StatusList['standby'] = PBNodeStatusItem('standby', 'Waiting for answer', 'open', 'icon-g-clock icon-g-white', 'btn-warning')
|
110
|
|
- StatusList['hot'] = PBNodeStatusItem('hot', 'Hot', 'open', 'icon-g-warning-sign icon-g-white', 'btn-danger')
|
111
|
|
- StatusList['done'] = PBNodeStatusItem('done', 'Done', 'closed', 'icon-g-ok-2', 'pod-status-grey-light')
|
112
|
|
- StatusList['closed'] = PBNodeStatusItem('closed', 'Closed', 'closed', 'icon-g-lightbulb', 'pod-status-grey-middle')
|
113
|
|
- StatusList['archived'] = PBNodeStatusItem('archived', 'Archived', 'invisible', 'icon-g-wallet', 'pod-status-grey-dark')
|
114
|
|
- StatusList['deleted'] = PBNodeStatusItem('deleted', 'Deleted', 'invisible', 'icon-g-bin', 'pod-status-grey-dark')
|
|
105
|
+ StatusList['immortal'] = PBNodeStatusItem('immortal', 'Information', 'normal', 'fa fa-info-circle', 'pod-status-grey-light')
|
|
106
|
+ StatusList['new'] = PBNodeStatusItem('new', 'New', 'open', 'fa fa-lightbulb-o', 'btn-success')
|
|
107
|
+ StatusList['inprogress'] = PBNodeStatusItem('inprogress', 'In progress', 'open', 'fa fa-gears fa-inverse', 'btn-info')
|
|
108
|
+ StatusList['actiontodo'] = PBNodeStatusItem('actiontodo', 'Waiting for action', 'open', 'fa fa-spinner fa-inverse', 'btn-info')
|
|
109
|
+ StatusList['standby'] = PBNodeStatusItem('standby', 'Waiting for answer', 'open', 'fa fa-spinner fa-inverse', 'btn-warning')
|
|
110
|
+ StatusList['hot'] = PBNodeStatusItem('hot', 'Hot', 'open', 'fa fa-warning fa-inverse', 'btn-danger')
|
|
111
|
+ StatusList['done'] = PBNodeStatusItem('done', 'Done', 'closed', 'fa fa-check-square-o', 'pod-status-grey-light')
|
|
112
|
+ StatusList['closed'] = PBNodeStatusItem('closed', 'Closed', 'closed', 'fa fa-lightbulb-o', 'pod-status-grey-middle')
|
|
113
|
+ StatusList['archived'] = PBNodeStatusItem('archived', 'Archived', 'invisible', 'fa fa-archive', 'pod-status-grey-dark')
|
|
114
|
+ StatusList['deleted'] = PBNodeStatusItem('deleted', 'Deleted', 'invisible', 'fa fa-trash-o', 'pod-status-grey-dark')
|
115
|
115
|
|
116
|
116
|
@classmethod
|
117
|
117
|
def getList(cls):
|
|
@@ -249,9 +249,9 @@ class PBNode(DeclarativeBase):
|
249
|
249
|
|
250
|
250
|
def getIconClass(self):
|
251
|
251
|
laIconClass = dict()
|
252
|
|
- laIconClass['node'] = 'icon-g-folder-open'
|
253
|
|
- laIconClass['folder'] = 'icon-g-folder-open'
|
254
|
|
- laIconClass['data'] = 'icon-g-file'
|
|
252
|
+ laIconClass['node'] = 'fa fa-folder-open'
|
|
253
|
+ laIconClass['folder'] = 'fa fa-folder-open'
|
|
254
|
+ laIconClass['data'] = 'fa fa-file-text-o'
|
255
|
255
|
|
256
|
256
|
laIconClass['file'] = 'icon-file'
|
257
|
257
|
laIconClass['event'] = 'icon-time' # icon-calendar
|