2018-05-09 12:01:36 +05:30
|
|
|
import initSettingsPanels from '~/settings_panels';
|
2018-11-20 20:47:30 +05:30
|
|
|
import projectSelect from '~/project_select';
|
2020-03-13 15:44:24 +05:30
|
|
|
import selfMonitor from '~/self_monitor';
|
2020-04-22 19:07:51 +05:30
|
|
|
import maintenanceModeSettings from '~/maintenance_mode_settings';
|
2020-06-23 00:09:42 +05:30
|
|
|
import initVariableList from '~/ci_variable_list';
|
2018-05-09 12:01:36 +05:30
|
|
|
|
|
|
|
document.addEventListener('DOMContentLoaded', () => {
|
2020-06-23 00:09:42 +05:30
|
|
|
if (gon.features?.ciInstanceVariablesUi) {
|
|
|
|
initVariableList('js-instance-variables');
|
|
|
|
}
|
2020-03-13 15:44:24 +05:30
|
|
|
selfMonitor();
|
2020-04-22 19:07:51 +05:30
|
|
|
maintenanceModeSettings();
|
2018-05-09 12:01:36 +05:30
|
|
|
// Initialize expandable settings panels
|
|
|
|
initSettingsPanels();
|
2018-11-20 20:47:30 +05:30
|
|
|
projectSelect();
|
2018-05-09 12:01:36 +05:30
|
|
|
});
|