Triggers Panel: allow to change font size, closes #351.

This commit is contained in:
Alexander Zobnin
2017-02-10 16:31:57 +03:00
parent 437699372c
commit 0e1069da27
30 changed files with 4678 additions and 8 deletions

View File

@@ -36,17 +36,16 @@ class TriggerPanelEditorCtrl {
// Update metric suggestion when template variable was changed
$rootScope.$on('template-variable-value-updated', () => this.onVariableChange());
this.fontSizes = ['80%', '90%', '100%', '110%', '120%', '130%', '150%', '160%', '180%', '200%', '220%', '250%'];
this.ackFilters = [
'all triggers',
'unacknowledged',
'acknowledged'
];
this.sortByFields = [
{ text: 'last change', value: 'lastchange' },
{ text: 'severity', value: 'priority' }
];
this.showEventsFields = [
{ text: 'All', value: [0,1] },
{ text: 'OK', value: [0] },