problems: add layout options
This commit is contained in:
@@ -19,6 +19,10 @@ class TriggerPanelOptionsCtrl {
|
||||
this.panelCtrl = $scope.ctrl;
|
||||
this.panel = this.panelCtrl.panel;
|
||||
|
||||
this.layouts = [
|
||||
{ text: 'Table', value: 'table' },
|
||||
{ text: 'List', value: 'list' }
|
||||
];
|
||||
this.fontSizes = ['80%', '90%', '100%', '110%', '120%', '130%', '150%', '160%', '180%', '200%', '220%', '250%'];
|
||||
this.ackFilters = [
|
||||
'all triggers',
|
||||
@@ -26,12 +30,12 @@ class TriggerPanelOptionsCtrl {
|
||||
'acknowledged'
|
||||
];
|
||||
this.sortByFields = [
|
||||
{ text: 'last change', value: 'lastchange' },
|
||||
{ text: 'severity', value: 'priority' }
|
||||
{ text: 'last change', value: 'lastchange' },
|
||||
{ text: 'severity', value: 'priority' }
|
||||
];
|
||||
this.showEventsFields = [
|
||||
{ text: 'All', value: [0,1] },
|
||||
{ text: 'OK', value: [0] },
|
||||
{ text: 'All', value: [0,1] },
|
||||
{ text: 'OK', value: [0] },
|
||||
{ text: 'Problems', value: 1 }
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user