Dashboard polish
This commit is contained in:
@@ -1265,7 +1265,8 @@ class ComputersPlugin(BasePlugin):
|
||||
return [
|
||||
{
|
||||
'id': 'computers-quiet',
|
||||
'title': 'PCs not reporting',
|
||||
'viewall': '/pcs',
|
||||
'title': 'PCs gone silent',
|
||||
'endpoint': '/api/computers/dashboard/quiet',
|
||||
'render': 'exceptions',
|
||||
'severity': 'warning',
|
||||
@@ -1274,14 +1275,15 @@ class ComputersPlugin(BasePlugin):
|
||||
'position': 20,
|
||||
'map': {
|
||||
'title': 'hostname',
|
||||
'detail': 'state',
|
||||
'meta': [{'key': 'quietdays', 'label': 'quiet for',
|
||||
'detail': '',
|
||||
'meta': [{'key': 'quietdays', 'label': 'silent',
|
||||
'suffix': ' days'}],
|
||||
'link': '/pcs/{computerid}',
|
||||
},
|
||||
},
|
||||
{
|
||||
'id': 'computers-sharedmachines',
|
||||
'viewall': '/machines',
|
||||
'title': 'Machine numbers on two PCs',
|
||||
'endpoint': '/api/computers/dashboard/sharedmachines',
|
||||
'render': 'exceptions',
|
||||
|
||||
Reference in New Issue
Block a user