2016-02-05 18:08:21 +01:00
|
|
|
import {PanelCtrl} from 'app/features/panel/panel_ctrl';
|
|
|
|
|
import {MetricsPanelCtrl} from 'app/features/panel/metrics_panel_ctrl';
|
|
|
|
|
import {QueryCtrl} from 'app/features/panel/query_ctrl';
|
2016-07-31 09:31:32 +02:00
|
|
|
import {alertTab} from 'app/features/alerting/alert_tab_ctrl';
|
2016-02-05 18:08:21 +01:00
|
|
|
|
2016-02-10 13:09:39 +01:00
|
|
|
import config from 'app/core/config';
|
|
|
|
|
|
|
|
|
|
export function loadPluginCss(options) {
|
|
|
|
|
if (config.bootData.user.lightTheme) {
|
|
|
|
|
System.import(options.light + '!css');
|
|
|
|
|
} else {
|
|
|
|
|
System.import(options.dark + '!css');
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2016-02-05 18:08:21 +01:00
|
|
|
export {
|
|
|
|
|
PanelCtrl,
|
|
|
|
|
MetricsPanelCtrl,
|
|
|
|
|
QueryCtrl,
|
2016-07-31 09:31:32 +02:00
|
|
|
alertTab,
|
2016-02-05 18:08:21 +01:00
|
|
|
}
|