|
@@ -55,6 +55,10 @@ class PBNodeStatusItem(object):
|
55
|
55
|
return self._sStatusLabel
|
56
|
56
|
|
57
|
57
|
@property
|
|
58
|
+ def status_family(self):
|
|
59
|
+ return self._sStatusFamily
|
|
60
|
+
|
|
61
|
+ @property
|
58
|
62
|
def icon(self):
|
59
|
63
|
return self._sIconId
|
60
|
64
|
|
|
@@ -81,8 +85,8 @@ class PBNodeStatus(object):
|
81
|
85
|
|
82
|
86
|
StatusList = dict()
|
83
|
87
|
StatusList['immortal'] = PBNodeStatusItem('immortal', 'Information', 'normal', 'icon-g-circle-info', 'pod-status-grey-light')
|
84
|
|
- StatusList['new'] = PBNodeStatusItem('new', 'New', 'open', 'icon-g-lightbulb icon-g-white', 'btn-success')
|
85
|
|
- StatusList['inprogress'] = PBNodeStatusItem('inprogress', 'In progress', 'open', ' icon-g-roundabout icon-g-white', 'btn-info')
|
|
88
|
+ StatusList['new'] = PBNodeStatusItem('new', 'New', 'open', 'icon-g-lightbulb icon-g-white', 'btn-info')
|
|
89
|
+ StatusList['inprogress'] = PBNodeStatusItem('inprogress', 'In progress', 'open', ' icon-g-roundabout icon-g-white', 'btn-success')
|
86
|
90
|
StatusList['standby'] = PBNodeStatusItem('standby', 'In Standby', 'open', 'icon-g-clock icon-g-white', 'btn-warning')
|
87
|
91
|
StatusList['hot'] = PBNodeStatusItem('hot', 'Hot', 'open', 'icon-g-warning-sign icon-g-white', 'btn-danger')
|
88
|
92
|
StatusList['done'] = PBNodeStatusItem('done', 'Done', 'closed', 'icon-g-ok-2', 'pod-status-grey-light')
|