triggers panel: allow to set text color, closes #361

This commit is contained in:
Alexander Zobnin
2017-12-03 13:28:44 +03:00
parent 53d795d259
commit 4607da7c0d
9 changed files with 39 additions and 25 deletions

View File

@@ -46,6 +46,7 @@ const panelDefaults = {
limit: 10,
// View options
fontSize: '100%',
fontColor: null,
pageSize: 10,
scroll: true,
customLastChangeFormat: false,
@@ -422,7 +423,7 @@ export class TriggerPanelCtrl extends PanelCtrl {
}
}
TriggerPanelCtrl.templateUrl = 'panel-triggers/module.html';
TriggerPanelCtrl.templateUrl = 'public/plugins/alexanderzobnin-zabbix-app/panel-triggers/partials/module.html';
function filterTriggers(triggers, triggerFilter) {
if (utils.isRegex(triggerFilter)) {